This topic has 1 reply, 1 voice, and was last updated 10 hours, 53 minutes ago ago by Abdul Moiz
Hi,
On thank you page after payment is done either failed or success from any payment gateway, I also want to show the same failed order message which is for failed for other statuses so I have changed the xstore code like this in xstore > woocommerce > checkout > thankyou.php page
has_status( ‘failed’ ) || $order->has_status( ‘mwfailure’ ) || $order->has_status( ‘mwtimeout’ ) || $order->has_status( ‘mwpending’ ) || $order->has_status( ‘mwdropped’ ) || $order->has_status( ‘cardtimeout’ ) || $order->has_status( ‘migspending’ ) || $order->has_status( ‘migsfailure’ ) || $order->has_status( ‘migsdropped’ ) ) : ?>
But as its not a good location as with update, it will be omitted so please help me achieve this somewhere else which I don’t know how to do it. Any suggestion or guidance will be highly appreciated.
Check this video for explanation: https://monosnap.com/file/mMySyedAIknwUpiYYWKVWf7NnTM6UG
You must be logged in to reply to this topic.Log in/Sign up