strangerstudios / pmpro-payfast

Add the South African payment processing service PayFast as a gateway option for Paid Memberships Pro.
https://www.paidmembershipspro.com/add-ons/payfast-payment-gateway/
5 stars 13 forks source link

BUG FIX/Feature Request: Cancel order if user cancels at checkout #80

Closed andrewlimaza closed 2 years ago

andrewlimaza commented 2 years ago

Change the order status from 'pending' to a different status if a user doesn't complete the payment or cancels on the checkout page.

andrewlimaza commented 2 years ago

We decided to do it how we do with other gateways, set the order status to 'token' by default. This helps us determine when the user cancels or not.