COPYandPAY Integration Guide

COPYandPAY is a SAQ-A compliant payment-form solution, making it both secure and simple-to-integrate.

There are just three simple steps required to integrate :

Prepare the checkout

Send the request parameters server-to-server to prepare the payment form.

Create the payment form

Display the payment form on your checkout page and the shopper submits the payment information.

Get the payment status

Find out if the payment was successful.

1. Prepare the checkout

Access Header
Payload
For a full list of parameters that can be sent in the prepare checkout request, please see the API Reference

2. Create the payment form

To create the payment form you just need to add the following lines of HTML/JavaScript to your page and populating the following variables id. The checkout’s id that you got in the response from step 1
<script src="https://sandbox.api.comodigital.life/payments/v1/paymentWidgets.js?checkoutId={checkoutId}"></script>
  • The shopperResultUrl, which is the page on your site where the customer should be redirected to after the payment is processed and the brands that will be available.
<form action= "{shopperResultUrl}" class="paymentWidgets" data-brands="VISA MASTER AMEX"></form>
View the customization guide for more information on customizing the payment form.
Brand Async / sync workflow
Card Account Brands
AFFIRM async
AIRPLUS sync
ALIA sync
ALIADEBIT sync
AMEX sync
APPLEPAY sync
ARGENCARD sync
BCMC async
CABAL sync
CABALDEBIT sync
CARNET sync
CARTEBANCAIRE sync
CARTEBLEUE sync
CENCOSUD sync
DANKORT sync
DINERS sync
DISCOVER sync
ELO sync
FACILYPAY_3X async
FACILYPAY_3XSANSFRAIS async
FACILYPAY_4X async
FACILYPAY_4XSANSFRAIS async
GOOGLEPAY sync
HIPERCARD sync
JCB sync
MADA sync
MAESTRO sync
MASTER sync
MASTERDEBIT sync
MC_CLICK_TO_PAY sync
MEEZA async
MERCADOLIVRE sync
NARANJA sync
NATIVA sync
SERVIRED sync
SISTEMACLAVE async
TARJETASHOPPING sync
TCARD sync
TCARDDEBIT sync
UNIONPAY sync
UNIONPAY_SMS async
VISA sync
VISADEBIT sync
VISAELECTRON sync
VPAY sync
Virtual Account Brands
AFTERPAY sync
AFTERPAY_PACIFIC async
ALIPAY async
APOSTAR async
ASTROPAY_STREAMLINE_CASH async
ASTROPAY_STREAMLINE_OT async
BALOTO async
BANCOLOMBIA async
BANCONTACT_LINK async
BANCONTACT_QR async
BBVA_CONTINENTAL async
BCP async
BEVALIDA async
BOTON_PSE async
CAJA_AREQUIPA async
CAJA_CUSCO async
CAJA_HUANCAYO async
CAJA_ICA async
CAJA_PIURA async
CAJA_TACNA async
CAJA_TRUJILLO async
CASHU async
CHINAUNIONPAY async
CREDIT_CLICK async
DAOPAY async
DIMONEX async
EFECTY async
ENTERPAY async
GANA async
IKANOOI_SE async
INICIS async
INTERBANK async
KLARNA_PAYMENTS_BILLPAY async
KLARNA_PAYMENTS_PAYLATER async
KLARNA_PAYMENTS_PAYNOW async
KLARNA_PAYMENTS_SLICEIT async
MASTERPASS async
MBWAY async
MEEZA_LINK async
MEEZA_QR async
MONEYBOOKERS async
MONEYSAFE async
MSTART async
NEQUI async
ONECARD async
PAGOSNET async
PAGO_EFECTIVO async
PAGO_FACIL async
PAYBOX async
PAYDIREKT async
PAYNET async
PAYOLUTION_ELV async
PAYOLUTION_INS async
PAYOLUTION_INVOICE async
PAYPAL async
PAYPAL_CONTINUE async
PAYSAFECARD async
PAYTRAIL async
PF_KARTE_DIRECT async
PIX async
PRZELEWY async
PUNTO_RED async
QIWI async
RAPI_PAGO async
RATENKAUF async
RED_SERVI async
SADAD_VA async
SCOTIABANK async
SENCILLITO async
SHETAB async
SIBS_MULTIBANCO sync
SOFINCO async
SOFINCOSANSFRAIS async
STC_PAY async
SU_RED async
SU_SUERTE async
TABBY async
TAMARA async
TENPAY async
TRUSTLY async
WECHAT_PAY async
WESTERN_UNION async
YANDEX async
YANDEX_CHECKOUT async
Bank Account Brands
BITCOIN async
BOLETO sync
DIRECTDEBIT_SEPA sync
ENTERCASH async
EPS async
GIROPAY async
IDEAL async
INTERAC_ONLINE async
OXXO async
POLI async
PREPAYMENT async
SADAD async
SEPA sync
SOFORTUEBERWEISUNG async
TRUSTPAY_VA async

3. Get the payment status

Once the payment has been processed, the customer is redirected to your shopperResultUrl along with a GET parameter resourcePath. Important: The baseUrl must end in a “/”, e.g. “https://test.como.world/”. Then, to get the status of the payment, you should make a GET request to the baseUrl + resourcePath, including your authentication parameters. Example of a resourcePath:
resourcePath=/v1/checkouts/{checkoutId}/payment
Access Header
Payload