payment gateways
open lib/utils/constants.dart
Paypal
check out this tutorial for complete details to get client api key and secret: https://www.appinvoice.com/en/s../documentation/how-to-get-paypal-client-id-and-secret-key-22
just change the below details in the constants.dart file:
paypalClientId - Your paypal client ID that you can get from dashboard
paypalSecret - Your paypal client secret that you can get from dashboard
returnURL - Any link which will be cached after user successful payment, recommended to be your website url
cancelURL - Any link which will be cached after user cancelled payment, recommended to be your website url
paypalTransactionDescription - Payment description that will be shown on your dashboard
paypalNotePayer - Text that will be shown to buyer
Stripe
check out this tutorial for complete details to get publishable key and secret key: https://stripe.com../docs/keys
stripePublishableKey - Your Stripe Publishable Key
stripeSecretKey - Your Stripe Secret Key
stripeCurrency - Currency code as per https://stripe.com../docs/currencies
stripemerchantCountryCode - Your country code as per https://gist.github.com/jylopez/7a3eb87e94981a579303a73cf72a5086
stripemerchantDisplayName - Name that will be displayed during payment
UPI
receiverUpiId - UPI ID of the receiver
receiverName - Name of the receiver as per the UPI platform
RazorPay
just change the below in the constants.dart file:
razorPayApiKey - RazorPay Api Key that you got from it's website.