Cannot Fetch Schema For My Own API Call to Stripe

Wappler Version :6.8.0
Server Model: PHP

Expected behavior

What do you think should happen?

In 6.8.0 I should be able to create my own API call to Stripe and fetch the schema as I could in 3.9.7.

I need to do this as each of my clients have their own Stripe keys so I cannot use the Wappler implementation.

Actual behavior

What actually happens?

When I click [Fetch Schema], I am continuously presented with a Wappler created Stripe Sign-in box which just keeps re-appearing even though I put my login details into the fields and click [Login]

How to reproduce

Try it for the example shown in the image below.

Were you able to resolve this? I was just trying for the first time to use the API Actions instead of Stripe components and was presented with the username/password box. I cancelled out since I'm still in learning mode about how to use Stripe in this way.

No, I ended up running the API on some test data and seeing in the developers tools what format the response came in and then just manually adding the path in a Set Value to extact the data I needed...

I was able to get around this by creating an "Authorization" header in the API action and using my Stripe test secret key and the string "Bearer" in the Value field such as:

The username/password box no longer appears since I'm now probably providing authorization correctly.

1 Like