Payment Methods

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.

 

Warning! Before activating a payment option, you must configure the payment gateway APIs. Otherwise, the system will get errors and you can’t accept payment from customers.

 

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=

.
.
.

 

Note! Please double check you’re using test creadetials for test purpuse and live credentials for actual transections.

 
Now from your admin Dashboard navigate to settings configuration payment methid tab and enable the payment method.

 

 

Was this page helpful?

Leave Comment