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

Overview

Accept a payment

Learn how to securely accept payments online.

This repository includes examples of 2 types of integration types.

Prebuilt Checkout page (docs) Custom payment flow (docs)
Lower complexity. Higher complexity.
Customize logo, images, and colors. Customize all components with CSS.
Add payment method types with a single line change. Implement each payment method type as a custom integration.
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.
Small refactor to collect recurring payments. Large refactor to collect recurring payments.
Input validation and error handling built in. Implement your own input validation and error handling.
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.

Payment Method Type Support

Payment Method Type Prebuilt Checkout page (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
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.

Authors

Comments
  • feat: Add Konbini

    feat: Add Konbini

    DRAFT do not merge

    • https://paper.dropbox.com/doc/Konbini-Hosted-Payment-Instructions-page-dogfooding--BFMfg~E_OLqgRh5n0e3fBVojAg-mqbwJUjRLMXBZdkoBBtW4
    opened by thorsten-stripe 17
  • Add disclaimers and restrictions to index and detail views

    Add disclaimers and restrictions to index and detail views

    We need to communicate restrictions like (don't really need to cover all, but most would be good):

    • only works for Stripe accounts in MY
    • only works with X and Y currencies
    • only works for X currencies on Stripe accounts in X countries
    • only works with https
    • only works with specific MCC
    opened by cjavilla-stripe 9
  • Bump idna from 2.8 to 3.2 in /custom-payment-flow/server/python

    Bump idna from 2.8 to 3.2 in /custom-payment-flow/server/python

    Bumps idna from 2.8 to 3.2.

    Changelog

    Sourced from idna's changelog.

    3.2 (2021-05-29) ++++++++++++++++

    • Add type hints (Thanks, Seth Michael Larson!)
    • Remove support for Python 3.4

    3.1 (2021-01-04) ++++++++++++++++

    • Ensure license is included in package (Thanks, Julien Schueller)
    • No longer mark wheel has universal (Thanks, Matthieu Darbois)
    • Test on PowerPC using Travis CI

    3.0 (2021-01-01) ++++++++++++++++

    • Python 2 is no longer supported (the 2.x branch supports Python 2, use "idna<3" in your requirements file if you need Python 2 support)
    • Support for V2 UTS 46 test vectors.

    2.10 (2020-06-27) +++++++++++++++++

    • Update to Unicode 13.0.0.
    • Throws a more specific exception if "xn--" is provided as a label.
    • This is expected to be the last version that supports Python 2.

    2.9 (2020-02-16) ++++++++++++++++

    • Update to Unicode 12.1.0.
    • Prohibit A-labels ending with a hyphen (Thanks, Julien Bernard!)
    • Future-proofing: Test on Python 3.7 and 3.8, don't immediately fail should Python 4 come along.
    • Made BSD 3-clause license clearer
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 6
  • Add snapshot tests with Playwright for custom-payment-flow

    Add snapshot tests with Playwright for custom-payment-flow

    I heard from @paulasjes-stripe and @hideokamoto-stripe that Playwright deals with iframes well and we are trying to see if it's great for testing the sample apps. As a touchstone, I added snapshot tests for custom-payment-flow under the playwright/ directory. I'd like to see if these tests work well.

    playwright/
    ├── custom-payment-flow-e2e-html.spec.ts # tests for custom-payment-flow/client/html
    ├── custom-payment-flow-e2e-html.spec.ts-snapshots # snapshots (screenshots) for the test above
    ├── custom-payment-flow-e2e-react-cra.spec.ts # tests for custom-payment-flow/client/react-cra
    ├── custom-payment-flow-e2e-react-cra.spec.ts-snapshots # snapshots (screenshots) for the test above
    ├── node_modules
    ├── package.json
    └── package-lock.json
    

    The tests run in the job snapshot_test in the ci.yml. Each test just takes a screenshot of each payment page and compares it with the one taken in advance (saved under *-snapshots/ dir). If there are differences between the two images, the test fails.

    • Successful example: https://github.com/hibariya/accept-a-payment/actions/runs/3327818197/jobs/5503086362#step:5:434
    • Failure example: https://github.com/hibariya/accept-a-payment/actions/runs/3327875035/jobs/5503212013#step:5:557

    If some of the tests fail, we can inspect the following images as the artifact of the CI run (like this).

    • The expected screenshot
    • The actual screenshot
    • The visual diff

    Artifact examples

    Unarchived artifacts will contain expected/actual/diff images for each failed test: image

    Expected screenshot example: Custom-Payment-Flow-snapshots----react-cra-Card-1-expected

    Actual screenshot example: (the string "Hiya" is added under the heading)

    Custom-Payment-Flow-snapshots----react-cra-Card-1-actual

    Diff example: Custom-Payment-Flow-snapshots----react-cra-Card-1-diff

    See Also

    • http://cuketest.com/playwright/docs/test-snapshots/
    opened by hibariya 4
  • Docs: How to run the E2E test in the local env.

    Docs: How to run the E2E test in the local env.

    This comment is really helpful for us to reproduce the CI error in our local. https://github.com/stripe-samples/accept-a-payment/pull/15#issuecomment-1025084485

    So I'd like to create a Wiki or docs to summarize this instruction.

    opened by hideokamoto-stripe 4
  • Bump python-dotenv from 0.10.3 to 0.17.1 in /prebuilt-checkout-page/server/python

    Bump python-dotenv from 0.10.3 to 0.17.1 in /prebuilt-checkout-page/server/python

    Bumps python-dotenv from 0.10.3 to 0.17.1.

    Release notes

    Sourced from python-dotenv's releases.

    Version 0.17.1

    Fixed

    • Fixed tests for build environments relying on PYTHONPATH (#318 by @​befeleme).

    Version 0.17.0

    Changed

    • Make dotenv get <key> only show the value, not key=value (#313 by @​bbc2).

    Added

    Version 0.16.0

    Changed

    • The default value of the encoding parameter for load_dotenv and dotenv_values is now "utf-8" instead of None (#306 by @​bbc2).
    • Fix resolution order in variable expansion with override=False (#287 by @​bbc2).
    Changelog

    Sourced from python-dotenv's changelog.

    [0.17.1] - 2021-04-29

    Fixed

    • Fixed tests for build environments relying on PYTHONPATH (#318 by [@​befeleme]).

    [0.17.0] - 2021-04-02

    Changed

    • Make dotenv get <key> only show the value, not key=value (#313 by [@​bbc2]).

    Added

    [0.16.0] - 2021-03-27

    Changed

    • The default value of the encoding parameter for load_dotenv and dotenv_values is now "utf-8" instead of None (#306 by [@​bbc2]).
    • Fix resolution order in variable expansion with override=False (#287 by [@​bbc2]).

    [0.15.0] - 2020-10-28

    Added

    • Add --export option to set to make it prepend the binding with export (#270 by [@​jadutter]).

    Changed

    • Make set command create the .env file in the current directory if no .env file was found (#270 by [@​jadutter]).

    Fixed

    • Fix potentially empty expanded value for duplicate key (#260 by [@​bbc2]).
    • Fix import error on Python 3.5.0 and 3.5.1 (#267 by [@​gongqingkui]).
    • Fix parsing of unquoted values containing several adjacent space or tab characters (#277 by [@​bbc2], review by [@​x-yuri]).

    [0.14.0] - 2020-07-03

    Changed

    • Privilege definition in file over the environment in variable expansion (#256 by [@​elbehery95]).

    ... (truncated)

    Commits
    • 3034238 Release version 0.17.1
    • 7d9b45a Copy existing environment for usage in tests
    • abde8e5 Fix stream parse example in README.md
    • cfca79a Release version 0.17.0
    • 48c5c8e Only display value with dotenv get
    • f2eba2c Remove outdated Coveralls badge
    • 6242550 Use badge from GitHub Actions
    • efc5182 Add --override/--no-override flag to "dotenv run"
    • b96db46 Release version v0.16.0
    • b158aa7 Use UTF-8 as default encoding
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 4
  • Payment

    Payment

    Bug report

    Describe the bug

    A clear and concise description of what the bug is.

    To Reproduce

    Steps to reproduce the behavior, please provide code snippets or a repository:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior

    A clear and concise description of what you expected to happen.

    Screenshots

    If applicable, add screenshots to help explain your problem.

    System information

    • OS: [e.g. macOS, Windows]
    • Browser (if applies) [e.g. chrome, safari]
    • Server environment [e.g. Go, Java, Node, PHP, Python, Ruby, TypeScript]

    Additional context

    Add any other context about the problem here.

    opened by SAGIM37 3
  • Auto merge Dependabot PRs on CI success

    Auto merge Dependabot PRs on CI success

    By this PR the CI workflow runs on Dependabot PRs, too. I believe it's good if we can auto-merge those of CI succeeded because then we can ignore lots of PRs and only care about failed ones.

    If this sounds good, I'd like to work on it. I think we can do that by doing a similar thing as automerge.yml when all the CI jobs succeed on a Dependabot PR.

    :memo: When I work on it, I want to know if we should keep the automerge.yml. I'm not sure the reason why currently they are being auto-merged immediately.

    opened by hibariya 3
  • chore(deps): bump hermes-engine and react-native in /custom-payment-flow/client/react-native-expo

    chore(deps): bump hermes-engine and react-native in /custom-payment-flow/client/react-native-expo

    Bumps hermes-engine and react-native. These dependencies needed to be updated together. Updates hermes-engine from 0.9.0 to 0.11.0

    Commits
    • 2040453 Bump versions for 0.11.0 cut
    • 6c53047 Run Hermes CMake from cargo
    • 67fe974 Bump nanoid from 3.1.22 to 3.2.0 in /website (#666)
    • 10d4945 Handle type params in methods
    • bd64b09 Avoid parens around spread arguments
    • deabbfd Use proper quotes in string literal type annotation
    • ae61d74 Fix extra parens in property assignment
    • 1ba8ef6 Store raw values for string literals as JSX attributes
    • 46faa15 Enable some syscalls to resume after SIGPROF
    • 8bebc9b fix handling of imports
    • Additional commits viewable in compare view
    Maintainer changes

    This version was pushed to npm by lunaleaps, a new releaser for hermes-engine since your current version.


    Updates react-native from 0.66.4 to 0.69.4

    Release notes

    Sourced from react-native's releases.

    0.69.4

    Changed

    Android specific


    You can participate in the conversation on the status of this release in this discussion


    To help you upgrade to this version, you can use the upgrade helper ⚛️


    You can find the whole changelog history in the changelog.md file.

    0.69.3

    Fixed

    iOS specific


    You can participate in the conversation on the status of this release in this discussion


    To help you upgrade to this version, you can use the upgrade helper ⚛️


    You can find the whole changelog history in the changelog.md file.

    0.69.2

    Changed

    iOS specific

    ... (truncated)

    Changelog

    Sourced from react-native's changelog.

    v0.69.4

    Changed

    Android specific

    v0.69.3

    Fixed

    iOS specific

    v0.69.2

    Changed

    iOS specific

    v0.69.1

    Changed

    iOS specific

    Fixed

    • Use monotonic clock for performance.now() (114d31feee)

    iOS specific

    v0.69.0

    ... (truncated)

    Commits
    • 4bdec97 [0.69.4] Bump version numbers
    • 8524177 Added additional builder method receiving arguments for using jsc or hermes t...
    • df31a1e Update script from prepublish (deprecated) to prepack (#34198)
    • 66c68c3 Upgrade RN CLI to v8.0.4 (#34272)
    • 6fe8367 [0.69.3] Bump version numbers
    • b9e9b53 Merge pull request #34214 from Kudo/fix-34102
    • fa2acc3 Fix React-bridging header not found for third party modules
    • 30d1e20 Merge pull request #34228 from facebook/fix/build_hermes_against_stable
    • a2d6f5a fix: build hermes from source on PR against stable
    • 75eb6e7 [0.69.2] Bump version numbers
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies javascript 
    opened by dependabot[bot] 3
  • chore(deps-dev): bump @types/node from 18.0.0 to 18.0.3 in /custom-payment-flow/server/node-typescript

    chore(deps-dev): bump @types/node from 18.0.0 to 18.0.3 in /custom-payment-flow/server/node-typescript

    Bumps @types/node from 18.0.0 to 18.0.3.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 3
  • accept_payment

    accept_payment

    { "name": "accept-a-payment", "configureDotEnv": true, "integrations": [ { "name": "payment-element", "clients": ["html", "react-cra"], "servers": [ "ruby", "node", "python", "php", "java", "go", "dotnet", "node-typescript" ] }, { "name": "prebuilt-checkout-page", "clients": ["html", "react-cra", "vue-cva"], "servers": [ "ruby", "node", "python", "php", "java", "go", "dotnet" ] }, { "name": "custom-payment-flow", "clients": ["html", "react-cra", "ios", "android-kotlin", "ios-swiftui"], "servers": [ "ruby", "node", "python", "php", "java", "go", "dotnet", "node-typescript" ] } ] } stripe-cli-1.8.11.zip

    opened by vecsdom 3
  • chore(deps): bump react-router-dom from 6.4.2 to 6.6.1 in /custom-payment-flow/client/react-cra

    chore(deps): bump react-router-dom from 6.4.2 to 6.6.1 in /custom-payment-flow/client/react-cra

    Bumps react-router-dom from 6.4.2 to 6.6.1.

    Release notes

    Sourced from react-router-dom's releases.

    v6.4.4

    What's Changed

    • Throw an error if an action/loader function returns undefined as revalidations need to know whether the loader has previously been executed. undefined also causes issues during SSR stringification for hydration. You should always ensure your loader/action returns a value, and you may return null if you don't wish to return anything. (#9511)
    • Properly handle redirects to external domains (#9590, #9654)
    • Preserve the HTTP method on 307/308 redirects (#9597)
    • Support basename in static data routers (#9591)
    • Enhanced ErrorResponse bodies to contain more descriptive text in internal 403/404/405 scenarios
    • Fix issues with encoded characters in NavLink and descendant <Routes> (#9589, #9647)
    • Properly serialize/deserialize ErrorResponse instances when using built-in hydration (#9593)
    • Support basename in static data routers (#9591)
    • Updated dependencies:

    Full Changelog: https://github.com/remix-run/react-router/compare/[email protected]@6.4.4

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    ... (truncated)

    Changelog

    Sourced from react-router-dom's changelog.

    6.6.1

    Patch Changes

    6.6.0

    Minor Changes

    • Add useBeforeUnload() hook (#9664)
    • Remove unstable_ prefix from createStaticHandler/createStaticRouter/StaticRouterProvider (#9738)

    Patch Changes

    • Proper hydration of Error objects from StaticRouterProvider (#9664)
    • Support uppercase <Form method> and useSubmit method values (#9664)
    • Skip initial scroll restoration for SSR apps with hydrationData (#9664)
    • Fix <button formmethod> form submission overriddes (#9664)
    • Updated dependencies:

    6.5.0

    Patch Changes

    6.4.5

    Patch Changes

    6.4.4

    Patch Changes

    • Fix issues with encoded characters in NavLink and descendant <Routes> (#9589, #9647)
    • Properly serialize/deserialize ErrorResponse instances when using built-in hydration (#9593)
    • Support basename in static data routers (#9591)
    • Updated dependencies:

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 0
  • chore(deps): bump react-router-dom from 6.4.2 to 6.6.1 in /payment-element/client/react-cra

    chore(deps): bump react-router-dom from 6.4.2 to 6.6.1 in /payment-element/client/react-cra

    Bumps react-router-dom from 6.4.2 to 6.6.1.

    Release notes

    Sourced from react-router-dom's releases.

    v6.4.4

    What's Changed

    • Throw an error if an action/loader function returns undefined as revalidations need to know whether the loader has previously been executed. undefined also causes issues during SSR stringification for hydration. You should always ensure your loader/action returns a value, and you may return null if you don't wish to return anything. (#9511)
    • Properly handle redirects to external domains (#9590, #9654)
    • Preserve the HTTP method on 307/308 redirects (#9597)
    • Support basename in static data routers (#9591)
    • Enhanced ErrorResponse bodies to contain more descriptive text in internal 403/404/405 scenarios
    • Fix issues with encoded characters in NavLink and descendant <Routes> (#9589, #9647)
    • Properly serialize/deserialize ErrorResponse instances when using built-in hydration (#9593)
    • Support basename in static data routers (#9591)
    • Updated dependencies:

    Full Changelog: https://github.com/remix-run/react-router/compare/[email protected]@6.4.4

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    ... (truncated)

    Changelog

    Sourced from react-router-dom's changelog.

    6.6.1

    Patch Changes

    6.6.0

    Minor Changes

    • Add useBeforeUnload() hook (#9664)
    • Remove unstable_ prefix from createStaticHandler/createStaticRouter/StaticRouterProvider (#9738)

    Patch Changes

    • Proper hydration of Error objects from StaticRouterProvider (#9664)
    • Support uppercase <Form method> and useSubmit method values (#9664)
    • Skip initial scroll restoration for SSR apps with hydrationData (#9664)
    • Fix <button formmethod> form submission overriddes (#9664)
    • Updated dependencies:

    6.5.0

    Patch Changes

    6.4.5

    Patch Changes

    6.4.4

    Patch Changes

    • Fix issues with encoded characters in NavLink and descendant <Routes> (#9589, #9647)
    • Properly serialize/deserialize ErrorResponse instances when using built-in hydration (#9593)
    • Support basename in static data routers (#9591)
    • Updated dependencies:

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 0
  • chore(deps): bump react-router-dom from 6.4.2 to 6.6.1 in /prebuilt-checkout-page/client/react-cra

    chore(deps): bump react-router-dom from 6.4.2 to 6.6.1 in /prebuilt-checkout-page/client/react-cra

    Bumps react-router-dom from 6.4.2 to 6.6.1.

    Release notes

    Sourced from react-router-dom's releases.

    v6.4.4

    What's Changed

    • Throw an error if an action/loader function returns undefined as revalidations need to know whether the loader has previously been executed. undefined also causes issues during SSR stringification for hydration. You should always ensure your loader/action returns a value, and you may return null if you don't wish to return anything. (#9511)
    • Properly handle redirects to external domains (#9590, #9654)
    • Preserve the HTTP method on 307/308 redirects (#9597)
    • Support basename in static data routers (#9591)
    • Enhanced ErrorResponse bodies to contain more descriptive text in internal 403/404/405 scenarios
    • Fix issues with encoded characters in NavLink and descendant <Routes> (#9589, #9647)
    • Properly serialize/deserialize ErrorResponse instances when using built-in hydration (#9593)
    • Support basename in static data routers (#9591)
    • Updated dependencies:

    Full Changelog: https://github.com/remix-run/react-router/compare/[email protected]@6.4.4

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    [email protected]

    Patch Changes

    ... (truncated)

    Changelog

    Sourced from react-router-dom's changelog.

    6.6.1

    Patch Changes

    6.6.0

    Minor Changes

    • Add useBeforeUnload() hook (#9664)
    • Remove unstable_ prefix from createStaticHandler/createStaticRouter/StaticRouterProvider (#9738)

    Patch Changes

    • Proper hydration of Error objects from StaticRouterProvider (#9664)
    • Support uppercase <Form method> and useSubmit method values (#9664)
    • Skip initial scroll restoration for SSR apps with hydrationData (#9664)
    • Fix <button formmethod> form submission overriddes (#9664)
    • Updated dependencies:

    6.5.0

    Patch Changes

    6.4.5

    Patch Changes

    6.4.4

    Patch Changes

    • Fix issues with encoded characters in NavLink and descendant <Routes> (#9589, #9647)
    • Properly serialize/deserialize ErrorResponse instances when using built-in hydration (#9593)
    • Support basename in static data routers (#9591)
    • Updated dependencies:

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 0
  • chore(deps-dev): bump @types/node from 18.11.2 to 18.11.18 in /custom-payment-flow/server/node-typescript

    chore(deps-dev): bump @types/node from 18.11.2 to 18.11.18 in /custom-payment-flow/server/node-typescript

    Bumps @types/node from 18.11.2 to 18.11.18.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 0
  • chore(deps): bump stripe from 10.17.0 to 11.5.0 in /custom-payment-flow/server/node-typescript

    chore(deps): bump stripe from 10.17.0 to 11.5.0 in /custom-payment-flow/server/node-typescript

    Bumps stripe from 10.17.0 to 11.5.0.

    Release notes

    Sourced from stripe's releases.

    v11.5.0

    • #1642 API Updates
      • Add support for new value merchant_default on enums CashBalanceUpdateParams.settings.reconciliation_mode, CustomerCreateParams.cash_balance.settings.reconciliation_mode, and CustomerUpdateParams.cash_balance.settings.reconciliation_mode
      • Add support for using_merchant_default on CashBalance.settings
      • Change CheckoutSessionCreateParams.cancel_url to be optional
      • Change type of Checkout.Session.cancel_url from string to string | null

    See the changelog for more details.

    v11.5.0-beta.1

    • #1640 API Updates for beta branch
      • Updated stable APIs to the latest version
      • Add support for new resources QuoteLine, TaxCalculation, and TaxTransaction
      • Add support for create and list_line_items methods on resource TaxCalculation
      • Add support for create_reversal, create, and retrieve methods on resource TaxTransaction

    See the changelog for more details.

    v11.4.0

    • #1639 API Updates
      • Add support for new value invoice_overpaid on enum CustomerBalanceTransaction.type
    • #1637 Update packages in examples/webhook-signing

    See the changelog for more details.

    v11.3.0

    • #1634 API Updates
      • Change CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type to be optional

    See the changelog for more details.

    v11.3.0-beta.1

    • #1635 API Updates for beta branch
      • Updated stable APIs to the latest version
    • #1633 API Updates for beta branch
      • Updated stable APIs to the latest version

    See the changelog for more details.

    v11.2.0

    • #1632 API Updates
      • Add support for flow_data on BillingPortalSessionCreateParams
      • Add support for flow on BillingPortal.Session
    • #1631 API Updates
      • Add support for india_international_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
      • Add support for invoice_creation on Checkout.Session and CheckoutSessionCreateParams
      • Add support for invoice on Checkout.Session
      • Add support for metadata on SubscriptionSchedule.phases[].items[], SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]
    • #1630 Remove BASIC_METHODS from TS definitions
    • #1629 Narrower type for stripe.invoices.retrieveUpcoming()

    ... (truncated)

    Changelog

    Sourced from stripe's changelog.

    11.5.0 - 2022-12-22

    • #1642 API Updates
      • Add support for new value merchant_default on enums CashBalanceUpdateParams.settings.reconciliation_mode, CustomerCreateParams.cash_balance.settings.reconciliation_mode, and CustomerUpdateParams.cash_balance.settings.reconciliation_mode
      • Add support for using_merchant_default on CashBalance.settings
      • Change CheckoutSessionCreateParams.cancel_url to be optional
      • Change type of Checkout.Session.cancel_url from string to string | null

    11.4.0 - 2022-12-15

    • #1639 API Updates
      • Add support for new value invoice_overpaid on enum CustomerBalanceTransaction.type
    • #1637 Update packages in examples/webhook-signing

    11.3.0 - 2022-12-08

    • #1634 API Updates
      • Change CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type to be optional

    11.2.0 - 2022-12-06

    • #1632 API Updates
      • Add support for flow_data on BillingPortalSessionCreateParams
      • Add support for flow on BillingPortal.Session
    • #1631 API Updates
      • Add support for india_international_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
      • Add support for invoice_creation on Checkout.Session and CheckoutSessionCreateParams
      • Add support for invoice on Checkout.Session
      • Add support for metadata on SubscriptionSchedule.phases[].items[], SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]
    • #1630 Remove BASIC_METHODS from TS definitions
    • #1629 Narrower type for stripe.invoices.retrieveUpcoming()
    • #1627 remove unneeded IIFE
    • #1625 Remove API version from the path
    • #1626 Move child resource method params next to method declarations
    • #1624 Split resource and service types

    11.1.0 - 2022-11-17

    • #1623 API Updates
      • Add support for hosted_instructions_url on PaymentIntent.next_action.wechat_pay_display_qr_code
    • #1622 API Updates
      • Add support for custom_text on Checkout.Session, CheckoutSessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
      • Add support for hosted_instructions_url on PaymentIntent.next_action.paynow_display_qr_code

    11.0.0 - 2022-11-16

    This release includes breaking changes resulting from moving to use the new API version "2022-11-15". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-11-15

    "⚠️" symbol highlights breaking changes.

    • #1608 Next major release changes
    • #1619 Annotate prototypes with types
    • #1612 Add type information here and there
    • #1615 API Updates

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 0
  • chore(deps): bump stripe from 10.17.0 to 11.5.0 in /custom-payment-flow/server/node

    chore(deps): bump stripe from 10.17.0 to 11.5.0 in /custom-payment-flow/server/node

    Bumps stripe from 10.17.0 to 11.5.0.

    Release notes

    Sourced from stripe's releases.

    v11.5.0

    • #1642 API Updates
      • Add support for new value merchant_default on enums CashBalanceUpdateParams.settings.reconciliation_mode, CustomerCreateParams.cash_balance.settings.reconciliation_mode, and CustomerUpdateParams.cash_balance.settings.reconciliation_mode
      • Add support for using_merchant_default on CashBalance.settings
      • Change CheckoutSessionCreateParams.cancel_url to be optional
      • Change type of Checkout.Session.cancel_url from string to string | null

    See the changelog for more details.

    v11.5.0-beta.1

    • #1640 API Updates for beta branch
      • Updated stable APIs to the latest version
      • Add support for new resources QuoteLine, TaxCalculation, and TaxTransaction
      • Add support for create and list_line_items methods on resource TaxCalculation
      • Add support for create_reversal, create, and retrieve methods on resource TaxTransaction

    See the changelog for more details.

    v11.4.0

    • #1639 API Updates
      • Add support for new value invoice_overpaid on enum CustomerBalanceTransaction.type
    • #1637 Update packages in examples/webhook-signing

    See the changelog for more details.

    v11.3.0

    • #1634 API Updates
      • Change CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type to be optional

    See the changelog for more details.

    v11.3.0-beta.1

    • #1635 API Updates for beta branch
      • Updated stable APIs to the latest version
    • #1633 API Updates for beta branch
      • Updated stable APIs to the latest version

    See the changelog for more details.

    v11.2.0

    • #1632 API Updates
      • Add support for flow_data on BillingPortalSessionCreateParams
      • Add support for flow on BillingPortal.Session
    • #1631 API Updates
      • Add support for india_international_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
      • Add support for invoice_creation on Checkout.Session and CheckoutSessionCreateParams
      • Add support for invoice on Checkout.Session
      • Add support for metadata on SubscriptionSchedule.phases[].items[], SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]
    • #1630 Remove BASIC_METHODS from TS definitions
    • #1629 Narrower type for stripe.invoices.retrieveUpcoming()

    ... (truncated)

    Changelog

    Sourced from stripe's changelog.

    11.5.0 - 2022-12-22

    • #1642 API Updates
      • Add support for new value merchant_default on enums CashBalanceUpdateParams.settings.reconciliation_mode, CustomerCreateParams.cash_balance.settings.reconciliation_mode, and CustomerUpdateParams.cash_balance.settings.reconciliation_mode
      • Add support for using_merchant_default on CashBalance.settings
      • Change CheckoutSessionCreateParams.cancel_url to be optional
      • Change type of Checkout.Session.cancel_url from string to string | null

    11.4.0 - 2022-12-15

    • #1639 API Updates
      • Add support for new value invoice_overpaid on enum CustomerBalanceTransaction.type
    • #1637 Update packages in examples/webhook-signing

    11.3.0 - 2022-12-08

    • #1634 API Updates
      • Change CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type to be optional

    11.2.0 - 2022-12-06

    • #1632 API Updates
      • Add support for flow_data on BillingPortalSessionCreateParams
      • Add support for flow on BillingPortal.Session
    • #1631 API Updates
      • Add support for india_international_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
      • Add support for invoice_creation on Checkout.Session and CheckoutSessionCreateParams
      • Add support for invoice on Checkout.Session
      • Add support for metadata on SubscriptionSchedule.phases[].items[], SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]
    • #1630 Remove BASIC_METHODS from TS definitions
    • #1629 Narrower type for stripe.invoices.retrieveUpcoming()
    • #1627 remove unneeded IIFE
    • #1625 Remove API version from the path
    • #1626 Move child resource method params next to method declarations
    • #1624 Split resource and service types

    11.1.0 - 2022-11-17

    • #1623 API Updates
      • Add support for hosted_instructions_url on PaymentIntent.next_action.wechat_pay_display_qr_code
    • #1622 API Updates
      • Add support for custom_text on Checkout.Session, CheckoutSessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
      • Add support for hosted_instructions_url on PaymentIntent.next_action.paynow_display_qr_code

    11.0.0 - 2022-11-16

    This release includes breaking changes resulting from moving to use the new API version "2022-11-15". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-11-15

    "⚠️" symbol highlights breaking changes.

    • #1608 Next major release changes
    • #1619 Annotate prototypes with types
    • #1612 Add type information here and there
    • #1615 API Updates

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 0
Owner
Stripe Samples
Sample integrations built by Stripe.
Stripe Samples
PHP Simple Response, XML, JSON,... auto response with accept in request's header

simple-response Simple package to handle response properly in your API. This package does not include any dependency. Install Via Composer $ composer

Phuong Danh 3 Dec 8, 2021
Real world Conduit App based on Laravel Livewire stack

Laravel Livewire codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API. Demo Github

Ricardo Sawir 18 Nov 14, 2022
One-to-one plugin for editing world chat messages.

WorldChat One-to-one plugin for editing world chat messages. Supports English and Turkish language To set a new world chat format /worldchat new "worl

Aydın Demirci 12 May 20, 2023
Razorpay payment gateway integration in laravel with submit form and storing details in payment table.

Integrating razorpay payment gateway in laravel with submit form and storing payment details in payment table. How to settup the project in your local

Mohammed-Thamnees 3 Apr 15, 2021
Quickly identify controller methods with no route in your Laravel applications.

Orphan Controller Quickly identify controller methods with no route in your Laravel applications. Installation You can install the package via Compose

Ryan Chandler 16 Feb 18, 2022
Control frontend access to properties/methods in Livewire using PHP 8 attributes.

This package adds PHP 8.0 attribute support to Livewire. In specific, the attributes are used for flagging component properties and methods as frontend-accessible.

ARCHTECH 83 Dec 17, 2022
A light weight laravel package that facilitates dealing with arabic concepts using a set of classes and methods to make laravel speaks arabic

A light weight laravel package that facilitates dealing with arabic concepts using a set of classes and methods to make laravel speaks arabic! concepts like , Hijri Dates & Arabic strings and so on ..

Adnane Kadri 49 Jun 22, 2022
This package provides convenient methods for making token code, sending and verifying mobile phone verification requests.

Laravel Mobile Verification Introduction Many web applications require users to verify their mobile phone numbers before using the application. Rather

M.Fouladgar 347 Dec 25, 2022
A Laravel response helper methods.

A Laravel response helper methods. The package respond provides a fluent syntax to form array or json responses.

Najm Njeim 5 Nov 2, 2021
A package that helps to group methods that mostly use for the view presentation purpose.

A package that helps to group methods that mostly use for the view presentation purpose form models to a dedicated presenter class.

Touhidur Rahman 9 Apr 26, 2022
An opinionated support package for Laravel, that provides flexible and reusable helper methods and traits for commonly used functionality.

Support An opinionated support package for Laravel, that provides flexible and reusable helper methods and traits for commonly used functionality. Ins

Ian Olson 3 Apr 14, 2021
Source code behind the Laracasts Larabit: My Favorite Laravel Collections Methods

My Favorite Laravel Collections Methods This is the source code behind the Laracasts Larabit: My Favorite Laravel Collections Methods, and features al

Andrew Schmelyun 2 Dec 2, 2021
These are simple array and object collections that provide convinient methods to manipulate them.

Simple Collections These are simple array and object collections that provide convinient methods to manipulate collections; To install this package ty

Artem 4 Nov 19, 2021
A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

PHPColors A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly. Requirements PHPColo

Arlo Carreon 423 Dec 20, 2022
Zarinpal is a laravel package to easily use zarinpal.com payment services in your applications

پکیج اتصال به درگاه پرداخت زرین پال zarinpal.com برای اتصال به درگاه پرداخت اینترنتی زرین پال و استفاده از api های آن می توانید از این پکیج استفاده کن

Rahmat Waisi 4 Jan 26, 2022
A laravel wrapper for BnpParibas Mercanet payment gateway

Laravel Mercanet A laravel wrapper for BnpParibas Mercanet which provide a lightweight public api to process your online payments from your laravel ap

Mouad ZIANI 29 Nov 27, 2022
A Laravel package to simplify using DPO Payment API in your application.

DPO (Direct Pay Online) Laravel Package The best DPO Laravel package, simple Ever This is the package that will help you add DPO Payment API to your L

Zepson Technologies 5 Nov 17, 2022
SSLCommerz Payment gateway library for Laravel framework

SSLCommerz SSLCommerz Payment gateway library for Laravel framework. Official documentation is here. install composer require sam-asif/sslcommerz Pro

Md. Asif Iqbal 1 Oct 28, 2021
Integrasi Payment Gateway Midtrans dengan Framework Laravel 8

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Martin Mulyo Syahidin 25 Dec 4, 2022