Rank: Member
Groups: Registered, HelpDesk Joined: 9/29/2021(UTC) Posts: 17
|
While testing my client's shop I noticed that if you select paypal on checkout for payment it goes to paypal but when you return the cart is empty. Is there a setting i'm missing?
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
I haven't tried in AC9, but in Gold, your cart might be empty because the order was placed. Did you use Paypal Express or normal Paypal?
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
This is by design albeit not the most elegant.
Because PayPal is an 'offsite' form of payment, Able must convert the basket to an order prior to sending the browser to PayPal's website. This guarantees the state of the order by the time PayPal notifies the Able site that the payment was processed successfully.
Technically the shopper does not have to complete the PayPal process right away. They can return later and apply the payment. So Able needs to have an (unchanged) order standing by to receive the payment at a later time or date.
And also technically, the shopper could leave PayPal open, start a new tab, return to the Able site and alter the basket contents. Then switch back to complete the PayPal payment in the first tab. If Able didn't create the order until the payment was received from PayPal, you could easily get orders with $ 5,000 of stuff on it but the PayPal payment was only $ 150.
Ideally the basket should be set aside internally within the store. The shopper could continue shopping with a fresh empty basket while the paypal payment is processed. Yet the original basket is preserved for when the paypal payment notification is transmitted to the Able store. Unfortunately this is not how it is designed in Able.
|
|
|
|
Rank: Member
Groups: Registered, HelpDesk Joined: 9/29/2021(UTC) Posts: 17
|
Well thats an issue. Didn't see that coming.
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Other 'onsite' payment gateways such as Authorize.Net do not have such a requirement as they can process the payment request in realtime with the payment gateway. This gives the Able store the ability to immediately know if the order should be created, or if the shopper should remain on the payment page to try again.
I'm curious what the exact issue is at that point in checkout flow?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close