【发布时间】:2018-01-17 03:06:50
【问题描述】:
当用户点击时从 checkout 端点收到此错误 (category: INVALID_REQUEST_ERROR code: ORDER_EXPIRED),然后在几天后返回付款。这是获取订单信息并为用户提供唯一结帐 URL 的端点。
订单在到期前还有多长时间?我什至不清楚到底是什么到期?
在帖子中发送的内容不多。试图确定我是否只需要“如果订单已过期”更改幂等性密钥,这似乎适得其反。
$this->_order = ['redirect_url' => $redirectUrl,
'idempotency_key' => $this->_idempotencyKey,
'ask_for_shipping_address' => false
];
$this->_order['order']['reference_id'] = (string) "{$this->getInvoice()->getId()}";
【问题讨论】:
标签: square square-connect square-checkout