woocommerce-gateway-paypal-express-checkout icon indicating copy to clipboard operation
woocommerce-gateway-paypal-express-checkout copied to clipboard

Create Order before finalizing payment?

Open tommyshellberg opened this issue 6 years ago • 3 comments

When checking out with PayPal Standard, once the user is redirected to PayPal, WooCommerce creates an order with the status Pending Payment. After the user is redirected back to the Checkout page to finalize the order, they're given a chance to cancel the order.

Clicking the Cancel link on this page will place the order in the Canceled status.

However, this behavior is not observed with PayPal Checkout. An order is not created until it is verified as paid. This means if a payment fails or it's canceled it can't be paid later as it never generated an order.

This is the step I'm referring to:

https://cld.wthms.co/9vXbnc Image link: https://cld.wthms.co/9vXbnc

Should the PayPal Checkout offering have similar behavior to PayPal Standard in that orders are generated once redirected to PayPal and allow the visitor to cancel the order, placing it in the Canceled status?

tommyshellberg avatar May 01 '19 14:05 tommyshellberg

@dechov @v18 - any thoughts here?

@bmccotter - this seems to be the flow you're interested in for that other partner (delay creating the order) - since this is a public repo, perhaps they could take a look here

allendav avatar Sep 27 '19 23:09 allendav

@allendav from previous discussions, yes, we should be creating an order before checking out.

v18 avatar Nov 12 '19 06:11 v18

Hello, I want to finalize the paypal payment after order is completed. Is this possible? Thank you

pok857-dev avatar Jul 19 '20 19:07 pok857-dev