• Documentation
  • API Reference
  • Documentation
  • API Reference
Expand All Collapse All
  • Payment Overview
    • Introduction
    • Choosing an Integration Method
  • Accept Payment
    • Payment Page
      • Quick Start
      • Input Parameters
      • Output Parameters
    • Web SDK
      • Quick Start
      • Nuvei Fields
        • Styling
      • Additional Functions
      • APM Payments
      • Tokenization-Only Flow
      • Scenarios
      • Using ReactJS
        • Full Samples
        • Sandbox Examples
      • FAQs
    • Checkout
      • Quick Start
        • UI Customization
        • Payment Customization
        • Advanced Controls
        • Checkout Examples
      • Server-to-Server
      • Payment Scenarios
      • Mobile SDKs (Beta Release)
        • Android Mobile SDK (Beta Release)
        • iOS Mobile SDK (Beta Release)
      • Flow Diagrams
      • Plugins
        • Magento
          • Rebilling with Magento
        • WooCommerce
          • Rebilling with WooCommerce
        • PrestaShop
          • PrestaShop with Web SDK
          • PrestaShop with Checkout
        • OpenCart
        • Shopify (via AsiaBill)
        • Mirakl
        • Salesforce
        • SAP
        • WIX
      • Marketplaces
    • Features
      • Authentication
      • Financial Operations
        • Refund
        • Void
        • Auth and Settle
        • Partial Approval
        • Currency Conversion (DCC and MCP)
        • Payout
      • Card Operations
        • Card-on-File
        • PCI and Tokenization
        • Zero-Authorization
        • Merchant-Initiated Transactions (MIT)
        • Blocking Cards
      • Subscription (Rebilling)
      • 3D-Secure
        • 3D-Secure Explained
        • 3DS Implementations
          • 3DS MPI-Only Web SDK
          • 3DS MPI-Only REST
          • 3DS External MPI
          • 3DS Responses
        • 3DS Functions
          • 3D-Secure Fingerprinting
          • 3D-Secure Authentication Challenge
      • Webhooks (DMNs)
        • Payment Transaction Requests
        • Control Panel Events API
    • Guides
      • Testing Cards, APIs and APMs
        • Testing Cards
        • Testing APIs with Postman
        • Testing APMs
      • Response Handling
      • Alternative Payment Guides (APMs)
      • Airline Ticket Guides
        • Airline Addendum
        • External Authorization Addendum
      • Payment Facilitators (PayFac)
      • Cashier
        • Cashier Events Guide
        • Cashier Features
      • Withdrawal Guide
      • Risk Guide
        • Nuvei Services
        • Transaction Types
        • Credits and Payouts
        • Fraud to Sale Programs
        • Compliance Programs
        • Chargebacks
      • eKYC Guide
      • Server SDKs
        • Java SDK
        • .NET SDK
        • PHP SDK
        • Node.JS SDK
      • Fast Track Onboarding Developer Guide
      • Currency Conversion Guides
        • Multiple Currency Pricing (MCP)
        • Dynamic Currency Conversion (DCC)
          • DCC in Cashier or Payment Page
          • DCC in REST API Workflows
          • DCC in Web SDK Workflows
      • Website Compliance Guides
    • Additional Links
      • FAQs
      • API Reference
      • Release Notes
      • Country and Currency Codes

    Rebilling with Magento

    On this page:
    • Setting Up a Plan
      • Rebilling via Predefined Plans from the Control Panel
      • Rebilling with a Default Plan and Dynamic Details
    • Creating Products with Plans
      • Using Simple Products
      • Using Configurable Products

    The Nuvei plugin for Magento 2 supports Rebilling via a credit card.

    Setting Up a Plan

    The merchant can use two approaches to apply rebilling plan on its products.

    Rebilling via Predefined Plans from the Control Panel

    If you use this approach, the merchant must log in to the Control Panel and create a plan for each product with rebilling.

    1. Go to Operations > Recurring > Plans menu.
    2. Click New Plan and enter the plan details and click Save.
      Graphical user interface, application Description automatically generated
    3. To access the plans in the plugin, go to the end of Nuvei plugin settings and click Collect Plans to download the plans information.

      Only Active plans are downloaded.



      If some of the plans were removed from the Control Panel, they are removed from plugin collection too.

      The initial amount value of the plan is replaced in the plugin with the price of the product.

    Rebilling with a Default Plan and Dynamic Details

    For this approach, the merchant does not need to do anything in the Control Panel.

    1. Instead, the merchant only needs to open their product details, go to the end, and expand Nuvei Subscription group:
    2. If the merchant does not yet have active plans, a default one is generated.
      The name pattern is: Default_plan_for_site_merchantSiteId.
      If there are other plans, they are listed in the select menu. You can select any of the plans and its data is populated in the below settings, which can then be modified.
      Do not forget to set Enable Subscription option to Yes!

      The settings here are almost same as in the Control Panel. Here the Initial amount is missing because the Product price is used.
    3. After you set all data, save the product and it includes a Nuvei Subscription Plan.

    Creating Products with Plans

    If you want a single product with a plan, you can follow the approach above but if you want a product with different plans there are a few options.

    Using Simple Products

    • Using simple products is good if you have only a few options for the plans and don’t mind seeing those options as different products in the store.
      • In the admin, your products appear as follows:
      • In the store, they appear as separate products with different names:
    • Each product may have different price, name, SKU, and subscription details.
      The client can select them using the Add to Cart button.
    • For a better user experience, add a description of the Plan in the Content area.
    • The Plan details in the store:

    Using Configurable Products

    To have configurable products by Subscription Plans, you must create a product attribute:

    1. There are two options:
      1. On the Stores > Attributes > Products page, click the Add New Attribute button.
      2. You can also create it from the Products page by clicking the Create Configurations button in the Configuration group.
        In the Create Product Configurations pop-up, click the Create New Attribute button.
    2. In both cases you can choose “Dropdown” – for select menu in the Store or Text Swatch – for a menu with buttons.
    3. You can add some options from Manage Options, then in Advanced Attribute Properties group, set Scope to “Global”.

    You can now continue with the configurable product.

    1. Select the desired attribute and follow the steps.
    2. Select attribute values.
    3. At the end of the process, you see a few new products:
    4. Save the main product so the selected attributes can be added to the child products.
    5. Go back to the Products list and search for the new product.
      You see the main and the child products:
    6. Open the new products one by one and set the desired Nuvei Subscription settings according to the new added attribute (Nuvei Subscription Options in this case).
    7. Now you can go to the Store and search for your new product:
    8. When you try to add the product to the Cart or click on it, you are sent to the Product page to select a Nuvei Subscription Option:
    9. In our case, Plan 1 has no Subscription Plan.
      If you choose Plan 2, a small table with Subscription details is displayed:
    10. After selecting the options, you can add the product to the Cart.

      The client cannot combine a product with a Plan with other products.

      The Subscription is activated after the Settle operation in the “Auth” payment flow or immediately in the “Auth&Capture” payment flow.

    11. If the client has an account in the store, they can get a list of the orders with subscriptions from the My Account > Nuvei Subscriptions menu.
    2022 Nuvei. All rights reserved.