Get taxes on offsite payment extension

Hi
I have an offline payment extension , and now i need to get the taxes applied.
i getting the request from shopify but it contains the total_amount (included taxes).
How can i know the specific value of taxes ?
currently i just have the payment scopes

Thanks

1 Like

Hey @Juan_Sebastian_Sanch ,

Typically that information is available through the Admin API, however, payment extensions are currently limited to only using the payment api’s.

Can you share the use case for needing the tax details? I’d be happy to pass that feedback on to our payment teams to consider for future updates.

Hey @Juan_Sebastian_Sanch , just checking to see if you’re still needing some help here?

Marking this as solved - @Juan_Sebastian_Sanch let us know if you have any other questions.

Hi team,

I would like to re-open this case.

I need to get the tax amount from my offsite payment extension. Because we process the full payment, we have a legal reason to know the exact tax amount that was applied.

I was looking for a solution and found a few possibilities, but I’m not sure if I can use them. I saw suggestions for using the Admin API to get the Order details, or using a webhook (like orders/create) to find the tax value in the Order object.

As a payment partner, am I allowed to request read_orders scopes to use the Admin API? Or is there a different, preferred method for payment extensions to get this tax data?

Any suggestions would be appreciated.

Thanks.

Hey @Juan_Sebastian_Sanch,

Thanks for the follow up. Currently additional scopes are still not permitted on payment extensions. As per Requirements for payments extensions :

Payments extensions (including those using checkout UI extensions) aren’t permitted to do any of the following:

  • Use any Shopify APIs other than the Payments Apps API and mandatory webhooks, or require merchants to install additional apps alongside the payments extension.
  • Request scopes enabling network access or protected customer data access. This will result in the extension being rejected during review.

Since you have a legal requirement for knowing the tax amount, I would recommend reaching out to our payment partnership team directly to discuss this requirement. You should have an email interaction with them from when your application was approved that you can reply on to get back in touch with them.