Fix PayPal billing flow and mobile admin UX
This commit is contained in:
@@ -139,7 +139,7 @@ class PayPalOrderService
|
||||
$headers['PayPal-Request-Id'] = $requestId;
|
||||
}
|
||||
|
||||
return $this->client->post(sprintf('/v2/checkout/orders/%s/capture', $orderId), [], $headers);
|
||||
return $this->client->post(sprintf('/v2/checkout/orders/%s/capture', $orderId), (object) [], $headers);
|
||||
}
|
||||
|
||||
public function resolveApproveUrl(array $payload): ?string
|
||||
|
||||
Reference in New Issue
Block a user