API – Developers Docs API – Developers Docs
  • Cyberpac
  • Addon Payments
  • POS integrated Payments
  • SpanishSwitch to Spanish
API – Developers Docs API – Developers Docs
API – Developers Docs
  • Cyberpac
  • Addon Payments
  • POS integrated Payments
  • SpanishSwitch to Spanish
Addon Payments
  • Folder icon closed Folder open iconIntegrations
    • Start integrating
      • Welcome for CMS integrations
      • Introduction to integrations: Hosted, Host2Host and JavaScript
    • CMS Plugins
      • Prestashop
        • PrestaShop installation and set-up
        • Common mistakes with PrestaShop installation and set-up
        • Managing transactions with PrestaShop
      • WooCommerce
        • WooCommerce installation and set-up
        • Common mistakes with WooCommerce installation and set-up
        • Managing transactions with WooCommerce
      • Magento
        • Magento installation and set-up
        • Common mistakes with Magento installation and set-up
        • Managing transactions with Magento
      • Salesforce
        • Salesforce Commerce Cloud
    • Cards
      • Hosted Integration
      • Host2Host Integration
      • JavaScript Integration
      • PSD2 and 3DSv2
      • PCI DSS Certification
    • Complement your integration
      • Additional features
      • Managing notifications
      • Complement your JavaScript integration
      • Customizing the payment experience
      • Going Live (Switching to Production)
      • Encryption, signature and sending the request
      • Redirecting customer
    • Payment methods
      • Apple Pay
      • PayByBank
      • Bizum
      • PeX
      • Quix
    • Resources
      • Glossary
      • Payment solutions
      • Response codes
      • State and country codes
      • Currency codes
      • ID document type codes and validations
      • Test cards
    • Tools
      • Postman
      • SDKs
  • Folder icon closed Folder open iconBackOffice Portal
    • Pay by link guide
    • Search operations
    • Creating users
  • Folder icon closed Folder open iconFrequently Asked Questions

Introduction to integrations: Hosted, Host2Host and JavaScript

Introduction

Addon Payments allows you to integrate the payment gateway into your business. This introductory guide provides a basic overview of the following topics: types of integration available, data needed to start integration, where to get the data and the different environments (staging and production).

Checkout types

Addon Payments offers three (3) different types of checkout integration. 

Hosted Integration | Safe

  • Integration by redirection in a few steps
  • Minimises the merchant's PCI, located at the top of the page
  • Customisable, so that the payment process adapts to your eCommerce
Start integrating

Integration Host2Host | Flexible

  • Provides full control over the payment process, PCI required in case of card data processing
  • Allows access to a full set of transaction management applications
  • Suitable for call centre integrations and advanced projects
  • Recommended for alternative payment methods with redirection ready
Start integrating

JavaScript integration | Customizable

  • Recommended for alternative payment methods with redirection
  • Fully customizable, so that the payment process is tailored to your needs
  • Advanced integration options
Start integrating

What do you need to start integration?

Before getting started with any of the integrations, you have to collect some information you will need for the process. In addition to this information, you should also be aware of the difference between the environments. 

The following points of this guide have information on both things.

Data needed for integration (and where to get it)

Before starting any of the three (3) integrations, you need to have the following information to hand:
  • merchantId: It is the ID for your merchant on the Addon Payments platform. 
    • It is a numerical code provided by Support in the welcome email.
    • It has between 4 and 7 digits and is the same for both environments (staging/production).
    • For example: 14983.
  • Encryption password (merchantPass): This is your merchant password. It varies depending on the environment you will send the request to. You can get it in several ways:
    • The password for the staging environment comes in the welcome email. To recover it, see the going live guide. 
    • For the production environment, recover it through the Addon Payments BackOffice Portal. To recover it, see the going live guide. 
    • The password is in PBKDF2 with HmacSHA256 format, where the merchantId is used as the salt and 10,000 iterations are applied. For example:
      • merchantId and Salt: 2150100
      • Raw password: NewPassword123!
      • Iterations: 10,000
      • Result: Odm1hxMXWmkRs9bs3ibrQLs1YUcepvR3JguIzBHt7Sw=
The following is only required for JavaScript integrations:
  • JavaScript password (merchantKey): The JavaScript password is a Universal Unique Identifier (UUID) that authorizes the connection and rendering of the cashier using JS.
    • It must have a valid UUID format. To recover it, see the going live guide. 

Environments: staging and production

