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".
... View more