関数
Listener::updateRefundState( Aivec\Welcart\SettlementModules\AmazonPay\Models\OrderMeta $order )
Updates refund state
パラメータ パラメータ
- $order
(OrderMeta) (必須)
ファイル: src/IPN/Listener.php
public function updateRefundState(Models\OrderMeta $order) { // order state is updated automatically by this API $result = (new API\Refund\Get($this->module, $order))->get($order->getRefundId()); if ($result instanceof GenericError) { // 100 tells Amazon to retry later http_response_code(100); exit(); } }