We have used 4 type of payment systems inside the FoodZone Application.You can change or add new payment gateway according to your requirements and with your country.
Please note that: We used Sandbox account for the Braintree (Card and Paypal) and for the stripe payment gateway.Actual amount will not be deduct from the customer's account.
Cash on Delivery
Pay to Pickup
Stripe Payment Gateway
Braintree Payment Gateway (Card Payment and Paypal Payment)
For Stripe Payment gateway integrations your need to register on stripe portal.
As mentioned above you need to register your stripe account as a sandbox account.
After that once everything work perfect you may go to make your account live.
Once your account is ready and set your publish key on application payment will reflect on stripe dashboard if everything works perfect.
Copy Your Publish key and add it on you flutter application at lib -> helper -> Constant -> KeysClass -> publishKey
Now your application is ready to receive with stripe payment.
We added important links on link sections.
Before going to setup Braintree PayPal and Card account you need to register on portal.
Linked your PayPal account to Braintree.
Add all required details and select the payment methods which you want to set like.
Registered with all required details you will get merchant id which will use on flutter application.
Copy your merchant id and add it to the flutter project as mentioned on image.
once everything is done your Braintree payment transaction has been reflect on Braintree dashboard.
Note: We have mentioned all basic steps which are necessary for flutter application.How to add merchantID for PayPal and PublishKey for Stripe.
Before using Razorpay you must have to log in with Razorpay account.
Copy Razorpay key id and pest in project.