Payment Methods APIs
oneCart offers various kind of payment method to accept payments from customers. To use any of this payment option you have to configure the payment gateway properly with the system.
After you have done creating payment service provider account and have the API credentials you need. It’s time to configure the platform, open the
.env file and update these keys with your values.
. . . STRIPE_KEY=your_stripe_publishable_key STRIPE_SECRET=your_stripe_secret_key PAYPAL_MODE=sandbox PAYPAL_CLIENT_ID= PAYPAL_CLIENT_SECRET= INSTAMOJO_SANDBOX=TRUE INSTAMOJO_API_KEY= INSTAMOJO_AUTH_TOKEN= AUTHORIZENET_SANDBOX=TRUE AUTHORIZENET_API_LOGIN_ID= AUTHORIZENET_TRANSACTION_KEY= PAYSTACK_SECRET= . . .
Now from your admin
Dashboard navigate to
settings configuration payment methid tab and enable the payment method.