Paypal Integration - orderconfirmation.aspx doesn't convert basket to order
Hello ,
I m trying to integrate paypal to my ucommerce site. I m using sandbox account.
The problem is that after the payment is done Paypal gives me an option to return back to my site (doesnt do automaticaly) . When I press this link paypal redirects to .../shop/checkout/orderconfirmation.aspx?orderGuid=cac73a8e-4444-4130-8db0-085c7c5c28b9 (which looks correct)
but nothing happens after. The order stays in basket and doesnt completes.
The orderGuid is the correct one (i v checked against the db). Nothing on the log as well . Paypal does the payment with the correct amount. the only problems are
1)Oreder doesnt complete (stays in basket) after redirected back
2)Wouldn`t be safer to automatically redirected back , after the payment?
Everything I did so far is based on Sorens Guide and yes Paypal it is assigned to the Checkout pipeline.
There is also another issue that may have something to do with it (the postback or something).
When I click the "add to basket button" on an item ... it does update the databse and the order in the BO .. but it doesn`t refresh the UI (SmallCart[XSLT])
I have to do manually refresh or navigate to another page in order to see the updated basket (SmallCart[XSLT])
I found out that the IPN wasnt comming from paypal due to the "Authorozation" setting in paypal.config.
I v changed this to Sale and the IPN is sent to a url formed like /8/67/PaymentProcessor.axd
( in the database a paypal PaymentId =67 with PaymentMethodId= 8 does exists)
when I hit this to my local browser i get this error (both on browser and log file)
"Could not validate IPN from PayPal. TransactionId .
Request received at /8/67/PaymentProcessor.axd.
Void ProcessCallback(UCommerce.EntitiesV2.Payment) at UCommerce.Transactions.Payments.PayPal.PayPalPaymentMethodService.ProcessCallback(Payment payment) at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)"
The setting should be left at "Authorization" as this is the default model support by uCommerce. IPNs should be transmitted regardless of the setting. I know that there has been some issues with IPNs from PayPal, which might have affected you as well.
Could you try it out with the config set back to the original value?
Related to my other issue (languages) I v decided to drop uCommerce because I need two languages and the specific project doesnt affort a full licence.(Although I dont see any developer banner or something that states a developer edition {and I can see both language tabs})
The order is completing now in uCommerce however the umbracoLog still shows the following error:
Could not validate IPN from PayPal. TransactionId . Request received at /8/116/PaymentProcessor.axd. Void ProcessCallback(UCommerce.EntitiesV2.Payment) at UCommerce.Transactions.Payments.PayPal.PayPalPaymentMethodService.ProcessCallback(Payment payment) at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)
Should I be worried about this or is everything okay since the payment status in uCommerce has changed to Authorized?
Paypal Integration - orderconfirmation.aspx doesn't convert basket to order
Hello ,
I m trying to integrate paypal to my ucommerce site. I m using sandbox account.
The problem is that after the payment is done Paypal gives me an option to return back to my site (doesnt do automaticaly) . When I press this link paypal redirects to .../shop/checkout/orderconfirmation.aspx?orderGuid=cac73a8e-4444-4130-8db0-085c7c5c28b9 (which looks correct)
but nothing happens after. The order stays in basket and doesnt completes.
The orderGuid is the correct one (i v checked against the db). Nothing on the log as well . Paypal does the payment with the correct amount. the only problems are
1)Oreder doesnt complete (stays in basket) after redirected back
2)Wouldn`t be safer to automatically redirected back , after the payment?
Thank you
On the Paypal paymentMethod, is it assigned to the Checkout pipeline?
Søren has also written a guide:
http://www.publicvoid.dk/SetupUCommerceToIncludePayPalAsAPaymentMethod.aspx
Thank you for your reply,
Everything I did so far is based on Sorens Guide and yes Paypal it is assigned to the Checkout pipeline.
There is also another issue that may have something to do with it (the postback or something).
When I click the "add to basket button" on an item ... it does update the databse and the order in the BO .. but it doesn`t refresh the UI (SmallCart[XSLT])
I have to do manually refresh or navigate to another page in order to see the updated basket (SmallCart[XSLT])
I found out that the IPN wasnt comming from paypal due to the "Authorozation" setting in paypal.config.
I v changed this to Sale and the IPN is sent to a url formed like /8/67/PaymentProcessor.axd
( in the database a paypal PaymentId =67 with PaymentMethodId= 8 does exists)
when I hit this to my local browser i get this error (both on browser and log file)
"Could not validate IPN from PayPal. TransactionId .
Request received at /8/67/PaymentProcessor.axd.
Void ProcessCallback(UCommerce.EntitiesV2.Payment) at UCommerce.Transactions.Payments.PayPal.PayPalPaymentMethodService.ProcessCallback(Payment payment) at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)"
Hi Leonidas,
The setting should be left at "Authorization" as this is the default model support by uCommerce. IPNs should be transmitted regardless of the setting. I know that there has been some issues with IPNs from PayPal, which might have affected you as well.
Could you try it out with the config set back to the original value?
Hello Soren,
Thank you for your reply.
Related to my other issue (languages) I v decided to drop uCommerce because I need two languages and the specific project doesnt affort a full licence.(Although I dont see any developer banner or something that states a developer edition {and I can see both language tabs})
Fair enough. Thanks for the update.
Hi Soren,
I have the same issue as above. The order is not updating within ucommerce after completing payment via PayPal.
Any ideas?
Cheers,
Marc
The order is completing now in uCommerce however the umbracoLog still shows the following error:
Could not validate IPN from PayPal. TransactionId . Request received at /8/116/PaymentProcessor.axd.
Void ProcessCallback(UCommerce.EntitiesV2.Payment)
at UCommerce.Transactions.Payments.PayPal.PayPalPaymentMethodService.ProcessCallback(Payment payment)
at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)
Should I be worried about this or is everything okay since the payment status in uCommerce has changed to Authorized?
Cheers,
Marc
Well. That would depend if the order at PayPal is also authorized?
is working on a reply...