I am working on a web page where we accept donations from users. I am using the
checkout process and the
transaction checkout endpoint. However, i don't see how these two pieces are intended to work together.
So a user makes a donation in the web page. I have the page set up to send the transaction token to our systems. I have a second page where i can authorize myself and process that token via the checkout transaction endpoint. These now seem to be two disconnected processes rather than one complete transaction. Is that how payment is supposed to work?
- When a user makes the payment, are we really okay telling them "thanks for the donation" if the donation hasn't even been processed by our systems? It seems that it won't be processed until someone authorizes and sends the token to the endpoint.
- If the user makes a payment after business hours, storing the transaction token on our system, will the token last over night or over a weekend until someone from the office can log in and process it?
We did try some examples from here that allowed us to process the transactions automatically. Basically, it's a hack around the OAuth system, where we have someone in the office authorize and then store the return key for the next user. We then swap out keys over and over again to keep the appearance of someone being logged in a long time. There's a long thread on how this system could work. For us, it worked much of the time, but it's an unstable process prone to unannounced failure, and it is certainly not the intended use of this system. So i was wondering how this setup is really intended to work.