x

Create Payment API is creating payments with same OrderId and they are not listed in the Dashboard.

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?

 

 

 

 

 

389 Views
Message 1 of 2
Report
1 REPLY 1
Alumni

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!

Valentina
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
339 Views
Message 2 of 2
Report