Addon Payments offers two (2) separate operating environments:
  • Staging environment:
    • This is the first environment you will use.
    • There is a list of cards to use for testing the system, simulating transactions of various operations, authentication types (frictionless, challenge) and results (authorized, declined).
    • This will allow you to make sure that the different situations are handled properly by your integration.
    • Real cards and accounts don’t work.
  • Production Environment:
    • In this environment, transactions are real.
    • You can only use real, operational cards and accounts.

        Integrations

        Below is a brief description of the basic functioning of the integrations.

        Hosted

        Hosted integration consists in redirecting customers to a payment form (cashier) hosted by Addon Payments. Customers reach that form from your website by their browser being redirected or through an iframe. Since your business doesn’t have access to customer details, you can accept payment without PCI DSS certification.

        When the transaction is complete in any of the statuses (authorized, declined, cancelled, etc.):

        • Your platform receives a notification with the result of the transaction.
        • The customer is redirected to the corresponding URL for each transaction result (authorized, declined, cancelled).

        You can change the functions and appearance of the payment form (cashier) either in your merchant settings or by sending certain parameters in the payment request.

        Host2Host (H2H)

        H2H integration consists in sending requests directly from your ecommerce platform to the endpoint provided by Addon Payments (AP). The process is as follows:

        1. Your ecommerce platform generates a request containing the data needed for the operation (card payment, APM payment, secondary operation, etc.).
          • Card payments require the customer’s card details or a token generated previously.
          • To capture, store or send card data, you merchant must have valid PCI DSS certification.

        2. Your platform sends the request to the Apendpointendpoint , which returns a response such as:

          • Redirect required:
            • The payment solution responds by requiring the customer be redirected to a URL, where they will follow the instructions given (authentication, login, operation approval, etc.).
            • If the customer completes the process, your ecommerce platform will receive a “Result” notification to the notification URL from the request in point 1.
          • Result:
            • The payment solution has authorized or declined the transaction and the final transaction status is given.

        3. Your ecommerce platform manages the response received from AP with the transaction result and updates the payment status for the order.

        JavaScript (JS)

        JavaScript integration consists in rendering the AP cashier on your ecommerce platform using JS. This rendering is done with an <div> HTML element.

        Integration into your ecommerce platform is very high. Plus, your merchant doesn’t require PCI DSS certification, as you won’t have access to the customers’ data. 

        Note: It requires an underlying H2H integration to process transactions.

        Comparte este documento

        Introduction to integrations: Hosted, Host2Host and JavaScript

        Copiar el enlace

        Clipboard Icon
        Tabla de Contenidos

        Products

        • Cyberpac
        • Addon Payments
        • POS integrated Payments
        • Universal Pay

        Sales

        Tell us about your business so we can offer you the best solution.

        Contact an expert
        Contact an expert
        Contact an expert
        Contact an expert
        Contact an expert

        Technical Support

        Already a client and need help? Contact us, we’re here for you.

        Help

        Partners

        We work with the best partners for in-store and ecommerce solutions. Want to join us?

        Join us

        © Comercia Global Payments

        Privacy policy
        Exercising rights
        Client information
        Whistleblowing channel
        Legal disclaimer
        Cookies policy
        Ask AI
        Write your question. For example: How do I create a payment link?
        SmartWiki may skip data. Verify the information or contact support.

        SmartWiki, Powered by AI

        API - Developers Docs
        Manage cookie consent

        To offer the best experiences, we use technologies such as cookies to store and/or access device information. Consent to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Failure to consent, or withdrawal of consent, may adversely affect certain features and functions.

        Functional Always active
        Storage or technical access is strictly necessary for the legitimate purpose of allowing the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
        Preferences
        Technical storage or access is necessary for the legitimate purpose of storing preferences not requested by the subscriber or user.
        Statistics
        El almacenamiento o acceso técnico que es utilizado exclusivamente con fines estadísticos. Storage or technical access that is used exclusively for anonymous statistical purposes. Without a requirement, voluntary compliance by your Internet service provider, or additional records from a third party, information stored or retrieved solely for this purpose cannot be used to identify you.
        Marketing
        Storage or technical access is necessary to create user profiles to send advertising, or to track the user on a website or several websites for similar marketing purposes.
        Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
        See preferences
        {title} {title} {title}

        Consulta la documentación de las distintas secciones de integraciones:

        Comienza a integrar

        undraw_add_to_cart_re_wrdo 1 (1) (1)

        Plugins para CMS

        Complementa la integración

        SDKs

        Métodos de pago

        Herramientas

        Addon Payments

        Consulta la documentación de Addon Payments. Aquí tienes las distintas secciones:

        Integraciones

        Consultas frecuentes

        Portal Backoffice

        Cyberpac

        We are currently working on the English version of the Cyberpac documentation. You can view the Spanish version using the buttons below:

        Canales BackOffice Portal

        Plugins integration

        Custom integrations

        POS integrated Payments

        Create a solution that will help you automate processes. You can even add payment processes on physical terminals.

        Payment Integrated with Android POS

        Payment Integrated with Smartphone POS

        POS Data sheets

        Addon Payments

        Comercia Global Payments has several integration options so you can choose the most efficient one for you.

        Integrations

        Frequently Asked Questions

        BackOffice Portal

        Consult the documentation of the different integrations sections:​

        Start integration

        undraw_add_to_cart_re_wrdo 1 (1) (1)

        CMS Plugins

        Complement your integration

        SDKs

        Payment Methods

        Tools