I’m sorry I’m Japanese and I’m not good at English.
I’m testing to process payments based on the entered order
It’s been successful in the sandbox.
However, when I switched APP_ID, ACCESS_TOKEN, LOCATION_ID to the production environment, the following error was displayed when sending the payment request.
The payment is for a different location than the order.
object(Square\Models\Error)#109 (4) {
[“category”:“Square\Models\Error”:private]= “INVALID_REQUEST_ERROR”
[“code”:“Square\Models\Error”:private]= “BAD_REQUEST”
[“detail”:“Square\Models\Error”:private]= “The payment is for a different location than the order.”
[“field”:“Square\Models\Error”:private]= NULL
}
What is the cause of this error? Is this related to production settings?