All Projects → FGRibreau → stripe-update-card

FGRibreau / stripe-update-card

Licence: other
💳 Expose a page that let your customers update their payment information on Stripe.

Programming Languages

rust
11053 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to stripe-update-card

PayumYiiExtension
Rich payment solutions for Yii framework. Paypal, payex, authorize.net, be2bill, omnipay, recurring paymens, instant notifications and many more
Stars: ✭ 13 (-18.75%)
Mutual labels:  stripe, payment
Omnipay Pingpp
A Ping++ driver for the Omnipay PHP payment processing library. 一个聚合了支付宝(APP、Wap、PC、即时到账、扫码、企业付款),微信(APP、公众号、红包), 银联网关、银联企业网银、Apple Pay、QQ 钱包、易宝支付、百度钱包、京东支付、京东白条、招行一网通、分期支付等国内主流支付渠道的聚合支付网关(Ping++, also known as Pingpp/Pingxx/Pingplusplus)
Stars: ✭ 227 (+1318.75%)
Mutual labels:  stripe, payment
Payum
PHP 7+ Payment processing library. It offers everything you need to work with payments: Credit card & offsite purchasing, subscriptions, payouts etc. - provided by Forma-Pro
Stars: ✭ 1,665 (+10306.25%)
Mutual labels:  stripe, payment
Jetstream Cashier Billing Portal
Jetstream Cashier Billing Portal is a simple scaffolding billing portal to manage subscriptions, invoices and payment methods, built on top of Jetstream & Cashier Register.
Stars: ✭ 45 (+181.25%)
Mutual labels:  stripe, payment
invoicing
GetPaid (Formerly the Invoicing plugin) is a lightweight Payments and Invoicing system for WordPress. It can be used to sell anything online via payment forms or buy now buttons that can be added to any landing page. It can also be used by freelancers to manage their Invoices or by 3rd party Themes and Plugins as their payment system. GeoDirecto…
Stars: ✭ 34 (+112.5%)
Mutual labels:  stripe, payment
Payumserver
Payment processing microservice. Written in Symfony4
Stars: ✭ 103 (+543.75%)
Mutual labels:  stripe, payment
Commerce billing
A payment processing library for Elixir
Stars: ✭ 170 (+962.5%)
Mutual labels:  stripe, payment
Payumbundle
Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
Stars: ✭ 509 (+3081.25%)
Mutual labels:  stripe, payment
direct-stripe
Stripe payment button for WordPress websites
Stars: ✭ 12 (-25%)
Mutual labels:  stripe, payment
react-stripe-script-loader
A React Component that loads Stripe script if necessary and shows React Stripe Elements
Stars: ✭ 22 (+37.5%)
Mutual labels:  stripe, payment
Vue Stripe Payment
Vue wrapper for jquery.payment by stripe
Stars: ✭ 11 (-31.25%)
Mutual labels:  stripe, payment
magento2
Mollie Payments for Magento 2
Stars: ✭ 70 (+337.5%)
Mutual labels:  payment, creditcard
Kirby Pay
Make online payments with Kirby
Stars: ✭ 27 (+68.75%)
Mutual labels:  stripe, payment
Payumlaravelpackage
Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
Stars: ✭ 121 (+656.25%)
Mutual labels:  stripe, payment
Vue Stripe
Stripe Checkout & Elements for Vue.js
Stars: ✭ 669 (+4081.25%)
Mutual labels:  stripe, payment
Stripe
Stripe library for Vapor
Stars: ✭ 151 (+843.75%)
Mutual labels:  stripe, payment
Stripe
A comprehensive PHP Library for the Stripe.
Stars: ✭ 256 (+1500%)
Mutual labels:  stripe, payment
Gringotts
A complete payment library for Elixir and Phoenix Framework
Stars: ✭ 396 (+2375%)
Mutual labels:  stripe, payment
ng-payment-card
💳 Responsive credit card component for Angular.
Stars: ✭ 27 (+68.75%)
Mutual labels:  payment, creditcard
svelte-stripe-js
Everything you need to add Stripe Elements to your Svelte project
Stars: ✭ 139 (+768.75%)
Mutual labels:  stripe, payment

Stripe Update Card microservice

Expose a page that let your customers update their payment information on Stripe.

Travis Cargo version Crates.io Crates.io Docker Build Status MicroBadger Size Slack

🐳 Getting started

docker run -it \
 -e STRIPE_PUBLISHABLE_KEY=pk_test_xxx \
 -e STRIPE_SECRET_KEY=sk_test_xxx \
 -e SUCCESS_REDIRECT_URL=https://url.to.redirect/on/success \
 -p 8080:8080 \
 fgribreau/stripe-update-card

# open payment update page for customer id: cus_D1Cj3rjHrjPQg5
open http://localhost:8080/cus_XXXXXXXXXXXX

Don't forget to change cus_XXXXXXXXXXXX with the Stripe customer id and then expose the URL http://sub.domain.tld/cus_XXXXXXXXXXXX from your app.

Configuration

Configuration is managed through environment variables, see .env.dist for the full-list.

# mandatory config
STRIPE_PUBLISHABLE_KEY=pk_test_xxxxxxxx
STRIPE_SECRET_KEY=sk_test_xxxx
SUCCESS_REDIRECT_URL=https://url.to.redirect/on/success

# optional config
PAGE_TITLE="Update Card"
FORM_DATA_IMAGE=/path/to/your/logo.png
FORM_DATA_NAME="The name of your company or website"
FORM_DATA_DESCRIPTION="A description of the product or service being purchased"
FORM_DATA_PANEL_LABEL="Update Card Details"
FORM_DATA_COLLECT_BILLING_ADDRESS=false
FORM_DATA_LABEL="Update Card Details"
FORM_DATA_ALLOW_REMEMBER_ME=false
FORM_DATA_LOCALE=auto

See stripe-update-card on docker hub.

Running in production at

🦄 Do you use it in production? Please support my work :)

Patreon donate button Gratipay donate button Flattr donate button PayPal donate button Bitcoin donate button

Cargo install

cargo install stripe-update-card

⚙️ Deployment

  • Deploy it (the fastest way is to use Clever-cloud thanks to their awesome native Rust support)
  • Set environment variables
  • Don't forget to add "RUSTUP_CHANNEL=nightly" env. variable for Rocket
  • Done!

❤️ Shameless plug

Development

cargo install cargo-watch
cargo install cargo-release

source .env

# watch for changes and restart everytime
RUST_LOG=debug cargo watch -x run 
  • Use Stripe test tokens
  • Use credit card number 4242 4242 4242 4242 and any date & CVV

CI

This project use Travis-CI to run tests & do builds.

Required environment variables are:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].