PaymentDetails::fromStripePaymentIntent()
Builds a record from a Stripe PaymentIntent
PaymentDetails::fromStripePaymentIntent(Stripe\PaymentIntent $paymentIntent): array
Parameters
| Name | Type | Default |
|---|---|---|
$paymentIntent |
Stripe\PaymentIntent |
- |
Return type
array
Description
Stripe reports the amount in the currency’s minor unit. It is converted
back with the same factor StripePayment::createStripePaymentIntent()
uses to create the intent.