Wexlyn
Back to the docs

Payments and checkout

Connecting CopeCart

Sales, rebills, refunds, chargebacks. Where the credentials live, the connect steps, what becomes what in Wexlyn and how to check it.

CopeCart is listed under Settings → Integrations → CopeCart in Wexlyn. Sales, rebills, refunds, chargebacks.

What Wexlyn reads

  • Payments, trial charges and recurring payments as sales
  • Refunds and chargebacks
  • Buyer email, phone and name

Before you start, in CopeCart

  1. In CopeCart open Settings → IPN. Each product (or the account-wide setting) takes an IPN URL and a secret key.

Connect in Wexlyn

  1. Open Settings → Integrations → CopeCart.
  2. Enter IPN secret key. Press Connect. Wexlyn checks the credentials before saving them, encrypted.

In CopeCart, after connecting

  • Paste the URL from the connection card as the IPN URL on each product you want tracked, and set the same secret key.

Events Wexlyn listens for: payment.made, payment.trial, payment.refunded, payment.charged_back.

What becomes what

  • payment.made, payment.trial and recurring payments become sales for the transaction amount and currency, one per transaction id, so rebills never double up.
  • payment.refunded and payment.charged_back mark the sale refunded.
  • CopeCart's test payments are flagged as test sales and kept out of reports.

Check it works

CopeCart offers a test order on every product. It appears under Recent deliveries marked as a test.

If something is off

The integration page keeps the last deliveries it received with the event, whether it was processed or ignored, and the reason in plain words (no email or phone on the record, not a sale event, a signature that did not match). Failed deliveries can be replayed after the cause is fixed.

  • Nothing arrives: the URL or credentials in CopeCart differ from the connection card, or the events are not enabled on that side. For connections Wexlyn registers itself, the card says if CopeCart refused.
  • People without a source: the person never visited a page with the Universal Script. Their later visits and purchases are attributed once a tracked visit matches their email or phone.
  • Stages do not move: a tag, status or pipeline stage only moves a person when a rule under Settings → Lead stages names it (or, for GoHighLevel and HubSpot, a rule on the connection's own page).