這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

PayHub Plugin For WooCommerce

外掛說明

This plugin works specifically with the WooCommerce ecommerce plugin. It allows you to accept credit card payments through WooCommerce, using PayHub as the payment gateway. Please note, a PayHub account is required to process transactions. Contact us using the info below to setup an account.

Configuration

Once the PayHub plugin is installed, in WordPress Admin:

  • Click on WooCommerce Settings, either through the option on the navigation bar on the left, or through the plugin list.
  • For WooCommerce 2.0.x, click on the Payment tab. For WooCommerce 2.1.x, click on the Checkout Tab.
  • Select PayHub as the default payment processor and save the changes.
  • Click on PayHub Settings button.
  • Enter in your PayHub API credentials n the fields provided.

How to find your API credentials

  • Log into the PayHub VirtualHub site (go to http://payhub.com and click on Login in the top left)
  • Once logged in, click on the Admin navigation link at the top right.
  • Under the General heading, click on the 3rd Party API link.
  • Copy down your Username, Password, and Terminal ID. Please note the username and password is case sensitive.

Notes on Security

This plugin requires validation of the host SSL certificate for PayHub servers. This is important as it greatly reduces the chance of a successful “man in the middle” attack.

If you go through the installation and everything works fine, then you don’t have to worry about the rest of this section. If you are experiencing a problem where you receive a blank error when trying to process cards and the transaction never actually processes then read on…

Since our plugin uses cURL (http://curl.haxx.se/) to send transaction requests, you need to make sure that cURL knows where to find the CA certificate with which to validate our API SSL certs. This is generally not a problem with hosted setups, but if you have built out your own server then you may find that this is a problem because newer versions of cURL don’t include a CA bundle by default. In this case, if you are using PHP 5.3.7 or greater you can:

*download http://curl.haxx.se/ca/cacert.pem and save it somewhere on your server.
*update php.ini — add curl.cainfo = “PATH_TO/cacert.pem”

This solutions was shamelessly borrowed from the Stack Overflow post: http://stackoverflow.com/questions/6400300/php-curl-https-causing-exception-ssl-certificate-problem-verify-that-the-ca-cer. Gotta love Stack Overflow ;^).

Alternatively, you can dig into the PayHub plugin itself and add the following key/value pair to the $c_opts array: CURLOPT_CAINFO => “payth/to/ca-bundle.pem”. See http://us2.php.net/manual/en/book.curl.php for more info.

How to get support

If you have any questions you can contact PayHub at:
(415) 306-9476 from 8AM – 5PM PST M-F
or email us at wecare@payhub.com

安裝方式

  • Search for the “WooCommerce PayHub Gateway Plugin” via the WordPress Plugins page.
  • Click on the Install Now option and follow the instructions that are presented to you

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈PayHub Plugin For WooCommerce〉的開發相關工作。

參與者

將〈PayHub Plugin For WooCommerce〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.17

  • Released 03/23/2017
  • Solved problem with transactions greater than $1000 dollars.
  • Solved issue with “Test Connection” function in Admin.

1.0.16

  • Released 02/14/2017
  • Added support for International Credit Cards
  • Solved issue with “Test Connection” function in Admin.

1.0.15

  • Released 12/22/2016
  • Adds a new disable email setting to disable the sending of the customer email by not sending the customer’s email to the PayHub API

1.0.12

  • Released on November 25, 2016
  • Added Refund Method for transactions
  • Improved layout of credit card fields on checkout form.
  • Added new 3rdParty methods for security
  • Other general and minor improvements.

1.0.11

  • Released on February 26, 2015
  • Scrub telephone numbers before sending to PayHub API.
  • Fixed unsupported method issue on WC 2.3.5 that showed up when transactions failed.
  • Improved order note information on transaction failure.
  • Made changes to mitigate “Fatal error: Cannot redeclare supports()” error that was reported. Was not able to recreate this issue locally. Will need help validating this fix from users.
  • Improved layout of credit card fields on checkout form.
  • Other general and minor improvements.

1.0.10

  • Released on February 25, 2014
  • Minor changes for versioning.

1.0.9

  • Released on February 20, 2014
  • Fixed issue on WooCommerce 2.1.x where the results page was not displaying correctly.
  • We now require SSL peer verification when sending a transaction request.
  • Added more helpful information to the read me, such as better configuration instructions and notes on security.

1.0.8

  • Initial Release