← All changes
|
app/Modules/Payments/PaymentMethods/Stripe/API/SCA.php
+2
-1
6.2.8
→
6.2.15
View file →
| @@ -57,9 +57,10 @@ | ||
| 57 | 57 | $secretKey = apply_filters('fluentform/payment_stripe_secret_key', $secretKey, $formId); |
| 58 | 58 | |
| 59 | 59 | ApiRequest::set_secret_key($secretKey); |
| 60 | 60 | |
| 61 | - $response = ApiRequest::request($args, 'payment_intents/'.$intentId); | |
| 61 | + // was: the wrapper's default POST, which on this URL is Stripe's update endpoint, not retrieve | |
| 62 | + $response = ApiRequest::request($args, 'payment_intents/'.$intentId, 'GET'); | |
| 62 | 63 | |
| 63 | 64 | return static::processResponse($response); |
| 64 | 65 | } |
| 65 | 66 | |