# Create a custom action for Stripe API for manual capture method

**URL:** <https://forum.adalo.com/t/create-a-custom-action-for-stripe-api-for-manual-capture-method/16472>\
**Category:** Get Help\
**Created:** [August 26, 2021, 10:50am UTC](https://forum.adalo.com/t/create-a-custom-action-for-stripe-api-for-manual-capture-method/16472 "2021-08-26T10:50:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielEnergy](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@DanielEnergy](https://forum.adalo.com/u/DanielEnergy)\
**Post date:** [August 26, 2021, 10:50am UTC](https://forum.adalo.com/t/create-a-custom-action-for-stripe-api-for-manual-capture-method/16472/1 "2021-08-26T10:50:10Z")

</div>

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

> **[Place a hold on a payment method](https://stripe.com/docs/payments/place-a-hold-on-a-payment-method)**
>
> Separate payment authorization and capture to create a charge now, but capture funds 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’)

 ![err 1](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/1/1c30933b106e97b3e2b19642740361a51fa60bea.png)

 ![error 2](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/4/4557245be4b649ff76fd49d473279b65e41b5f9b.png)

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

---

<div class="post-metadata">

**Author:** ![DanielEnergy](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@DanielEnergy](https://forum.adalo.com/u/DanielEnergy)\
**Post date:** [August 26, 2021, 3:56pm UTC](https://forum.adalo.com/t/create-a-custom-action-for-stripe-api-for-manual-capture-method/16472/2 "2021-08-26T15:56:41Z")

</div>

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](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/5/56c7c87e302d1e7625805d3cb4fbf9a8b7072ef5.png)

---

<div class="post-metadata">

**Author:** ![DanielEnergy](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@DanielEnergy](https://forum.adalo.com/u/DanielEnergy)\
**Post date:** [August 26, 2021, 5:06pm UTC](https://forum.adalo.com/t/create-a-custom-action-for-stripe-api-for-manual-capture-method/16472/3 "2021-08-26T17:06:48Z")

</div>

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

 ![Immagine 2021-08-26 185202](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/8/89ad2acfdb835acce81ffc9d968f01664569eea8.png)

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](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/6/6ee243b622978b8efb2a7eb922cc341be4340b40.png)

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

 ![Immagine 2021-08-26 190313](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/b/b0a6d9f1ec3482ace419c7272d37b6bac58e8ca6.png)

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

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 5, 2021, 5:06pm UTC](https://forum.adalo.com/t/create-a-custom-action-for-stripe-api-for-manual-capture-method/16472/4 "2021-09-05T17:06:50Z")

</div>

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