When we use the payments api to pay for certain order created on square we get payment successful message but the status of the Payment is coming cancelled.
Could you please suggest what may be the reason why the status of the payment is coming as Cancelled?
Can you share any
payment_ids? Is the status immediately
These are list of payment ids:
Yes their status gets cancelled immediately.
These payments are not succeeding, they’re failing (at least looking at the first two payments you provided). The error being returned is: “The payment is for a different location than the order.”. The order and payment need to be associated with the same location, else they will fail.