Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Setting up a CCBill account

  1. Go to FlexForms Systems → FlexForms Payment Links;

  2. Create a FlexForm with Dynamic Price. (Dynamic Price should be activated by CCBill support);

  3. Configure Approve redirect;

  4. You need to open a FlexForm in a Sandbox, and then click “Promote to Live”

    Approve URL: https://your-domain/payments/ccbillflexform/thankyou.html?result=success

    // Replace your-domain with your actual domain address;

  5. Configure Webhooks here: Account Info → Sub Account Admin → Webhooks;

  6. You need to add two webhooks:

    1. Webhook URL - https://your-domain/api/payment-systems/ccbill-flexform/webhook/sale
      Webhook Format - JSON;
      Event types - CrossSaleSuccess, NewSaleSuccess, UpSaleSuccess;

    2. Webhook URL - https://your-domain/api/payment-systems/ccbill-flexform/webhook/rebill
      Webhook Format - JSON;
      Event types - RenewalSuccess;

      // Replace your-domain with your actual domain address.

Setting up a CCBill account in the website settings:

  1. In the website settings your-domain/admin/settings/payments add a new Payment method CCBillFlexForm;

  2. Fill in:
    a. Account ID;
    b. Sub Account ID;
    c. FlexForm ID;
    d. Salt Key (you can find it in your CCBill settings Account Info → Sub Account Admin → --Advanced → Encryption Key);


  3. Click “Save”;

  4. FlexForm is configured.

Notify ccbill support to enable CORS from your website

Send them your website url and ask to enable CORS requests sent to https://api.ccbill.com/payment-tokens/merchant-only payment url

  • No labels