To correctly configure the PayPal payment system in your shopping cart you are to make appropriate settings for it. First, you are to create a PayPal Account (if you do not have one).
To open a business PayPal account, please do the following steps:
- Go to: Paypal Website
- Click Sign Up Today.
- Set up an account for Business Owners.
- Follow the instructions on the PayPal site.
If you already have a Personal or Premier account:
- Go to: Paypal Website
- Click the Upgrade your Account link.
- Click the Upgrade Now button.
- Choose to upgrade to a Business account and follow instructions to complete the upgrade.
- If you haven't already, add a bank account to become a Verified member. Follow the instructions on the PayPal site. This process may take 2-3 business days.
Activation of PDT
Sometimes, you may need to use PDT for your PayPal gateway. In this case you are to activate PDT and Auto Return in your PayPal account profile. You must also acquire a PDT identity token, which is used in all PDT communication you send to PayPal.
Please, follow these steps to configure your account for PDT:
- Log in to your PayPal account.
- Click the Profile subtab.
- Click Website Payment Preferences in the Seller Preferences column.
- Under Auto Return for Website Payments, click the On radio button.
- For the Return URL, enter the URL on your site that will receive the transaction ID posted by PayPal after a customer payment as 'http://www.your_site_url/order_final.php'.
- Under Payment Data Transfer, click the On radio button.
- Click Save.
- Click Website Payment Preferences in the Seller Preferences column.
- Scroll down to the Payment Data Transfer section of the page to view your PDT identity token.
IPN Notifications
Also, it's recommended to turn on PayPal IPN notifications. For this within your PayPal account please go to 'Profile > Instant Payment Notification Preferences' and turn on this setting and set 'Notification
URL' as 'http://www.your_site_url/payments/paypal_ipn.php'.
ViArt Shop Configuration for PayPal
When your account is created and necessary settings are made, the next step is to make correct configuration settings in your shopping cart. For this go to Administration > Orders > Payment System, select PayPal and click the ‘Edit System’ link. Then, fill the general fields if necessary as described in the Section 4.2.1.1
In the parameters list, please specify your business email address where it says 'your.paypal@email.address' and specify value for 'at' (identity token) parameter from your PayPal settings.
If you don't want to pass data to PayPal in multicurrencies please specify a preferred currency code like 'USD' for the currency_code parameter.
Testing on the Sandbox
Sometimes, you may wish to test the paypal payments before 'going live'. PayPal allows you to do it by using the so called 'Sandbox' enviroment testing without performing real payment transactions. For this an additional Sandbox account should be created. Please, refer to this page and follow the steps described to open a test account: Sandbox Account
Note: For testing with the PayPal SandBox please change a 'sandbox' parameter value to '1'.
|