Using External Payment Processors

Follow

Skilljar also enables you to use your an external payment gateway to process e-commerce transactions for the courses or bundles you sell. With this configuration, payments will happen outside of Skilljar. 

To configure an external payment gateway in Skilljar, please contact your Customer Success Manager or our team at support@skilljar.com.

You'll need to provide them with the Remote Checkout URL, which is the address of external payment checkout page. 

 


Here's how it works:

1. When a user goes to purchase a course or bundle, they can select the quantity and apply a promo code. With the external payment processor configured, there will be a single button below the purchase details:

Screen_Shot_2017-10-12_at_10.44.11_AM.png

 

2. When a user clicks on "Proceed to Checkout", they'll be redirected to the external payment checkout URL with the purchase_id appended to the URL as a query parameter.

For example: https://example.com/checkout/?purchase_id={purchase_id}, where {purchase_id} is the unique ID of the purchase. 

 

3. When the user is redirected to the payment checkout page, you'll need to call Skilljar's API to get the purchase details using the purchase_id

GET https://api.skilljar.com/v1/purchases/{purchase_id}

This will retrieve the user's information, order quantity, offer details, price, etc. 

 

4. You can then collect and process the payment from your customer, including any billing, shipping, taxes, and other relevant costs. 

 

5. (Optional) You can call Skilljar's API to update the purchase; adding taxes or other checkout transaction details:

PUT https://api.skilljar.com/v1/purchases/{purchase_id}

 

6. Finally, you'll call Skilljar's API to fulfill or cancel the purchase -- this will create the appropriate enrollments, domain access, or generate promo codes (for bulk purchases), etc:

POST https://api.skilljar.com/v1/purchases/{purchase_id}/fulfill

This call returns a "Redirect URL" which is the URL you will use to redirect the user back to after the payment has been processed. This will drop them back to the Skilljar course, bundle, or thank you page -- depending on the purchase details. 

 

If you don't have access to Skilljar's API feature, please contact your Customer Success Manager or Account Manager for more information!

Have more questions? Submit a request

Comments

Powered by Zendesk