{"id":3130,"date":"2021-03-05T21:22:48","date_gmt":"2021-03-05T21:22:48","guid":{"rendered":"https:\/\/documents.openpay.mx\/?p=3130"},"modified":"2024-04-18T22:04:56","modified_gmt":"2024-04-18T22:04:56","slug":"card-charge","status":"publish","type":"post","link":"https:\/\/documents-mx-dev.opdevhm.com\/en\/docs\/card-charge.html","title":{"rendered":"Card Charges"},"content":{"rendered":"
Everyone likes to receive payments, this is why we start with a tutorial to see how to do it.<\/p>
This tutorial uses the Openpay.js<\/a>, library to send the card information directly to Openpay. Using this library, besides being the easiest way to save a card, it minimizes the scope of a PCI Compliance certification.<\/p> Steps:<\/p> We need to create a form to get the card information, saying the cards supported and the charge will be through Openpay.<\/p> Code of the form.<\/p>To make a charge to a card we will do the following:<\/h3>
<\/center>
Creating Forms<\/h2>
<\/p>