I've setup an account that I want to use for receiving payments on my web shop. I'm using my sandbox credentials, but can't get it to work properly. I'm creating my orders on the server using NodeJS. With debug output enabled, I can see the order being created successfully: {"id":"7WA04018TH6166025","status":"CREATED","links":[{"href":"https://api.sandbox.paypal.com/v2/checkout/orders/7WA04018TH6166025","rel":"self","method":"GET"},{"href":"https://www.sandbox.paypal.com/checkoutnow?token=7WA04018TH6166025","rel":"approve","method":"GET"},{"href":"https://api.sandbox.paypal.com/v2/checkout/orders/7WA04018TH6166025","rel":"update","method":"PATCH"},{"href":"https://api.sandbox.paypal.com/v2/checkout/orders/7WA04018TH6166025/capture","rel":"capture","method":"POST"}]} I then return the ID of the newly created order to my React app, which uses @paypal/react-paypal-js to render the PayPal Checkout buttons. The PayPalScriptProvider is setup like this (with the same client ID as the server): <PayPalScriptProvider options={{ "client-id": "AT854DF-DzHYhAgYw-nCWsj9Slkdzu-VWsBk6uNfVHktEpFFLhhjWmjbTXpoSuO_8WT_Y160HPZFru-n", currency: "SEK" }} >...</PayPalScriptProvider> and the buttons are rendered like this (setup just to render the "PayPal" button): <PayPalButtons createOrder={() => getOrderIdFromServer() } fundingSource={FUNDING.PAYPAL} onApprove={...} onCancel={...} onError={...} /> I've verified that the order ID is retrieved successfully. When I click on the PayPal button though, the payment window briefly appears before closing, and I get "Error: INVALID_RESOURCE_ID" in the console. No further useful information is provided, as far as I can tell. Am I missing some configuration step, and if so what? Let me know if I should provide any more information. Unfortunately, I can't see the successfull order creation API calls in the developer dashboard due to some error (id 73472d7117bdd).
... View more