=== WooCommerce Custom Payment Gateway Pro ===
Contributors: waseem_senjer
Donate link: https://wpruby.com
Tags: woocommerce,payment gateway, woocommerce extension, custom payment,payment, payment option, custom payment
Requires at least: 3.5.1
Tested up to: 5.2
Stable tag: 2.0.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Do not miss a single sale! This plugin is very useful to catch every possible sale.


== Description ==
If the customer can't pay with your payment gateways, give him the opportunity to submit the order and send to you a note on payment options he can pay you with. The plugin is very simple and effective. The more important is it's very easy to setup and use.

### Customer Message
A gateway description appears to the customer at the Checkout page to provide him with additional information about your custom gateway.

### Customer Note
A note for the customer for further instructions displayed after the checkout process.


## Pro Features

### Full Form Builder
A rich, dynamic and a drag-n-drop form builder to help you as much as possible to customize your gateway form. The form builder supports the following fields:
>
* Text
* Text Box
* Checkbox
* Radio Buttons
* Select Menu
* Email
* Date
* Time
* URL
* Currency
* Number
* Phone number
* Credit Card Form
* Instructions

All fields are highly customizable as you can change the name, label, size, default value, CSS class/es, and more.

### Unlimited Custom Gateways
Not only you can use the already created gateway, you can create an unlimited number of custom payment gateways and have full control of them.
### Custom Gateway Icon
You can differentiate your gateway with a special icon which will be displayed on the Checkout page.
### Order Status after Checkout
You can configure the status of the orders that were paid using your custom payment gateway.
### API Request after Checkout
A very powerful tool for allowing the payment information to be sent to an external API in order to process or store the payment information.
* You can redirect the customer to a custom URL after the checkout.
* Set the type of the API request, either POST or GET.
* Set the type of the data of the request, either FORM DATA or JSON.
* Setting API parameters and Key/Value combination of WooCommerce data such as:

>     * Order ID
    * Order Total
    * Customer First Name
    * Customer Last Name
    * Customer Postcode
    * Customer City
    * Customer State
    * Customer Country
    * Customer Email
    * Customer Phone
    * Customer IP Address>

* Setting any Extra API parameters such as API keys .. etc

### Adding Payment information to the Order’s email
An option is available to add the submitted payment information in the Order’s emails.

### Debugging Mode
The debug mode is an excellent tool to test out the plugin’s settings and the checkout page as the payment gateway will be only activated for you if the Debug Mode is enabled.

## [Upgrade to Pro Now](https://github.com/joemccann/dillinger/blob/master/KUBERNETES.md)


== Screenshots ==

1. Checkout Page Preview.
2. Payment Gateway Settings Page.
3. Order Notes.





== Installation ==



= Using The WordPress Dashboard =

1. Navigate to the 'Add New' in the plugins dashboard
2. Search for 'WooCommerce Custom Payment Gateway'
3. Click 'Install Now'
4. Activate the plugin on the Plugin dashboard

= Uploading in WordPress Dashboard =

1. Navigate to the 'Add New' in the plugins dashboard
2. Navigate to the 'Upload' area
3. Select `woocommerce-custom-payment-gateway.zip` from your computer
4. Click 'Install Now'
5. Activate the plugin in the Plugin dashboard

= Using FTP =

1. Download `woocommerce-custom-payment-gateway.zip`
2. Extract the `woocommerce-custom-payment-gateway` directory to your computer
3. Upload the `woocommerce-custom-payment-gateway` directory to the `/wp-content/plugins/` directory
4. Activate the plugin in the Plugin dashboard




== Changelog ==

= 2.0.5 =
* FIXED: Fields at checkout were displaying the number 1 as a suffix.

= 2.0.4 =
* FIXED: Change multiple gateways saved data for no collision.
* FIXED: CSS non-unique to the plugin rules.

= 2.0.3 =
* FIXED: Adapting the new data structure when adding the Payment information to the emails.
* FIXED: CSS non-unique to the plugin rules.

= 2.0.2 =
* FIXED: PHP 5.6 compatibility.

= 2.0.1 =
* FIXED: storing Credit Card data.

= 2.0.0 =
* ADDED: Form Builder: Signature field to collect customers signature.
* ADDED: Form Builder: Password field.
* ADDED: Customer ID in the WooCommerce Parameters in the API request builder.
* ADDED: `custom_payment_gateways_api_url` filter hook to change the API url.
* ADDED: `custom_payment_gateways_json_post_headers` filter hook to change the headers of API requests.
* ADDED: Allow date picker to choose year and month.
* IMPROVED: Payment data storage.
* FIXED: Date was not active for multiple gateways.
* FIXED: Including frontend styles and javascript only in the checkout page.
* FIXED: HTML escaping in the instructions field.

= 1.3.12 =
* FIXED: The js was loaded everywhere in admin, now limited to the settings page

= 1.3.11 =
* ADDED: Address line 1 and 2 in WooCommerce API parameters.

= 1.3.10 =
* ADDED: Allow filters to modify all api keys.

= 1.3.9 =
* FIXED: addding upgrades process to preserve gateway keys

= 1.3.8 =
* ADDED: adding a new hook to process returned URL

= 1.3.7 =
* FIXED: renaming the wc_data filter hook.

= 1.3.5 =
* FIXED: add Time field in the form builder
= 1.3.4 =
* FIXED: remove unnecessary strings

= 1.3.3 =
* ADDED: localization support
* FIXED: WC 3.0 Support
= 1.3.2 =
* FIXED: Adding WPMU support.


= 1.3.1 =
* FIXED: incompatibility with Aryo Activity Log plugin

= 1.3.0 =
* ADDED: Add Order information to the API call
* FIXED: PHP compatiblity.

= 1.2.7 =
* FIXED: replacing CC validator algorithm

= 1.2.6 =
* ADDED: validation of credit card numbers.

= 1.2.5 =
* ADDED: delete link in order's page to remove payment info.
* FIXED: conflict with themes

= 1.2.4 =
* FIXED: fix order details email PHP warning

= 1.2.3 =
* FIXED: makes the CC form required.
* FIXED: CC Form empty values issue in WC 2.6+

= 1.2.2 =
* ADDED: WooCommerce 2.6+ compatibility.
* ADDED: A new option to add payment information to WooCommerce emails.
* FIXED: PHP warning messages.


= 1.2.1 =
FIXED: PHP warnings.

= 1.2.0 =
ADDED: Add unlimited number of custom gateways.

= 1.0.4 =

* FIXED: prevent the gateway to send customer note when empty.
* RENAMED: Gateway name to `Custom Payment Pro`

= 1.0.3 =
* ReBrand the plugin to WPRuby
>>>>>>> wpruby

= 1.0.2 =
* FIXED: Gateway icon aligned vertically at the middle.
* FIXED: Adding the customer message to the checkout page.
* FIXED: Making the Required option default value "No".
* FIXED: Making the select field with auto.

= 1.0.1 =
* Add i18n support.
* Add Croatian language translation (Thanks to Sanjin Barac)

= 1.0 =
* Initial release.

== Upgrade Notice ==
* Initial release.
