In order to start receiving payments for your courses, you need to connect your LearnWorlds site with a payment gateway.
1Go to Financial--> Payment Gateway.
2 Select the Payment Gateway you want.
TWO CHECKOUT ACCOUNT:
The Account Number can be found in the top-right corner by hovering your mouse over the User icon.
TWO CHECKOUT PRIVATE KEY:
The Private Key can be found by navigating to the Account > API Tab. After agreeing to the terms presented you can generate it.
TWO CHECKOUT SECRET:
Navigate to Account > Site Management and scroll to the bottom of the page. You will find the Secret Word there.
TWO CHECKOUT PASSWORD:
The checkout password is the one you defined when creating the username. Follow the TWO CHECKOUT USERNAME instructions.
TWO CHECKOUT USERNAME:
You must create a username which can be done by navigating to the Account > User Management Tab > Create username. When creating the username select API ACCESS and make sure the checkbox API UPDATING is checked. Now complete the form (username, password, email) and create it.
- i. Navigate to Account > Site Management
- ii. Under header Site Settings turn Demo Setting -> OFF
- iii. Scroll until you find Direct Return and select Header Redirect (its a bullet)
- iv. Under the Direct Return setting, you can also find the APPROVED URL field which must be set to your unique APPROVED URL (can be found in your school's 2checkout financial settings under additional setup).
- v. Click Save at the bottom of the page.
If you use 2Checkout 2.0:
TWO CHECKOUT ACCOUNT NUMBER => Merchant Code
TWO CHECKOUT PRIVATE KEY => API KEYS -> Private Key
TWO CHECKOUT SECRET WORD => Buy link secret word
which you can find here: https://secure.2checkout.com/cpanel/webhooks_api.php
Also, the "Direct return" is named "Redirect URL", and you insert in the "Approved URL" section the URL we show in the Financial -> Payment gateway of your school and as "Return method" you choose the "Header redirect"
For the "TWO CHECKOUT USERNAME / PASSWORD" you will need to create a user and give him API role. You can find more information here: https://knowledgecenter.2checkout.com/Onboarding/Account-set-up/Create_users_with_API_roles
Stripe: Follow this quick tutorial
Keep in mind that: Subscription-based sales are supported only through Stripe payment gateway.