=== Bob Pay ===
Contributors: bobgroup, ruaan
Tags: payment gateway, woocommerce, south africa, ecommerce, secure transactions
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.0
Stable tag: 2.1.131
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A WooCommerce plugin that enables you to use Bob Pay as a payment method.

== Description ==

#__Bob Pay: Secure, Simple, and Cost-Effective Online Payments__
Bob Pay, the payment gateway from Bob Group, offers South African merchants a secure, cost-effective way to accept online payments. With no startup or payout fees, only a minimal transaction fee applies. Key features include PCI DSS compliance, SSL encryption, redundancy for high availability, scalability for high transaction volumes, and proactive monitoring. Bob Pay is an ideal solution for ecommerce businesses, offering stability, security, and custom API integrations.

- State-of-the-art encryption and protocols safeguard every transaction.
- Meets strict global standards to ensure your payments are secure.
- Protects data transmission with secure, encrypted connections.
- Built-in redundancy and failover ensure minimal downtime.
- Handles high transaction volumes with ease, growing with your business.

Supported banks currently include: FNB, Nedbank, Absa, Standard Bank, Capitec, Investec, Discovery Bank, TymeBank and Bank Zero.

#__Transaction fees:__
Please see our [Bob Pay pricing page](https://www.bobpay.co.za/pricing/) for the latest rates.

Receive discounted pricing if you process more than R500,000 per month, or if you’re a Bob Go merchant*.
* Must have a paid [Bob Go](https://www.bobgo.co.za/) subscription.

== Screenshots ==

1. Image of the payment methods
2. Image of the Bob Pay Manual EFT payment method
3. Image of the Bob Pay PayShap payment method
4. Image of the merchant dashboard
5. Image of the merchant dashboard showing breakdown of payment methods
6. Image of the Bob Pay transactions page
7. Image of the Bob Pay account settings
8. Image of the Bob Pay payout requests
9. Image of the plugin settings page showing payment methods
10. Image of the plugin settings page showing payment methods

== Installation ==

1. Register your Bob Pay account and complete the merchant onboarding process to receive online payments.
2. Wait for approval before proceeding to the next steps.
3. Once approved, download the Bob Pay plugin.
4. Install and activate the plugin through your WordPress dashboard.
5. Go to WooCommerce > Settings > Payments in your WordPress dashboard.
6. Enable the Bob Pay payment methods you want to offer your customers at checkout and fill in the required details as prompted.
7. Ensure that the “Enable Bob Pay” option is checked.
8. Make sure “Enable development mode” is unchecked.
9. Your setup is now complete, and you’re ready to start receiving payments with Bob Pay.

== External services ==

This plugin connects to the Bob Pay payment gateway API to process online payments. Bob Pay is a South African payment processor provided by Bob Group (Pty) Ltd.

= What data is sent and when =

When a customer selects a Bob Pay payment method at checkout, the plugin sends order details (order amount, currency, order reference, return URLs) to the Bob Pay API to create a payment intent. The customer is then redirected to Bob Pay to complete payment.

When Bob Pay processes the payment, it sends a webhook notification back to your site to confirm the payment status. The plugin then validates the payment by communicating with the Bob Pay API.

If refunds are initiated from the WooCommerce admin, the plugin sends the refund amount and order reference to the Bob Pay API.

The plugin communicates with the following Bob Pay API endpoints:

* Production: `https://api.bobpay.co.za`
* Sandbox: `https://api.sandbox.bobpay.co.za`

This service is provided by Bob Group (Pty) Ltd.

* [Terms and Conditions](https://www.bobpay.co.za/terms-conditions)
* [Privacy Policy](https://www.bob.co.za/privacy-policy)

== Development ==

The compressed JavaScript file `build/js/frontend/index.js` is built from the source file `resources/js/frontend/index.js` included in this plugin.

To build from source:

1. Install dependencies: `npm install`
2. Build: `npm run build`

This uses `@wordpress/scripts` (wp-scripts) with a custom webpack configuration (`webpack.config.js`).

== Changelog ==

= 2.1.131 =
* Add Google Pay payment method
* Add Apple Pay payment method
* Enable Scan to Pay refunds via customer account balance
* Mask API key and mark account code and password as deprecated
* Update Manual EFT and Instant EFT payment icons
* Fix PHP 8.1+ deprecation warning in gateway constructors
* Fix API endpoint selection when development mode and API key are saved together
* Fix Capitec Pay refunds failing with "Error processing refund request"
* Fix intent link to only fall back to long URL on 401 unauthorized errors

= 2.1.100 =
* Fix output escaping for WordPress plugin review compliance
* Add proper prefix to all global function names
* Add ABSPATH checks to all PHP files
* Sanitize and escape all user-facing output
* Add external services disclosure to readme

= 2.1.91 =
* Bug fixes

= 2.1.84 =
* Customizable payment method settings
* Option for single payment method on checkout
* Use payment intent links to make a payment
* API key integration
* Update Bob Pay payment logos
* Bug fixes

= 2.1.51
* Added payment icons support for non block checkout

= 2.1.49 =
* Bug fixes

= 2.1.31 =
* Add download logs functionality
* Version update

= 2.1.1 =
* Add payment refunds.
* Centralize payment method settings.
* Update bank logos.

= 2.0.8 =
* Version update

= 2.0.0 =
* Version update

= 1.1.1 =
* Add PayShap as payment method.
* Remove Bob Pay logo from payment methods for a cleaner look.

= 1.0.19 =
* Bug fix

= 1.0.18 =
* Bug fix

= 1.0.17 =
* Bug fix

= 1.0.13 =
* Bug fix

= 1.0.6 =
* Bug fix

= 1.0.5 =
* Updated wording when navigating to Bob Pay

= 1.0.4 =
* Further expand plugin description

= 1.0.3 =
* Update plugin screenshots and descriptions

= 1.0.2 =
* Update plugin name

= 1.0.1 =
* Update app icon

= 1.0.0 =
* Initial release

