简体   繁体   中英

How to generate ephemeral_keys in Stripe payment Android

I am implementing Stripe payment for my android application. I download Stripe payment SDK example but I getting one error " https://hidden-beach-12345.herokuapp.com/ephemeral_keys " every time. I don't know how can I generate an ephemeral key from stripe?

This is covered in details in Stripe's documentation for their Android SDK here .

The idea is that you need an endpoint on your server that the SDK will hit to fetch an ephemeral key for a given customer. Your code, server-side, will create that ephemeral key in the language you're familiar with such as PHP or Ruby.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM