I am trying to integrate Square payments into my Web Application.
I have tried creating a payment with the API, the response shows success and returns all the details of payment but somehow the Order Id always is the same.
Could it be because I am passing the same static values in the API for every request?
Can you please explain which parameters need to be unique for every payment while using create_payment API?
If you are passing the same static values, it's likely that you are passing the same idempotency_key - which will return the same payment/order every time (learn more here). I hope this helps, @jamer789!
Square Community