cancel
Showing results for 
Search instead for 
Did you mean: 

How to create an order and form purchase_units with breakups for the Amount-Javascript SDK

Options
Shaifal
New Community Member
Posted on

How to create an order and form purchase_units with breakups for the Amount using Javascript SDK. The breakups are not showing in the Paypal.

In the old Paypal integration, the amount will be calculated by paypal, but in the new Javascript SDK upgrade the discount, tax are not considering and not showing the mini cart with breakups in the paypal.

Example JSON

{"amount":{"currency_type":"USD","value":"210.49"},"breakdown":{"item_total":"189.99","tax_total":"20.50"}}

 

In the above example the "item_total" and "tax_total" are not showing in the PayPal. Its showing only "210.49".

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.