WooCommerce

 

A Special Note Regarding AVS and CVV Declines

PayJunction allows merchants to override address (AVS) and security code (CVV) mismatches when the bank provides an approval code. Doing so will not update the payment status in WooCommerce. If a transaction is forced to approve from the PayJunction Virtual Terminal, the payment must be manually marked as complete in the order details in WooCommerce.

 

The WooCommerce shopping cart works with PayJunction with the use of a WordPress plugin available on GitHub. 

Supported WooCommerce Features

  • Run refunds directly in WooCommerce
    WC-WP-HP-Refund-SS.png
  • Quickly get to the transaction Details page in PayJunction by clicking the Transaction ID saved in the WooCommerce order details page.
  • Note: The transaction details link will point to payjunction.com or payjunctionlabs.com depending on the current Test Mode setting, not the mode at the time the order was created.

Requirements

  • WordPress version >= 4.9
  • WooCommerce version >= 3.2.5

The plugin has been tested on the versions of WordPress and WooCommerce listed above, and may work on older versions as well. 

Installation & Setup

  1. Download the latest release as a zip file from GitHub: https://github.com/pjsupport/wooCommerce-payjunction-hosted-payments/releases
  2. On a working WordPress site with WooCommerce, log into the administration interface, e.g. https://<your_wordpress_site_domain>/wp-admin
  3. In the WordPress admin, go to Plugins > Add New
  4. Click the Upload Plugin button at the top left of this page
  5. Select the zip file from step 1 and then click Install Now
  6. If the plugin installs without errors, continue by clicking the Activate link
  7. Continue to Testing/Development Settings or Production Settings below for further instructions

Testing/Development Settings

  1. Go to WooCommerce > Settings from the wp admin menu
  2. Select the Checkout tab
  3. Just below the tabs at the top of the page click the PayJunction Hosted Payments link
  4. Make sure the following settings are enabled or filled in:
  • Enable
  • Enable Test Mode
  • Optional Enable Debugging Mode
  • SANDBOX Hosted Payments Shop Name
    • Optional Replace the default shop name with a self-created shop for PayJunctionLabs.com
  • SANDBOX API Login
    • Optional Replace the default login with a self-created API login for PayJunctionLabs.com
  • SANDBOX API Password
    • Optional Replace the default password with a self-created API password for PayJunctionLabs.com

Production Settings

  1. Go to WooCommerce > Settings from the wp admin menu
  2. Click the Checkout tab
  3. Just below the tabs at the top of the page click the PayJunction Hosted Payments link
  4. Make sure the following settings are enabled or filled in:
  • Enable
  • UNCHECK Enable Test Mode if it is currently checked.
  • Optional Enable Debugging Mode. This is only recommended for troubleshooting.\
  • Production Hosted Payments Shop Name
  • Production API LoginProduction API Password

Click Save changes at the bottom of the page if any updates were made after following the steps above.

Settings Details

Enable

Includes the PayJunction module in the list of payment options presented to the customer at checkout.

Enable Test Mode

While enabled, all transactions will be sent to our demonstration site at https://www.payjunctionlabs.com. For instructions on how to log into the site to see your test transactions, please see this guide: PayJunction Demo Account

For security reasons, when testing transactions on payjunctionlabs.com, only the Visa test card information is actually saved. Therefore, whatever the actual card info submitted in the test was, we will always respond and display info as if you had sent the Visa test card information instead.

Enable Debugging Mode 

Enabling this option causes extra information to be logged in a payjunctionDebug.log file in the root directory of the WordPress install.

Production Hosted Payments Shop Name

* Required for Production use 

Please see our guide here for help with obtaining your Shop name or to create a new Shop for WooCommerce.

SANDBOX Hosted Payments Shop Name

* Required for testing on the PayJunctionLabs.com sandbox domain

Sets the Shop Name to use when Test Mode is enabled.

Production API Login

* Required for Production use 

Please see our guide here for instructions on creating or updating your API credentials.

Production API Password

* Required for Production use

Please see our guide here for instructions on creating or updating your API credentials.

SANDBOX API Login

* Required for testing on the PayJunctionLabs.com sandbox domain

SANDBOX API Password

* Required for testing on the PayJunctionLabs.com sandbox domain

PayJunction Description for Hosted Payments

Sets the description for the payment after the user is redirected to the secure checkout page. Use %oi to insert the WC order id.

Payment Option Title

Sets the title of the payment option for the customer on the checkout screen.

Custom Error Message

Sets a custom error message on unrecoverable errors when trying to redirect to the secure checkout or when validating the payment details with PayJunction.

Simple Amounts

In the even that a third-party plugin causes issues with setting the correct amount you can enable this option to only fetch the total amount for the order and not attempt to break down the tax and shipping. 

Hosted Payments Shop Fields

Since WooCommerce collects the billing and shipping information for us we do not need to display these fields on the Hosted Payments checkout screen. To turn these fields off from your PayJunction account, follow these steps:

  1. Go to MoreHosted Payments
  2. Hover your mouse over the "eye" icon to the left of the Shop Name
  3. Click Shop Fields
  4. For each section (Transaction Fields, Billing Contact Fields, and Shipping Contact Fields) use the Hide All link
  5.  Click Save Changes at the bottom of the screen

 

Submit a Request

Submit your support questions here.
We'll be in touch as soon as possible

SUBMIT REQUEST

Got Questions?

We’re here to help. Call us and speak
with a Customer Support Representative.

CALL US

TOLL FREE(800) 601-0230 x3

TOLL(805) 563-1520

BACKUP(805) 426-0404


FAX FREE(800) 771-3821

FAX TOLL(805) 569-3821

Send your Feedback

Let us know how we can improve.
We’re always happy to hear from you!

SEND FEEDBACK