Hi, I wanted to integrate paypal with my website as described on https://developer.paypal.com/docs/checkout/integrate/. I get the following error when using paypal: Error: /v2/checkout/orders returned status: 400 (Corr ID: 6389c1f0fb5dc) The json I pass to the actions.order.create is: { payer: { "payment_method": "paypal" }, application_context:{ "locale":"fi-FI", "brand_name":"PawelBiernackiSklep", "landing_page":"login", "shipping_preference":"get_from_file", "user_action":"commit" }, purchase_units: [{ "reference_id": "pawel_biernacki_sklep_order_1234", "description": "PawelBiernackiSklep order-1234", amount: { currency: 'EUR', details: { "subtotal": "1.09", "shipping": "0.02", "tax": "0.33" }, total: "1.44" }, items: [{ name: 'wiersze', sku: 'sku1', price: '1.09', currency: 'EUR', quantity: '1' }], "payment_descriptor": "PawelBiernackiSklep" }], redirect_urls: { return_url: "http://www.pawelbiernacki.net/PawelBiernackiSklep/Success", cancel_url: "http://www.pawelbiernacki.net/PawelBiernackiSklep/Cancel" } }); }
... View more