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 account with your payment gateway service provider and have the API credentials. 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= SYBERSOURCE_SANDBOX=TRUE SYBERSOURCE_MERCHANT_ID= SYBERSOURCE_API_KEY= SYBERSOURCE_SECRET= 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.