paymentSessionReject CANCELLED status

martabel
Shopify Partner
72 1 7

When user comes back to Shopify page from payment gateway without paying but would like to change some options and go back to buy I would like to cancel the transaction and start a new one because in the payment provider system the status goes to CANCELLED and new transaction needs to be created.

 

https://shopify.dev/api/payments-apps/graphql/reference/payment/paymentsessionreject

 

There are only 2 options for statuses https://shopify.dev/api/payments-apps/graphql/reference/common-objects/paymentsessionstatusreasonrej...

 

Which won't let you to use same payment method anymore. I would like to put the status to CANCELLED and start a new one. Is that possible somehow?

Reply 1 (1)

windcavedev
Visitor
3 0 0

@martabeldid you manage to find the solution for this issue?