Help Center
Language
Language
Language
Theme

Braip

Connect Braip to your Cademí: the product or plan code, the unique key that works as the token and the postback with the sale and subscription events.

Connect Braip to your Cademí so each approved purchase gives the student access on its own. You need the product code (or the plan code), the unique key of your Braip account and a postback pointing to Cademí.

1. Create the delivery in Cademí

  1. In the Cademí dashboard, open Sales → Deliveries and add a delivery.
  2. In Select a Gateway, pick Braip.
  3. In Delivery Name, enter a name that helps you recognize it later.
  4. In Sales Mode, choose One-time sale or Subscription, matching the product on Braip.
  5. The Gateway connection section shows the Product or Plan Code and Token fields and the Postback URL.

Keep the delivery open: you come back to it in the next steps.

2. Find the product or plan code

  1. In the Braip dashboard, open Produtos → Meus produtos (Products > My products).
  2. To use the whole product, copy the code shown below the product name in the list.
  3. To use a specific plan, click the product name (or mais informações, more information), open the Planos (Plans) tab and copy the value in the Código (Code) column.
  4. Paste the value into Product or Plan Code in the Cademí delivery.

Product or plan: when the sale carries both, Cademí first looks for a delivery with the plan code and, if there is none, uses the one with the product code. So one delivery per plan gives each plan its own access, and a delivery with the product code covers the plans that have no delivery of their own.

3. Copy the token

If you already registered your Braip token in another delivery, pick it in Use an already registered token and go to step 4.

  1. In the Braip dashboard, open Ferramentas → Postback (Tools > Postback) in the side bar.
  2. Open the Documentação (Documentation) tab.
  3. Copy the value of Chave única (Unique key) and paste it into Token in the Cademí delivery.

4. Set up the postback

If you already set up the Braip postback with the Todos os produtos (All products) option, you can skip this step.

  1. Still under Ferramentas → Postback, click Nova Configuração (New configuration; the + button in the top right corner).
  2. In Produto (Product), choose all of them or only the ones you deliver through Cademí.
  3. In URL de retorno (Return URL), paste the Postback URL of the delivery.
  4. Select the sale events: Pagamento aprovado, Cancelada, Chargeback and Devolvida (approved payment, canceled, chargeback and refunded).
  5. If the product is a subscription, also select the subscription events: Ativa, Atrasada, Cancelada pelo suporte, Cancelada pelo cliente, Cancelada pela plataforma, Inativa and Vencida (active, late, canceled by support, by the customer or by the platform, inactive and expired).
  6. In Método HTTP (HTTP method), choose POST.
  7. Click Salvar (Save) and, in Cademí, save the delivery.

If you chose only some products: each time you start delivering a new product through Cademí, add it to this postback configuration.

On this page