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:
Go to and open ePayco.
In the Credentials tab, enter
P_CUST_ID_CLIENTE,P_KEY,PUBLIC_KEY, andPRIVATE_KEY. You find them in the ePayco dashboard, under , in the Llaves secretas section. Only administrators can see these fields.Choose the type of checkout (Onpage, a window over the page, or Standard, the ePayco page) and the language.
In the ePayco dashboard, go to and register the URLs:
<database URL>/payment/epayco/responseas the response URL, and<database URL>/payment/epayco/confirmas the confirmation URL.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