i am square developer and i want to know that what would be payment status when i choose autocomplete = true in production. (Not in Sandbox, in sandbox account, i have been noticed that payment status is completed in response ).
So when i would create payment in production mode and auto-complete is true then what would be the payment status come in response???
Note: I am using Payment API
It should be
COMPLETED as you’re telling it to go ahead and capture the payment. If you set
autocomplete=false then it would be
AUTHORIZED. This is assuming, in both instances, that the payment was successful and not declined or something.
okay! i was talking about production mode. According to you In production environment, the status of payment would be the same as sandbox environment. am i right?
Yes, that’s correct as far as I’m aware.