Change Payment Method

Estimated reading: 3 minutes 310 views

WebView Payment

 Support all payment gateway which is setup on wp-admin site

Native Payment

 Support all payment gateway which is setup on wp-admin site


If you want to change payment method like Native or WebView. Follow below steps
  1. Go to -> App Option
  2. Select Global option
  3. Change “Payment Method”
  4. Click on save changes

Razorpay payment

Razorpay is the only payments solution in India that allows businesses to accept, process, and disburse payments with its product suite. It gives you access to all payment modes including credit card, debit card, netbanking, UPI, and popular wallets including JioMoney, Mobikwik, Airtel Money, FreeCharge, Ola Money, and PayZapp.

Manage your marketplace, automate NEFT/RTGS/IMPS bank transfers, collect recurring payments, share invoices with customers – all from a single platform. Fast forward your business with Razorpay.

For more detail about the Razorpay payment Click Here .

Change Razorpay Key

Open lib/utils/constants.dart file and change the razorKey key.

const razorKey = 'Add your RazorPay key'

Remove the Razorpay payment

We are recommended you follow only the second step if you don’t know about dependency and code

If you want to remove the Razorpay payment gateway option then follow below steps:

Step 1- Goto pubspec.yaml and remove the ‘razorpay_flutter: 1.2.7’ from the file

razorpay_flutter: 1.2.7

note:

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

Step 2 – Goto lib/screen/OrderSummaryScreen.dart file

Find the “mPaymentList” List and remove RazorPay from the list.

var mPaymentList = [“Cash On Delivery”];

Cash on Delivery

Remove the cash on delivery

Find “mPaymentList” List and remove Cash On Delivery Payment from the list.

var mPaymentList = [“RazorPay”, “Cash On Delivery”];

 

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.

For more detail about the Stripe payment Click Here.

Leave a Comment

Share this Doc

Change Payment Method

Or copy link

CONTENTS