Solved

Order confirmation email is sent regardless of payment status

Rapyd
Visitor
2 0 0

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? 

Thanks.

 

 

Accepted Solution (1)

GrahamS
Shopify Staff (Retired)
193 36 53

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.

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Reply 1 (1)

GrahamS
Shopify Staff (Retired)
193 36 53

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.

To learn more visit the Shopify Help Center or the Community Blog.