How to sell through InfinitePay on my page
Add the InfinitePay Checkout block to the page in the editor, then pick the InfinitePay account and what will be sold. On the published page, the buyer fills in their name and email, clicks the button and goes to InfinitePay's payment page, where they pay by card or Pix. After paying, they come back to the same page. The sale arrives through your InfinitePay integration, linked to the page.
The block sells one-time products, from R$ 1.00. Subscriptions are not sold through the block.
Before you start
- You need edit access to the page.
- The workspace needs an active InfinitePay integration, with the API Key. To create it, follow Integrate InfinitePay.
- InfinitePay has no test environment. To check a purchase end to end, pay a real R$ 1.00 and refund it in the InfinitePay app or in Conta Web.
Step by step
-
Open the page in the editor, open the list of elements to add and, under Checkout, drag the InfinitePay Checkout block onto the page.
-
Click the block to open its panel on the right. The panel has the steps Account, What to sell and Payment; each number turns into a check mark once the step is done.
-
In Account, pick the InfinitePay account. With a single connected account, it's already picked. With no account, Connect your InfinitePay account shows up: click Connect InfinitePay, create the integration and come back to click Refresh. If the integration is turned off, This InfinitePay account is turned off shows up: turn it back on in Integrations or pick another account. If the integration is missing information, This integration is missing information says what's missing.
-
In What to sell, open the Product field (Choose a product) and pick a product from the list. Type in Search by name or code to filter. If the product doesn't exist yet, click Create product and fill in:
- Name;
- Price, greater than zero;
- Code (SKU): suggested from the name, it identifies the product in sales. Use only letters, numbers, dot, hyphen or underscore. A code that already exists is refused (That code already exists. Pick the product from the list or use another code.): pick the existing product from the list or use another code.
Click Create product to save. The product is picked in the block. After picking, Name and Price stay editable. The amount the checkout charges is the block's and can differ from the product's registered price. If the price is below R$ 1.00, InfinitePay only charges from R$ 1.00. Raise the product price so the checkout can sell. shows up. Below, the Summary shows the name and the price.
-
To offer order bumps, click Add order bump, pick or create the product the same way, check name and price, and click Add. You can add up to 5 items, which the buyer adds before going to payment. The same code can't be used twice in the block (This code is already used in this checkout.). To remove one, click the X next to it.
-
In Payment:
- Credit card is Always on;
- Pix: on by default. Turn it off to accept card only;
- Ask for mobile number: shows the mobile field in the form. The buyer can leave it blank.
-
If you want, open Appearance and adjust:
- Accent color: the color of the button, added order bumps and focused fields;
- Button text color: with Automatic, the text is white or black, whichever is easier to read on the accent color. You can also pick White or Black. If the text is hard to read, a warning shows up;
- Font: the default is Inter. With Page font, the checkout uses the page's font;
- Button text: the default is Buy now.
-
Publish the page. The page charges what was set up at the last publish. On publish, the block's products (the main one and the order bumps) start showing in the product filter of the InfinitePay automation triggers.
In the editor, the block shows a preview of the checkout. You can't pay in the preview.
What the buyer sees
On the page, the block shows the checkout in two columns. On mobile, the summary becomes an Order summary bar at the top that opens on tap.
- In the summary: the product with its price, the order bumps, each with an Add button, and the Total due.
- In the form, under Your details: Full name, Email and Mobile with area code (optional), the last one only if Ask for mobile number is on. Below it, the checkout button.
When the buyer clicks the button, Redirecting… shows up and InfinitePay's payment page opens in the full window. There the buyer picks card or Pix and pays. The payment link is valid for 24 hours and accepts a single payment; after that, the buyer fills in the form again.
After paying, InfinitePay takes the buyer back to the same page:
- Payment approved: the page shows Payment approved and We sent your purchase details to your email. On a funnel step, the Purchase Approved trigger fires and the funnel moves on.
- Payment not confirmed yet: the page shows Payment processing and says the buyer gets the details by email once InfinitePay confirms it.
The page pixel receives the approved purchase with the total amount paid and the currency.
Where the sale shows up
Every purchase made through the block arrives through your InfinitePay integration, shows up in Sales and in the contact's history, and creates or updates the contact by the buyer's email. The sale is linked to the page where the buyer filled in the form and fires the InfinitePay automation triggers. The sale counts as revenue when InfinitePay reports the payment, not based on what the buyer sees in the browser. You don't need to register any webhook in InfinitePay.
When the page is a funnel step, these sales count in Revenue and Purchases in the funnel's Analytics Mode. See Which sales count in the funnel revenue.
Refunds and cancellations are done in the InfinitePay 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.
If it didn't work
- The checkout doesn't show on the published page: the InfinitePay integration picked in the block must belong to your workspace, be active and have the API Key, and the product must cost at least R$ 1.00. Complete the block and publish the page again.
- I duplicated the page, or it came from a template or a shared funnel: if the block's InfinitePay account belongs to another workspace, the editor clears the block's account and the published page doesn't show the checkout. Pick your InfinitePay account and publish again.
- The buyer sees Check your details and try again.: some form data was refused. The buyer checks name, email and mobile and tries again.
- The buyer sees Payment is unavailable right now. Please try again shortly.: InfinitePay didn't respond. The buyer tries again shortly.
- The buyer paid and the sale didn't show up: check that the integration is active in Integrations and that the page was published after you added the block.
- The buyer paid and the funnel didn't move on: the funnel moves on when the buyer comes back from InfinitePay to the page. If they closed the tab before coming back, the sale still arrives, but the funnel doesn't move on. Use the InfinitePay automation triggers to react to the payment.
- I changed the price and the buyer still saw the old one: the change applies after you publish the page again.