$cart->getStripePaymentIntent()
Get Stripe’s PaymentIntent.
$cart->getStripePaymentIntent(null|array $params = [], null|array|RequestOptions $options = []): PaymentIntent
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$params |
null or array |
[] |
|
$options |
null or array or RequestOptions |
[] |
Additional options used by \Stripe\PaymentIntent::create(). |
Return type
PaymentIntent
Exceptions
| Type | Description |
|---|---|
Exception |
merx.emptycart |