Giter VIP home page Giter VIP logo

domino43 / accept-a-payment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stripe-samples/accept-a-payment

0.0 0.0 1.0 21.78 MB

Learn how to accept a payment from customers around the world with a variety of payment methods.

License: MIT License

JavaScript 17.83% Ruby 10.87% Python 2.39% PHP 17.75% Java 3.21% Go 2.98% C# 2.56% Kotlin 6.05% TypeScript 9.38% CSS 10.79% Swift 3.63% Hack 0.40% HTML 10.38% Vue 1.78%

accept-a-payment's Introduction

Accept a payment

Learn how to securely accept payments online.

This repository includes examples of 3 types of integration.

Prebuilt Checkout page (docs) Payment Element (docs) Custom payment flow (docs)
Lower complexity. Moderate complexity. Higher complexity.
Customize logo, images, and colors. Customize components with Appearance API. Customize all components with CSS.
Add payment method types with a single line change. Add payment methods with a single line change. Implement each payment method type as a custom integration.
Built-in support for Apple Pay, and Google Pay. Built-in support for Apple Pay and Google Pay. Integrate Apple Pay and Google Pay with extra code.
Redirect to Stripe hosted page. Customers stay on your site, but payment completion triggers a redirect. Customers stay on your site.
Small refactor to collect recurring payments. Large refactor to collect recurring payments. Large refactor to collect recurring payments.
Input validation and error handling built in. Input validation built-in but you must implement error handling. Implement your own input validation and error handling.
Localized in 25+ languages. Localized in 25+ languages. Implement your own localization.
Automate calculation and collection of sales tax, VAT and GST with one line of code. Implement your own logic to automate taxes on your transactions. Implement your own logic to automate taxes on your transactions.

Payment Method Type Support

Payment Method Type Prebuilt Checkout page (docs) Payment Element (docs) Custom payment flow (docs)
ACH Credit Transfer
ACH Debit
Afterpay/Clearpay
Alipay
Apple Pay
Bacs Direct Debit
Bancontact
BECS Direct Debit
Boleto
Cards
EPS
FPX
giropay
Google Pay
GrabPay
iDEAL
Klarna
Link
Multibanco
OXXO
Przelewy24 (P24)
SEPA Direct Debit
Sofort
WeChat Pay

Installation

The recommended way to use this Stripe Sample is with the Stripe CLI:

stripe samples create accept-a-payment

You can also clone the repository, but there is a bit more manual setup work to configure the .env environment variable file in the server directory.

You'll find more detailed instructions for each integration type in the relevant READMEs:


FAQ

Q: Why did you pick these frameworks?

A: We chose the most minimal framework to convey the key Stripe calls and concepts you need to understand. These demos are meant as an educational tool that helps you roadmap how to integrate Stripe within your own system independent of the framework.

Get support

If you found a bug or want to suggest a new [feature/use case/sample], please file an issue.

If you have questions, comments, or need help with code, we're here to help:

Sign up to stay updated with developer news.

Testing

See TESTING.md.

Authors

Contributors

Made with contrib.rocks.

accept-a-payment's People

Contributors

cjavilla-stripe avatar dependabot[bot] avatar github-actions[bot] avatar charliegerard-stripe avatar hibariya avatar hideokamoto-stripe avatar cecilphillip-stripe avatar thorsten-stripe avatar kevinpeters-stripe avatar paulasjes-stripe avatar charlesw-stripe avatar erinkavanaugh-stripe avatar bonsanto-stripe avatar bensnell-stripe avatar brendanm-stripe avatar skyler-stripe avatar aliriaz-stripe avatar thorwebdev avatar ccen-stripe avatar alexbudgh avatar joshnuss avatar kndarp avatar liammcarthur avatar rafapaliwoda-stripe avatar kronthto avatar karlr-stripe avatar seanzhang-stripe avatar

Forkers

tal-b-cmd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.