WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-flatratepay-gateway

FlatRatePay Payment Gateway For WooCommerce WP Registry grade B. Medium-severity findings · 1 findingWP RegistryMedium-severity findings · 1 findingOpen the reportB

A minimal, free payment gateway for WooCommerce

★ 1stars
132release downloads
≈10active sites
v1.2.1latest · 7 years ago

Install

Download woocommerce-flatratepay-gateway.zip From the v1.2.1 release on GitHub, Aug 9, 2019

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/givepay/woocommerce-flatratepay-gateway/releases/download/v1.2.1/woocommerce-flatratepay-gateway.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Description

FlatRatePay™ is a financial services technology company focused on the development and promotion of unique e-Commerce and retail commerce solutions to help merchants and resellers grow through price, technology, and relationships.

Our innovative payment solutions offer merchants a new ways to reduce their payments costs by leveraging technology that promotes business development while simplifying how merchants pay for credit card processing. We offer the latest POS systems and e-Commerce solutions with truly clean processing at a much lower cost than most credit card providers.

GivePay Commerce™ also offers a virtually-free credit card processing solution to help merchants leverage new card rules and unique point of sale solutions by offering a discount for cash.

Installation

  1. Install though the Wordpress Admin or upload plugin.
  2. Activate the plugin
  3. Navigate to WooCommerce > Settings > Payments (tab)
  4. Enable 'FlatRatePay' by changing the slide to 'enabled'
  5. Click 'Set up'
  6. Enter the 'Client ID', 'Secret Key', 'Merchant ID', and 'Terminal ID' from the FlatRatePay Portal
  7. Change 'API Mode' to 'Test/Sandbox Mode'

When you have successfully run a test transaction using on of the provided test card numbers, switch 'API Mode' back to 'Live Mode', and start accepting credit cards!

Frequently Asked Questions

Do I need a FlatRatePay account to use this plugin?

Yes! Simply go to https://portal.flatratepay.com/merchants/new to sign up!

What does this plugin cost?

WooCommerce FlatRatePay Gateway is completely free!

Do I have to be PCI compliant?

A little bit. You will have to be compliant with PCI-DSS SAQ A-EP, which is the level of compliance required for e-commerce merchant which offload all PCI requirements to a third-party.

Changelog

1.0

  • Initial release

1.1

  • Add client-side tokenization: No more SAQ D!

1.2

  • Add support for IE 11

1.2.1

  • Fix queueing location of FRP JS in tokenization

Releases

16 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.2.1 latest
Aug 9, 2019 7 years ago
woocommerce-flatratepay-gateway.zip
10
Jun 28, 2019 7 years ago
woocommerce-flatratepay-gateway.zip
11
Jun 21, 2019 7 years ago
woocommerce-flatratepay-gateway.zip
7
Jun 21, 2019 7 years ago
woocommerce-flatratepay-gateway.zip
7
Jun 19, 2019 7 years ago
woocommerce-flatratepay-gateway.zip
7
Jun 19, 2019 7 years ago
woocommerce-flatratepay-gateway.zip
6
Apr 9, 2019 7 years ago
woocommerce-flatratepay-gateway.zip
7
Jan 30, 2019 7 years ago
woocommerce-flatratepay-gateway.zip
45
Jan 16, 2019 7 years ago
woocommerce-flatratepay-gateway.zip
6
Dec 7, 2018 7 years ago
woocommerce-flatratepay-gateway.zip
7
Aug 6, 2018 8 years ago
woocommerce-flatratepay-gateway.zip
9
Aug 6, 2018 8 years ago
woocommerce-flatratepay-gateway.zip
10
Aug 6, 2018 8 years ago
tag only
—
Aug 3, 2018 8 years ago
tag only
—
Jul 23, 2018 8 years ago
tag only
—
Jul 20, 2018 8 years ago
tag only
—

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.

B grade

Security

FlatRatePay Payment Gateway For WooCommerce 1.2.1 · audited by WP Registry

Medium-severity findings.

1 medium
Audited release
1.2.1
Findings
1
Worst severity
medium
Content hash
08934a410fc9192554fdd734…

Findings

  • medium field_name() override posts full PAN and CVC to WordPress despite client-side tokenization

    insecure_config

    The gateway advertises client-side tokenization (changelog 1.1: 'No more SAQ D'; README: PCI-DSS SAQ A-EP) and supports['tokenization']. WooCommerce's WC_Payment_Gateway_CC::field_name() returns an empty string in that case so the card-number/expiry/cvc inputs have ids but no name attributes and are omitted from the checkout POST. This plugin overrides field_name() to always emit name="givepay_gateway-{field}", while the copied docblock still says 'we don't want the data to post to the server'. form() then calls parent::form(), so process-checkout includes givepay_gateway-card-number (full PAN) and givepay_gateway-card-cvc. get_card_from_request() never reads the PAN field — it uses the JS-injected givepay_gateway-gpg-token and givepay_gateway-card-number-last4 — so the PAN is unused by PHP but still present in $_POST, PHP error/access logs, WAFs that log bodies, and any other plugin that dumps the request. CVC is also posted (needed for Card::withToken on the server); PAN posting is not. Tokenization JS may fail silently (deferred reject with no checkout notice) and the named PAN field still submits. Last upstream tag is v1.2.1 (2019-08-09); there is no Update URI.

    FlatRatePay/FlatRatePayWooCommerceGateway.php:328-340

    Recommendation

    Remove the field_name() override (or return '' for card-number) so the PAN input has no name attribute and never appears in $_POST. Keep a named CVC field only if the processor requires CVC with the token, and never log $_POST or the CVC. Clear named card-number values in JS after tokenization. Rotate any logs that may have captured PANs. Upstream has not shipped a tag since 2019; prefer a maintained gateway if a patch cannot be applied.

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.