Post-Payment Processing
Posted: 11 Aug 2017, 03:17
I have been extensively testing payment plugins, both the Paypal Standard and one I am developing. I have noticed that once a payment is Cancelled or Completed. there is no post-payment processing executed in Phoca Cart.
Some tests I have done include: -
Am I missing something?
Some tests I have done include: -
- If I pass a transaction to Paypal, and then choose to cancel the payment, you are returned to the Payment Cancelled page, but the order remains in the system with a status of Pending.
- If I try to pass an invalid transaction to the payment gateway, the gateway returns an error but nothing is displayed to the user. The order remains in the system with a status of Pending
- If I successfully complete a payment, I am passed to the Payment Completed page but no other information is available. The order remains in the system with a status of Pending.
- You are returned to the Payment Cancelled page displaying a message advising that the Payment AND Order have been cancelled. The status of the order is changed to Cancelled (as set in the plugin parameters).
- You are returned to the Payment Cancelled page displaying a message advising that the Payment AND Order have been cancelled along with an error message containing all the information returned by the payment gateway response. This error message would be a form generated by the payment plugin and passed to the Payment Cancelled page The status of the order is changed to Cancelled (as set in the plugin parameters).
- You are returned to the Payment Completed page displaying a message advising that the Payment AND Order have been completed along with a Payment Receipt containing all the information returned by the payment gateway response. This message would be a form generated by the payment plugin and passed to the Payment Completed page. The status of the order is changed to Completed (as set in the plugin parameters).
Am I missing something?