Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Braintree

Solved

Braintree

sasha17
New Member
6 0 0

Hi, I have a question regarding transaction fees for orders with Braintree as a payment gateway. Using GraphQL API I found transaction fees for Shopify Payments under 'transactions {fees}' and for PayPal under 'transactions {receiptJson}'. Where can I find fees for Braintree transactions?

Accepted Solution (1)

Liam
Community Manager
3108 344 911

This is an accepted solution.

Braintree (and other third-party processors) would be treated differently the Shopify Payments and Paypal, as Shopify does not directly expose their fees. What you could do is query the Order object and then filtering transactions by the payment gateway used, to get all orders processed with Braintree. 

Once you have the transaction IDs from Shopify, you can use them to query Braintree's API for detailed transaction information, including fees.

The Braintree API should have endpoints for transaction details, where you can pass the transaction ID you obtained from Shopify's API.

 

Hope this helps,

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Liam
Community Manager
3108 344 911

This is an accepted solution.

Braintree (and other third-party processors) would be treated differently the Shopify Payments and Paypal, as Shopify does not directly expose their fees. What you could do is query the Order object and then filtering transactions by the payment gateway used, to get all orders processed with Braintree. 

Once you have the transaction IDs from Shopify, you can use them to query Braintree's API for detailed transaction information, including fees.

The Braintree API should have endpoints for transaction details, where you can pass the transaction ID you obtained from Shopify's API.

 

Hope this helps,

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

sasha17
New Member
6 0 0

Thanks Liam!