Gateways::completeStripePayment()
Captures stripe payment intent
Gateways::completeStripePayment(Wagnerwagner\Merx\OrderPage $virtualOrderPage, array $data): OrderPage
Parameters
| Name | Type | Default |
|---|---|---|
$virtualOrderPage |
OrderPage |
- |
$data |
array |
- |
Return type
OrderPage
Virtual order page with updated payment details
Exceptions
| Type | Description |
|---|---|
(Exception | ApiErrorException) |
Kirby exception, when the customer canceled the payment, payment is incomplete or Stripe API Exception |