=== RedPay ===
Contributors: redtechlimited
Donate link: https://redpay.africa/
Tags: payment, gateway, woocommerce, e-commerce, redpay
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept cards, bank transfers and more. Get paid from Africa and worldwide with RedPay.

== Description ==

RedPay is a WooCommerce payment gateway that integrates with RedPay to process payments securely.

**Key Features:**

* Secure payments via RedPay
* Multiple payment methods: cards, bank transfers, and more
* Test mode for development and testing
* Refund support from WooCommerce
* Webhook support for real-time payment updates
* Mobile responsive checkout

**Requirements:**

* WordPress 5.0 or higher
* WooCommerce 5.0 or higher
* PHP 7.4 or higher
* SSL certificate (for live payments)
* RedPay merchant account

**Getting Started:**

1. Install and activate the plugin.
2. Go to WooCommerce > Settings > Payments.
3. Click RedPay to configure.
4. Enter your API credentials (get them from https://gateway-merchant.redpay.africa/app/api-keys).
5. Save and test with test mode first.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/redtech-redpay-gateway` directory, or install the plugin through the WordPress Plugins screen.
2. Activate the plugin.
3. Go to WooCommerce > Settings > Payments > RedPay to configure.
4. Enter your RedPay API credentials (from https://gateway-merchant.redpay.africa/app/api-keys) and save.
5. Enable the gateway and test in test mode first.

== Frequently Asked Questions ==

= Do I need a RedPay account? =

Yes. Sign up at https://gateway-merchant.redpay.africa/onboard/signup then get your API keys at https://gateway-merchant.redpay.africa/app/api-keys

= Is this plugin secure? =

Yes. The plugin follows WordPress and WooCommerce security practices. Card data is processed by RedPay; no card details are stored on your site.

= Can I test before going live? =

Yes. Enable Test Mode in the gateway settings to run test payments.

= Does this plugin support refunds? =

Yes. Full and partial refunds can be processed from the WooCommerce order page.

== Changelog ==

= 1.0.0 =
* Initial release
* RedPay payment processing
* Test mode and refunds
* Webhook integration

== Upgrade Notice ==

= 1.0.0 =
Initial release of RedPay for WooCommerce.

== Support ==

For documentation see https://gateway-documentation.redpay.africa/#/ — for support visit https://redpay.africa/

== External Services ==

This plugin requires and uses external services provided by RedPay to process payments. You need a RedPay merchant account to use the plugin.

**What the service is and what it is used for**

* RedPay provides the payment infrastructure. The plugin sends payment and refund requests to RedPay and loads the checkout experience (payment form/modal) from RedPay so that card and payment details are handled by RedPay, not by your server.

**What data is sent and when**

* When a customer pays at checkout: order total (amount), currency, customer email, first name, last name, and your store’s public API key are sent so RedPay can display the correct amount and complete the payment.
* After payment, the plugin may verify the transaction with RedPay using the transaction reference.
* When you process a refund from WooCommerce: the transaction reference and refund amount are sent to RedPay so they can process the refund.
* RedPay may send webhook notifications to your site (to the URL shown in the plugin settings) to report payment status; the webhook payload is determined by RedPay.

**Terms and privacy**

* Terms of use: https://gateway-merchant.redpay.africa/onboard/terms-of-use
* Privacy policy: https://gateway-merchant.redpay.africa/onboard/privacy-policy

== Privacy Policy ==

This plugin integrates with RedPay to process payments. Payment and order data are sent to RedPay for processing. See RedPay’s privacy policy: https://gateway-merchant.redpay.africa/onboard/privacy-policy
