Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wsenjer committed Feb 24, 2016
1 parent a112a1e commit 045c739
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 7 deletions.
11 changes: 11 additions & 0 deletions class-woocommerce-other-payment-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function init_form_fields(){
'description' => array(
'title' => __( 'Customer Message', 'woocommerce-other-payment-gateway' ),
'type' => 'textarea',
'css' => 'width:500px;',
'default' => 'None of the other payment options are suitable for you? please drop us a note about your favourable payment option and we will contact you as soon as possible.',
'description' => __( 'The message which you want it to appear to the customer in the checkout page.', 'woocommerce-other-payment-gateway' ),

Expand All @@ -75,12 +76,22 @@ public function admin_options() {

?>
<h3><?php _e( 'Other Payment Settings', 'woocommerce-other-payment-gateway' ); ?></h3>
<a href="https://goo.gl/ysxWvO" target="_blank">
<img style="z-index:99999; width:200px; position:fixed; bottom:5px; right:5px;" src="<?php echo WCCUSTOMPAYMENT_LITE_URL; ?>pro_version.png">
</a>
<table class="form-table">
<?php
// Generate the HTML For the settings form.
$this->generate_settings_html();
?>
</table><!--/.form-table-->
<p>
<h3>Notes: </h3>
<ol>
<li>If you encountered any problem with the plugin, please do not hesitate <a target="_blank" href="https://waseem-senjer.com/submit-ticket/">submitting a support ticket</a>.</li>
<li>If you like the plugin please leave me a <a target="_blank" href="https://wordpress.org/support/view/plugin-reviews/woocommerce-other-payment-gateway?filter=5#postform">★★★★★</a> rating. A huge thank you from me in advance!</li>
</ol>
</p>
<?php
}

Expand Down
Binary file added pro_version.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 19 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=== WooCommerce Other Payment Gateway ===
=== WooCommerce Customized Payment Gateway ===
Contributors: waseem_senjer
Donate link: http://waseem-senjer.com/plugins-shop/
Donate link: https://waseem-senjer.com/plugins-shop/
Tags: woocommerce,payment gateway, woocommerce extension, other payment,payment, payment option, custom payment
Requires at least: 3.5.1
Tested up to: 4.3.1
Stable tag: 1.0.1
Stable tag: 1.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -14,6 +14,18 @@ Do not miss a single sale! This plugin is very useful to catch every possible sa
== 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.

= Pro Features =
[Upgrade to Pro](https://waseem-senjer.com/product/woocommerce-customized-payment-gateway-pro/ "Upgrade to Pro")

* Full Form Builder.
* Custom Gateway Icon.
* Select Order Status After Checkout.
* API Request After Checkout.
* Debugging Mode.
* 14 Days Money Back Guarantee.
* Lifetime Updates.
* Lifetime Support.




Expand Down Expand Up @@ -58,6 +70,10 @@ If the customer can't pay with your payment gateways, give him the opportunity t

== Changelog ==

= 1.0.2 =
* UI enhancements.
* Adding the Pro version promotion.

= 1.0.1 =
* Add i18n support.
* Add Croatian language translation (Thanks to Sanjin Barac)
Expand Down
8 changes: 4 additions & 4 deletions woocommerce-other-payment-gateway.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/* @wordpress-plugin
* Plugin Name: WooCommerce Other Payment Gateway
* Plugin URI: http://waseem-senjer.com/
* Plugin Name: WooCommerce Customized Payment Gateway
* Plugin URI: https://waseem-senjer.com/product/woocommerce-customized-payment-gateway-pro/
* Description: Do NOT miss any sale!
* Version: 1.0.1
* Version: 1.0.2
* Author: Waseem Senjer
* Author URI: http://waseem-senjer.com
* Text Domain: woocommerce-other-payment-gateway
Expand All @@ -12,7 +12,7 @@
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/


define('WCCUSTOMPAYMENT_LITE_URL', plugin_dir_url(__FILE__));
$active_plugins = apply_filters('active_plugins', get_option('active_plugins'));
if(in_array('woocommerce/woocommerce.php', $active_plugins)){

Expand Down

0 comments on commit 045c739

Please sign in to comment.