WS Gateway for PayPro Global

By wooskins

0+ active installationsVersion 1.0.0

Accept card, PayPal and local payments in WooCommerce through PayPro Global, the merchant of record for software and digital goods.

Description

WS Gateway for PayPro Global connects WooCommerce to PayPro Global, a merchant of record: PayPro Global sells to your customer, charges the right sales tax or VAT, sends the receipt, handles payment disputes and pays you out. You keep selling from your own WooCommerce store.

How it works:

  • The customer fills in the WooCommerce checkout and chooses PayPro Global.
  • WooCommerce creates the order and sends the customer to PayPro Global’s secure hosted checkout, with the order total, currency and a short description of the items.
  • The customer pays with a card, PayPal or a local payment method that PayPro Global offers in their country.
  • PayPro Global sends a signed webhook. The plugin checks the signature and marks the order paid, so WooCommerce sends its emails and grants downloads as usual.
  • The customer returns to the WooCommerce order-received page.

Features:

  • One product in PayPro Global for your whole store. The order is sent as a PayPro Global dynamic product: you do not have to recreate your WooCommerce products in PayPro Global.
  • Tamper-proof links. The price is encrypted (AES-256) with your product’s key, and every link is signed for one order, so a customer cannot change the amount.
  • Verified webhooks. Every webhook is checked against your IPN validation key. Orders are marked paid, on hold, failed, refunded or charged back.
  • Refunds from WooCommerce. With your vendor API key, the Refund button on an order refunds the whole order or part of it in PayPro Global.
  • Test mode with PayPro Global’s test checkout. Test orders are refused while test mode is off.
  • Checkout block and classic checkout, High-Performance Order Storage (HPOS) compatible.
  • Hooks for developers: wsgpp_dynamic_product and wsgpp_checkout_args filters, and the wsgpp_webhook action for every event, including subscription and licence events.

You need a PayPro Global vendor account. PayPro Global charges its own fees; this plugin is free.

This plugin is made by WooSkins and is not affiliated with or endorsed by PayPro Global.

External services

This plugin connects to PayPro Global (payproglobal.com), the payment provider that processes the payment.

  • Checkout: when a customer chooses PayPro Global and places an order, their browser is sent to https://store.payproglobal.com/checkout with the order number, order total, currency, a short list of the ordered items, the store name, the customer’s billing email, first and last name, and the site language. Nothing is sent before the customer places the order.
  • Webhooks: PayPro Global sends payment events to your site. The plugin only receives them.
  • Refunds: only when a store manager refunds an order in WooCommerce and the API keys are filled in, the plugin sends the PayPro Global order ID (or order item ID), the amount and the reason to https://store.payproglobal.com/api/ together with your vendor account ID and API secret key.

PayPro Global terms and conditions and privacy policy.

The plugin does not track usage and sends no data to WooSkins.

Installation

  1. Install and activate WooCommerce, then this plugin (Plugins > Add New, search for “WS Gateway for PayPro Global”).
  2. In the PayPro Global control panel, create a product for your store. In its Pricing configuration, turn on dynamic settings with encryption, and note the product ID, the encryption key (32 characters) and the initialization vector (16 characters).
  3. Go to WooCommerce > Settings > Payments > PayPro Global. Enter the product ID, encryption key, initialization vector and your IPN validation key (Store settings > General settings > Integration).
  4. The settings page shows two URLs. Enter the webhook (IPN) URL in PayPro Global’s webhook settings, with Order charged, Order refunded, Order partially refunded, Order charged back, Order declined and Order on waiting turned on. Enter the thank-you page redirect in your product’s settings.
  5. Optional: enter your vendor account ID and API secret key to refund from WooCommerce.
  6. Turn on test mode, enter your test secret key, and place a test order. Check that the order becomes Processing or Completed. Then turn test mode off.

FAQ

Do I have to create every product in PayPro Global?

No. You create one product with dynamic settings. The plugin sends the order total and a description of the items for each order.

Which currencies are supported?

The order is sent in your WooCommerce store currency. Use a currency your PayPro Global account accepts.

Why is my order still Pending payment?

The order is marked paid when PayPro Global’s webhook arrives. Check that the webhook URL and the IPN validation key are correct, and turn on the debug log (WooCommerce > Status > Logs) to see each webhook. You can resend webhooks in PayPro Global under Reports > Others > IPN.

Does it support subscriptions?

Version 1.0 takes one-time payments for any WooCommerce order. PayPro Global subscription events reach the wsgpp_webhook action, so a developer can handle them.

Can customers change the price in the checkout link?

No. The price is encrypted with your product’s key, and the webhook is only accepted with a signature that matches the order’s total and currency.

Changelog

1.0.0

  • First release: hosted checkout with encrypted dynamic product, signed webhooks, refunds through the API, test mode, Checkout block, HPOS.