How to make a payment with Paypal¶
Requirements
This tutorial requires the installation of the following applications/modules:
Paypal payment configuration¶
Currently, Paypal payment is very popular in the world, it helps customers pay for online transactions. Viindoo Enterprise Management Software provides an online payment solution to integrate Paypal with the Sales app to make it more convenient for the customers during the payment process.
Enter Apps, type and search the Payment Provider: Paypal using the “paypal” keyword. Select the module and press Activate.
Note
If you are using a currency that is not supported by Paypal, you can install the Paypal - Enhanced Currency Support module to change your currency into a currency that is supported by Paypal before sending the payment data to Paypal.
After installing, start setting up the Paypal configuration. Navigate to Accounting > Configuration > Online Payments > Payment Providers, select PayPal to set up the confirmation information. In this article, we will use a Sandbox Paypal account and install the Paypal - Enhanced Currency Support module to proceed with the payment.
Note
You need to create a seller, buyer account on Paypal before configuring on the Viindoo system.
At the Paypal payment configuration view, select a state:
Disabled: Select if you don’t want to use Paypal for online payment.
Enabled: Activate for using on the real environment.
Test Mode: Test before moving into the real environment.
Warning
If you use Paypal in a test mode and use a Paypal Sandbox account, change the state to Test Mode. You can activate on test data before moving to your real data.
At the Credentials tab, enter the confirmation information:
Email: The seller’s Paypal-registered email address.
Client ID: The client ID of the app that you create for the seller account in the Paypal developer dashboard.
Client Secret: The secret key of that app.
Webhook ID: Allows the system to receive payment notifications from Paypal, so the payment transaction’s status is updated automatically. Click Generate your webhook to create the webhook and fill this field (your Viindoo system must be reachable through a public HTTPS URL).
The system saves the information automatically. If your currency is not supported by Paypal, open the Configuration tab and select the Default Converted Currency: the amount is converted into this currency, with the currency rate of your system, before it is sent to Paypal.
Note
The Viindoo screens in this article are captured with a test payment provider (Demo) in Test Mode next to Paypal, so that an order can be paid without a real Paypal account. The Paypal pages are shown as Paypal displays them.
Pay with Paypal¶
Suppose you are a customer on an E-commerce website using the Paypal payment with the above setting.
When you make an order, go through the Order and Address steps. On the Payment step, select the Paypal payment and press Pay now.
The system will navigate to the Paypal page so you can proceed with the payment. Log in to your Paypal account and proceed with the payment.
If the currency used on the E-commerce page is not supported by Paypal, the system will auto-exchange the payment amount to the default converted currency.
After finishing the Paypal payment, Paypal confirms the payment and the system will navigate you back to the E-commerce site where you made the order.
The E-commerce site then confirms the order and shows that your payment has been processed.
The seller’s system will also record your transaction at Accounting > Configuration > Online Payments > Payment Transactions.
Note
To see this menu, you need to activate the developer mode.
The order is confirmed automatically and becomes a sales order.
Tip
With the above steps, you can also pay with Paypal in case the invoice is sent by the seller.
See also
Related article
Optional module