Docly Child

Stripe Payment

Estimated reading: 3 minutes

Stripe Payment gateway

  • Stripe is the best software platform for running an internet business. We handle billions of dollars every year for forward-thinking businesses around the world.

    Click here For more details about the Stripe payment gateway.


Stripe Payment gateway

  • Stripe Payment gateway

    Here we have provided some of testing credentials for app

    If you want to add your new payment gateway then buy our paid support for the same.

    Use Only in Test Mode: You can use these test cards to make payments in test mode only. Using these for live mode payments will throw card issuer is invalid or invalid card input error.

    Test Cards Details for stripe payment

    There are several test cards you can use in test mode to make sure this integration is ready. Use them with any CVC, postal code, and future expiration date.

    NumberDescription
    4242 4242 4242 4242Succeeds and immediately processes the payment.
    4000 0025 0000 3155Requires authentication. Stripe will trigger a modal asking for the customer to authenticate.
    4000 0000 0000 9995Always fails with a decline code of insufficient_funds.
Step:1

If your login is successful then you need to click on developer options. We’ve included a screenshot below.

Step:2

After that you have to click on the API Keys option. We’ve included a screenshot below.

Step:3

Here the publishable key and secret key will be generated for testing. We’ve included a screenshot below.

Step:4

If you click Continue Activate, you have generated a publishable key and secret key for Live. We’ve included a screenshot below.

Step:5

Here the publishable key and secret key will be generated for live. We’ve included a screenshot below.

Step:6

Then you go to the admin panel and follow this step  Setting => Payment Settings => Select Stripe Tab and After that turn on the switch and then enter the generated public key and secret key for test/live credential. We’ve included a screenshot below.

NOTE
Now you have to enter this URL in the Stripe URL filed=> https://api.stripe.com/v1/payment_intents

Stripe Payment gateway

  • Stripe is the best software platform for running an internet business. We handle billions of dollars every year for forward-thinking businesses around the world.

    Click here For more details about the Stripe payment gateway.


Remove Stripe Payment Key

  • Step 1 – Goto pubspec.yaml and remove the ‘flutter_stripe: 1.2.0’ from the file

    flutter_stripe: 1.2.0

NOTE
If you have to remove dependency from pubspec.yaml then hit the pub get command. now, remove the code related to stripe_payment.

Leave a Comment

Share this Doc
CONTENTS