PayPhone has a plug in for WordPress platforms through woocommerce which is responsible for requesting payments to customers, process them and deposit the money into the bank account of the establishment in the fastest and safest way.
We recommend that you first learn about the PayPhone payment process. In this article you can check how PayPhone works and make the payment flow clearer.
To implement the plug in you must meet certain requirements which we divide into two categories: Commercial Requirements y Development Requirements.
- The shop that is going to receive the payments has to be registered in PayPhone as an enabled shop. To initiate the registration as a store you can do the following click here.
- With the shop active and ready to transact, you must create a user of the type "developer". At this article we teach you how to create your user.
- To install the plug in you have to configure your platform so that the wordpress page connects correctly to PayPhone. Before you start you must prepare the platform for your application. Go to click here to know how to make the preparation.
- Finally, you must obtain your authentication token, with which you can identify yourself to our services and add the respective security to the process. At this article the way to obtain the token is found.
(If you are a public company please contact firstname.lastname@example.org to certify the process before going into production).
Integration of the plug in:
Perfect, if you already understand how PayPhone works and have all the requirements ready we can start the integration. Go in WordPress to the plug ins section, then to "Add new"and search for the PayPhone plugin.
To set up your button you must provide the token obtained, go into the PayPhone settings in the plugins section and enter the token obtained:
Note: The field StoreID (Store ID) is empty, it is only entered when different shops or branches are managed, if different branches are not used it is left empty.
If you operate branches enter the Sotre ID this is obtained from the PayPhone Developer websitein the company application section, column Actions, List of shops. If you do not manage branches, leave the field empty.
Remember to configure your woocommerce shop so that the charge is according to your billing type, that you have configured the VAT or 0% rate according to the requirements of your company.
Finally, configure the pages to which PayPhone should go when the payment is successful or rejected:
After saving the changes your plugin will be ready to trade.