For AI agents: the complete documentation index is available at https://docs.clickmax.io/en/llms.txt, the full documentation bundle is available at https://docs.clickmax.io/en/llms-full.txt, and this page is available as Markdown at https://docs.clickmax.io/en/features/integrations/infinitepay.md.
  • English
  • Integrate InfinitePay

    Turn on Checkout integrado (integrated checkout) in InfinitePay, create an API Key, paste it into Clickmax and click Complete integration. Once the integration is active, you sell through the InfinitePay Checkout block in your Clickmax pages and funnels, and the sales arrive by themselves: each order becomes a sale, creates or updates the buyer's contact (tagged infinitepay) and can fire automations. There is no webhook URL to register in InfinitePay.

    Before you start

    • Workspace role: Owner, Admin, Editor or Collaborator. Finance, Guest and Attendant have no access to Integrations.
    • An InfinitePay account with access to the app or to Conta Web.

    Step by step

    1. In another tab, open the InfinitePay app or Conta Web and go to Configurações do Checkout (Checkout settings).
    2. Turn on Checkout integrado.
    3. Create an API Key. It starts with inchk_ and is shown only once, so copy it right away.
    4. In Clickmax, open Integrations and select the InfinitePay card.
    5. Paste the key into the InfinitePay API Key field and fill in the Integration nickname.
    6. If you want, fill in the InfiniteTag (optional), without the $.
    7. Click Complete integration. Clickmax checks the key with InfinitePay before saving.

    Selling on your pages

    With the API Key pasted, the editor's InfinitePay Checkout block sells on your pages. The buyer fills in their name and email on the page and completes the payment on InfinitePay's payment page:

    • Payment methods: credit card, always on, and Pix, which you can turn off in the block.
    • Minimum amount: InfinitePay only charges from R$ 1.00.
    • One-time products only: the block doesn't sell subscriptions.
    • The payment happens outside the page: the InfinitePay checkout isn't embedded in your page. The buyer goes to InfinitePay and, after paying, comes back to the same page.

    Step by step is in How to sell through InfinitePay on my page and, for funnels, in How to use the InfinitePay checkout as a step in my funnel.

    What arrives in Clickmax

    Sales made through the InfinitePay checkout in your Clickmax pages and funnels, by card or Pix.

    Each event creates or updates the buyer's contact, records an activity in the contact's history and can fire automations. The contact gets origin Integrations, sub-origin Infinitepay and the tag infinitepay. Approved payments mark the contact as a customer. The sales show up in Sales.

    What doesn't arrive

    • Sales made on the card machine, through payment links or other InfinitePay channels. Only sales made through the InfinitePay Checkout block of a Clickmax page or funnel arrive.

    Available triggers

    The triggers are in the InfinitePay group in automations. All of them accept an optional product filter, which matches the product code of the offer sold in the checkout. The filter list includes the products of the InfinitePay Checkout block once the page is published, even before the first sale.

    TriggerWhen it fires
    Order createdAn order is created and awaits payment
    Payment approvedThe payment is approved
    Payment declinedThe payment is declined
    Order canceledAn order is canceled before being paid
    Payment refundedAn approved payment is refunded

    How sales are recorded

    • One sale per order. Each submission of the checkout form creates an order.
    • The same sale follows the payment. A created order comes in as a pending sale and becomes paid once the payment is approved. A refund changes the status of that same sale instead of creating another one.

    Limitations

    • No subscriptions. The block only sells one-time products.
    • Refunds and cancellations only in InfinitePay. Do them in the app or in Conta Web. When InfinitePay sends the refund notice, Clickmax updates the sale. Returning a Pix payment in the app may not send that notice, and in that case the sale stays paid in Clickmax.
    • No test environment. To test, make a real R$ 1.00 purchase and refund it in the InfinitePay app.

    If it didn't work

    • InfinitePay rejected this API Key or InfiniteTag shows up: the key was copied wrong, was deleted in InfinitePay, the integrated checkout is turned off, or the InfiniteTag belongs to another account. Check the InfiniteTag (or leave it blank) and, if needed, create a new API Key and paste it again.
    • InfinitePay is unstable right now. Try again in a few minutes. shows up: InfinitePay didn't respond. Try again in a few minutes.
    • The InfinitePay Checkout block doesn't sell: check that the integration is active with the API Key, and that the product price is at least R$ 1.00. See How to sell through InfinitePay on my page.
    • A sale doesn't show up: check that it was made through the InfinitePay checkout of a Clickmax page or funnel and that the integration is active in Integrations.
    • The automation doesn't fire for a product: check that the product picked in the trigger filter is the same as the offer sold in the checkout.