This is a demo application for Stripe payment integration. It is built with Laravel 5.5 and Vue.js 2.5. It uses Stripe's Elements to create a payment form and Stripe's Checkout to create a checkout form.
- python 3.9 or higher
- flask
- stripe
- android
- dependencies
implementation 'com.stripe:stripe-android:20.21.1' implementation 'com.github.kittinunf.fuel:fuel:2.3.1' implementation 'com.github.kittinunf.fuel:fuel-json:2.3.1'
- Stripe account (in test mode)
- databinding enabled
- Internet permission
- Run the flask server
python server.py
- Change the server url in the android app in strings.xml
<string name="server_url">http://xxx.xxx.xxx.xxx:port</string>
- Change the stripe publishable key in the android app in strings.xml
<string name="stripe_publishable_key">pk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</string>
- Change the stripe secret key and publisable_key in the server.py
pKey='pk...' sKey='sk...'
- Run android app