Page 1 of 1

Appery Stripe API down?

Posted: Thu Mar 29, 2018 8:04 pm
by sebastian

I followed the instructions in this tutorial

https://devcenter2.appery.io/document...

however, there is no Apperyio.proxy checkbox for me to click in the server setting in the back builder. I know of which checkbox they are talking about but its not there.

When I test I get

{
"code": "AE001",
"message": "Incorrect or absent API KEY",
"status": "BAD_REQUEST"
}


Appery Stripe API down?

Posted: Thu Mar 29, 2018 8:22 pm
by Serhii Kulibaba

Hello,

This tutorial is outdated. Please read this one https://docs.appery.io/docs/samples-s...


Appery Stripe API down?

Posted: Thu Mar 29, 2018 9:17 pm
by sebastian

Great thanks! Testing seems to work for creating a token and charging. However when I try to use the api connection with another rest service to create customers with the same settings to save card details it doesn't seem to work. Can you help me figure out how I would configure this with the appery rest api?

Here is documentation for creating users and saving their card details for later.
https://stripe.com/docs/saving-cards


Appery Stripe API down?

Posted: Thu Mar 29, 2018 9:57 pm
by sebastian

Never mind I figured it out. Is there anyway to make a rest service url dynamic so that I can change it in JS? I need it for allowing users to change their default payment method and the url is https://api.stripe.com/v1/customers/c... with each uniqueID being the variable for each user


Appery Stripe API down?

Posted: Fri Mar 30, 2018 1:43 am
by sebastian

Nevermind I figured out how to do it.


Re: Appery Stripe API down?

Posted: Tue Dec 14, 2021 8:45 am
by EyesFit

If you're wanting to use Stripe to incorporate a subscription-based structure, check out their new pre-built Customer Portal. It takes care of all the paperwork for initiating and cancelling subscriptions, as well as updating credit card information and seeing billing history, so you don't have to. To update your clients' status, all you have to do is put up a redirect and listen for webhooks. With less than a day, I was able to make it work in Django. It can't support all forms of subscriptions, and you lose customizability, but it's a decent option for the most common subscription types.