Stripe Payments


  • Goto https://stripe.com.

  • Create an testing/production account in order to test the Stripe Payment Gateway. You will need to verify your Stripe account is in 'test' mode, and get test API credentials. You can find Test Secret Key& _Test Publishable Key in your Stripe Account in Dashboard > API section.

  • PasteTest Secret Key& _Test Publishable Key under src > pages > checkout > checkout.ts.

  • Genuine card information cannot be used in test mode. Instead, use any of the following test card numbers, a valid expiration date in the future, and any random CVC number, to create a successful payment. Each test card's billing country is set to U.S. If you need to create test card payments using cards for other billing countries, use our international test cards.

NUMBER BRAND
4242424242424242 Visa
4000056655665556 Visa (debit)
5555555555554444 Mastercard
2223003122003222 Mastercard (2-series)
5200828282828210 Mastercard (debit)
5105105105105100 Mastercard (prepaid)
378282246310005 American Express
371449635398431 American Express
6011111111111117 Discover
6011000990139424 Discover
30569309025904 Diners Club
38520000023237 Diners Club
3530111333300000 JCB
  • You have successfully added stripe payments to your project.

results matching ""

    No results matching ""