When you sell through CopeCart, CopeCart reports every purchase, every renewal, every refund and every cancellation to your member area. The buyer gets an account and access to the course or group without you lifting a finger. When the payments stop, access stops too.
Connect
- Open Settings, then Integrations, and click Add Integration.
- Choose CopeCart.
- Enter a Webhook Secret, for example a long random string of characters. You will enter the same secret in CopeCart in a moment.
- Click Connect. The CopeCart setup dialog opens right away.
If you close the dialog before that, the CopeCart row shows Setup required. Clicking the wrench icon in the row opens the dialog again.
Enter the IPN URL in CopeCart
The CopeCart setup dialog shows the Webhook URL at the top.
- Copy the URL.
- In CopeCart, open Settings, then IPN.
- Paste the URL as the notification URL and enter the same webhook secret there.
If the secret in CopeCart differs from the one here, your member area rejects every notification. Buyers then get no access.
Link a product
In the same dialog you decide what a purchase unlocks.
- Enter the CopeCart product ID. You will find it in CopeCart under Products.
- Under Access type, choose Group or Course, and below that the group or course. Only published courses are available.
- Use the switches to decide when access ends again (see below).
- Click Finish setup.
For each switch your member area creates its own automation, for example CopeCart Purchase 2df15941. You will find it under Automations and can adjust it there. To link a second product, open the dialog again.
When access ends
| Switch | What happens |
|---|---|
| Revoke access on refund | If you issue a refund in CopeCart, the buyer loses access. |
| Revoke access on chargeback | If the buyer reclaims the money through their bank, they lose access. |
| Revoke access when a payment is missed | For subscriptions and installment plans, access ends as soon as a due payment is missed. |
If a buyer cancels their subscription, they keep access until the end of the paid period. On the next due date CopeCart reports a missed payment, and only then does access end. If CopeCart later collects a failed charge after all, the buyer gets access back with that payment.
If you set up a product before the third switch existed, open the dialog again, enter the same product ID and finish the setup. Existing automations stay in place and the missing ones are added.
Revenue and affiliate program
Every payment appears as revenue in your member area. If the purchase comes through one of your affiliates, your affiliate program calculates the commission. Test purchases from CopeCart are marked as test revenue. A refund or chargeback marks the original payment as refunded.
When something does not arrive
- The buyer did not get an account. Check that the webhook URL and the secret in CopeCart match this dialog exactly.
- The account exists, but access is missing. Check that the product ID is correct and that the automation under Automations is active.
- A notification arrives several times. CopeCart repeats a notification until your member area confirms it. Each notification still takes effect only once.