Create a custom action for Stripe API for manual capture method

Hello,
I’m trying to create a custom action for STRIPE because I need to implement methods not actually supported by Stripe plugin (authorize only payment and later manual capture).

My Stripe test API key is working fine with Srtipe plugin, I’m writing a marketplace app and I didn’t have problems implementing all the features needed, al the transaction are visible in my Stripe dashboard.

But now I need to implement this feature:
Separate authorization and capture to create a charge now, but capture funds later
https://stripe.com/docs/payments/capture-later

Now I’m having problem configuring the custom action:

“message”: "You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. ‘Authorization: Bearer YOUR_SECRET_KEY’)

I need help figuring out what I’m doing wrong, thanks!

After a few attempts I was able to record the custom action.
Now I need to change it, but the problem now is that I can’t find a way to do it.
the poblem could it be that I am using the trial period to use the custom actions?

Immagine 2021-08-26 175557

Magically the edit Icon appeared :sweat_smile: (no comment)
I think that the reason why is that I added some input parameters.

so I could go on …
I was able to successfully register the custom action, but on my Stripe dashboard
I notice 3 problems:

1 - payment is marked as “Incomplete” (The customer has not entered their payment method.)

2 - amount is €4.32, but the test value I used was €432. I tried with 432,00 and 432.00 but I get an error

Immagine 2021-08-26 185942

3 - On Stripe payments dashboard the only transactions I can see (even if marked as incomplete) are the one generated during the RUN TEST REQUEST

We will be very grateful if anyone help me understand how to solve these problems, thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.