Thursday, 8 September 2016

Set Up Paypal For Your Opencart Store.

For this tutorial I will be showing you how to set up paypal for your opencart store. For this I will be using my opencart dashboard and my cPanel file manager. First you need to access your opencart dashboard, on the left hand side panel you will need to click on extensions, this will show a drop down menu and you will need to click on payments.


Click on extensions [1] then on payments [2].
Once you are on the payments extensions you will need to scroll down the payments list until you find paypal payments standard. You will need to install this then click on edit (pencil icon).

Paypal Payments Standard.

Once you are in edit you can change the settings according to what you need.


General.
Email - This is your paypal email address.
Sandbox - Use live or testing (sandbox) gateway.
Debug Mode - Logs additional information. 
Transaction Method - Change this to sale.
Total - the minimum amount before the store accepts payment.
Geo-Zone - What zones you will accept orders from.
Status - Ensure this is enabled.

General Settings.

For the order status settings I matched the drop down box to the order status name.

Order Status.

Once you have done this go to your stores cart and there will be a payment option available.


Payment available.
However, I wanted the payment option to say 'Pay by Debit/Credit Card or Paypal'. To change this you need to access your cPanel file manager and find the file pp_standard.php (public_html/catalog/language/english/payment/pp_standard.php, one in this file change $_['text_title']    = 'Paypal'; (line 3) to Pay by Debit/Credit Card or Paypal. The file should now look like this: 

<?php
// Text
$_['text_title'] = 'Pay by Debit/Credit Card or Paypal';
$_['text_testmode'] = 'Warning: The payment gateway is in \'Sandbox Mode\'. Your account will not be charged.';
$_['text_total'] = 'Shipping, Handling, Discounts & Taxes';

Now your payment method will be set up, make sure you test your store.

Final Result.


Sam.




0 comments:

Post a Comment