We have a hosted payment app on Shopify where buyers complete payments on a hosted checkout page. We have gotten feedback that buyers are getting the order confirmation email even if the payment has not been completed.
We are sending "x_result = pending" to the x_url_callback endpoint when payments are still active in our system and then update with "x_result = completed" when the payments are closed.
Can anyone say why this is happening? Are order confirmation emails not dependant on the status of the payment?
Solved! Go to the solution
This is an accepted solution.
Hello @Rapyd ,
"Are order confirmation emails not dependant on the status of the payment?"
This is the case - payment status is arbitrary when it comes to order confirmation. Order confirmation notifications are triggered based on a parameter that is included in the Order creation API body, and cannot be triggered later if that parameter is intentionally left out.