New to the community? Welcome! Please read our Community Rules and Guidelines
Pay, shop, and do even more on the PayPal appGet the App
My website takes reservations for "Supertitles" for American orchestras wanting to project text or translations coordinated with sung lyrics. I have gotten my code to work a few times when I have copied examples verbatim, but as soon as I start putting in my own values, I get 400's or 422's. I would like to show you what I have, and see if you can spot where I'm going awry. Here are the values being submitted, followed by my code, which resides in a function called to render the button:
I have omitted the code that builds the objects and fills the variables, as it should be clear from the values shown whether they are properly constructed. For testing I'm using a random number for reference_id, so as not to be submitting repeat orders.
For now, I'm not concerned with the onApprove: code; I'll tackle it once I can get the order correct. There's probably something very simple that should be obvious, but I need some more experienced eyes to find it. Any help will be greatly appreciated!
Can someone please explain why my screenshots have disappeared? No one will be able to help me without their information. Am I in the wrong venue to get an answer to my question?