我将返回设置为true,但是当我在广场上完成付款时,应用程序不会自行重定向。
i+1
答案 0 :(得分:3)
auto_return
应该嵌套在options
对象中,如下所示:
{
"amount_money": { "amount" : 100, "currency_code" : "USD" },
"callback_url" : "https://floating-inlet-19449.herokuapp.com/redirect",
"client_id" : "sq0idp-U8x6mJyLFtHuhCfv9sqL5g",
"version": "1.3",
"notes": "notes for the transaction",
"options" : {
"supported_tender_types" : ["CREDIT_CARD"],
"auto_return": true
}