old_Loopcrypto.xyz
  • Introduction
  • Supported networks and tokens
  • Loop + Frames
  • Learn
    • How Loop works
    • Core components
      • Collecting authorization
        • Enabling payment on multiple networks
        • Accepting ETH and MATIC
      • Sending payment requests
      • Checking a customer's balance & allowance
      • Receipts and reminders
      • Customer portal
    • Loop + your financial stack
      • Linking on-chain transactions with invoices in your ERP system
      • Connecting with accounting software
      • Crypto off-ramp
    • Case studies
  • Dashboard functionality
    • Subscriptions
      • Free trials, discounts and more
      • Auto-invoicing
      • Auto-cancelations
    • One-time payments
    • Scheduling outbound payments
      • Internal notes
    • Editing an upcoming payment
    • Payments for platforms
  • Integrations
    • Stripe + Loop
      • Getting setup
      • Stripe Connect setup
      • Subscriptions
        • Free trials
        • Upgrading a customer or editing a subscription's products
      • Invoicing
      • One-time payments
      • Coupon codes
      • Stripe Connect - Subscriptions
      • FAQs about Stripe integration
    • Chargebee + Loop
      • Getting setup
      • Subscriptions
      • One-time payments
      • Coupon codes
    • Quickbooks + Loop
      • Invoicing
    • Xero + Loop
      • Invoicing
    • Ghost.org + Loop
    • Zapier + Loop
    • Manually add integrations
  • Technical Docs
    • APIs
      • Entity
        • Adding child entities
        • Adding user to child entity
        • Get child entities
      • Items
        • Adding items
          • Item types
          • Categories
        • Retrieving an item
        • Updating an item
        • Deactivating an item
      • Agreements
      • Transfer requests
        • Signing transfer requests
        • Loop CLI
        • Canceling transfer requests
        • Transfer request status
        • Handling unfulfilled transfer requests
        • Validations
      • Webhooks
        • Checking webhook signatures
        • Demo App
        • Slack, Airtable, Discord, Telegram
    • Archeticture
      • Smart contract
        • Deploying your smart contract
          • Modifying smart contract properties
      • Collecting authorization
        • Checkout page
          • Additional functionality
          • Add "pay with crypto" button
        • Checkout widget
          • NPM package readme
        • Checkout parameter examples
      • Providing on-chain payment based access
        • Subscription gated communities
    • Loop SDK
      • Verify Webhook
      • Transfers
      • Error Handling
      • Generating API keys
    • Sample guide: Collect a subscription or one-time payment
    • Integrating the Loop Protocol into your dApp
      • Payroll applications
      • Loan platforms (credit cards, BNPL)
    • Security
      • API Authentication
      • Securing with signatures
      • API Trust assumptions
      • Audits
  • FAQs
  • Company Dashboard
  • Loop Portal
Powered by GitBook
On this page
  • Overview
  • Step 1: Listening to events
  • Step 2: Creating the Loop Transfer
  • Step 3: Listening for the Loop Processed Event
  • Step 4: Updating the Invoice
  1. Integrations

Manually add integrations

Overview

Loop was built to be extremely flexible. Users can leverage our SDK and APIs to integrate with any payment provider that allows for webhook listening and API writing. This setup for manual transaction signing requires additional integration with the Loop API endpoints described below and is a general guide; the exact integration will depend on the provider.

If you have questions or would like help, please reach out to us at support@loopcrypto.xyz

Step 1: Listening to events

This setup assumes the subscription management platform will autogenerate the invoice. You will need to listen to the relevant event notification that will inform you when an invoice is ready for processing. For example, this object is a Stripe Invoice object.

Step 2: Creating the Loop Transfer

Using the invoice that is generated, you then need to convert this invoice into a Loop transfer request for on-chain processing. This requires you to pull in the relevant information from the generated invoice and using it to populate the relevant field for Loop. When sending transfer requests, most companies opt for Loop to sign the requests, but companies can optionally leverage our SDK if they prefer to sign transfer requests themselves.

Step 3: Listening for the Loop Processed Event

Loop will process the transfer on the billDate. When the transfer has been processed, Loop will emit a webhook with the transfer details.

Step 4: Updating the Invoice

After the Transfer has been processed, the Invoice needs to be updated in the external subscription management system. Find the relevant method to update the invoice in the external system's API documentation. This tells the external system that the invoice was paid out of band, resulting in the subscription being active and up-to-date.

PreviousZapier + LoopNextAPIs

Last updated 1 year ago