We are implementing an Offsite Payment App. Our payment provider requires the VAT amount before redirecting the customer to the payment page.
We know that Order.taxLines contains the VAT breakdown, but the Order is only created after the payment has been completed.
During the Payment Session callback, is there any supported API that exposes the equivalent taxLines (or tax breakdown) for the current Checkout or Cart before the Order exists?
If not, what is the recommended approach for payment providers that require the VAT amount before processing the payment?
Yes. In Colombia, the payment gateway must receive the VAT (IVA) amount associated with the transaction. This is required to correctly process and report the payment according to local tax requirements.
We are currently gathering the relevant regulatory documentation and can provide it once available. However, this is a standard requirement for payment processing in Colombia, where the VAT amount must be included as part of the transaction information sent to the payment gateway.
This request is for our Shopify Offsite Payment App integration with Openpay Colombia.
The payment methods processed through our Openpay Colombia integration require the VAT amount before the customer is redirected to the payment gateway.
Our main challenge is that Shopify already calculates the taxes during checkout, but the VAT breakdown is not available in the Payment Session payload received by an Offsite Payment App.
Thanks for sharing @Miguel_Angel_Camacho. Can you share that information in a ticket with Support created from help.shopify.com? We will assist you from there.