Hey,
I’m currently working on integrating Square with our online ordering application.
I would like to know if it’s feasible to construct a workflow where the payment is processed first (presumably using CreatePayment), and then the order line items are specified afterward (using CreateOrder/UpdateOrder).
I understand this isn’t the most straightforward approach, but given our existing system is maintained by various teams, this solution would greatly benefit us.
Any suggestions would be highly appreciated!
Thank you!
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Additional Documentation
Orders API: How It Works
Order-Ahead Application Use Case
Take Payments
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
At this time the ability to process a payment before creating an order and adding line items to it isn’t currently available.