ePayco

ePayco is an online payment provider for Colombia. With it, customers can pay sales orders, invoices, and payment links from the eCommerce website and the customer portal, in Colombian pesos (COP) or US dollars (USD).

Configuration

Install the Payment Provider: Epayco module from the Apps menu. Then follow these steps:

  1. Go to Accounting ‣ Configuration ‣ Payment Providers and open ePayco.

  2. In the Credentials tab, enter P_CUST_ID_CLIENTE, P_KEY, PUBLIC_KEY, and PRIVATE_KEY. You find them in the ePayco dashboard, under Integraciones ‣ Llaves API, in the Llaves secretas section. Only administrators can see these fields.

  3. Choose the type of checkout (Onpage, a window over the page, or Standard, the ePayco page) and the language.

  4. In the ePayco dashboard, go to Integraciones ‣ Personalización and register the URLs: <database URL>/payment/epayco/response as the response URL, and <database URL>/payment/epayco/confirm as the confirmation URL.

  5. Try a payment in test mode. Then switch to the production mode and publish the provider.

How it works

The customer chooses ePayco when paying. When the customer comes back, Nexovate queries the reference in ePayco, and the confirmation sent by the ePayco server updates the transaction (approved, pending, rejected, or cancelled). The sales order or the invoice follows the status of the transaction.

Security

  • The private key is never sent to the browser, and the payment session is created on the server.

  • Only the reference is taken from the confirmation and from the return page. The payment data is queried from ePayco and its signature is verified with P_KEY.

  • In production mode, a test payment leaves the transaction in error.

Note

Before enabling the provider in production, try a payment in the ePayco sandbox. If the query does not return x_signature and x_test_request, the transaction is not confirmed.

See also

Online payments