Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
jamer789
12-07-2020
10:32 PM
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?
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
1 REPLY 1
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.
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report