WP Easy Paypal Payment Accept - Version 3.4

Version Description

  • Added an option to specify a custom button image for the payment button. You can use the "button_image" parameter in the shortcode to use a customized image for the buy button.
Download this release

Release Info

Developer mra13
Plugin Icon 128x128 WP Easy Paypal Payment Accept
Version 3.4
Comparing to
See all releases

Code changes from version 3.3 to 3.4

WP_Accept_Paypal_Payment.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Easy Paypal Payment Accept
4
- Version: v3.3
5
  Plugin URI: http://www.tipsandtricks-hq.com/?p=120
6
  Author: Tips and Tricks HQ
7
  Author URI: http://www.tipsandtricks-hq.com/
@@ -9,7 +9,7 @@ Description: Easy to use Wordpress plugin to accept paypal payment for a service
9
  License: GPL2
10
  */
11
 
12
- define('WP_PAYPAL_PAYMENT_ACCEPT_PLUGIN_VERSION', '3.3');
13
 
14
  include_once('shortcode_view.php');
15
 
1
  <?php
2
  /*
3
  Plugin Name: WP Easy Paypal Payment Accept
4
+ Version: v3.4
5
  Plugin URI: http://www.tipsandtricks-hq.com/?p=120
6
  Author: Tips and Tricks HQ
7
  Author URI: http://www.tipsandtricks-hq.com/
9
  License: GPL2
10
  */
11
 
12
+ define('WP_PAYPAL_PAYMENT_ACCEPT_PLUGIN_VERSION', '3.4');
13
 
14
  include_once('shortcode_view.php');
15
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.tipsandtricks-hq.com
4
  Tags: Paypal payment, Accept payment for services or product, PayPal donation, wordpress paypal, paypal for wordpress, paypal plugin for wordpress, paypal integration, paypal, buy now
5
  Requires at least: 3.0
6
  Tested up to: 3.7
7
- Stable tag: 3.3
8
  License: GPLv2 or later
9
 
10
  Easy to use Wordpress plugin to accept paypal payment for a service or product or donation in one click
@@ -29,6 +29,7 @@ For information, detailed documentation, video tutorial and updates, please visi
29
  * Ability to set the country code to use a particular language for the PayPal checkout page.
30
  * Create a payment button widget to accept payment in any currency accepted by PayPal.
31
  * Ability to specify a payment subject for each paypal payment widget.
 
32
 
33
  == Usage ==
34
 
@@ -54,6 +55,9 @@ Visit the plugin site at http://www.tipsandtricks-hq.com/?p=120 for screenshots.
54
 
55
  == Changelog ==
56
 
 
 
 
57
  = 3.3 =
58
  - Added an option in the shortcode to specify a payment subject. This can be handy if you have multiple payment widgets on your site.
59
  - WordPress 3.7 compatibility
4
  Tags: Paypal payment, Accept payment for services or product, PayPal donation, wordpress paypal, paypal for wordpress, paypal plugin for wordpress, paypal integration, paypal, buy now
5
  Requires at least: 3.0
6
  Tested up to: 3.7
7
+ Stable tag: 3.4
8
  License: GPLv2 or later
9
 
10
  Easy to use Wordpress plugin to accept paypal payment for a service or product or donation in one click
29
  * Ability to set the country code to use a particular language for the PayPal checkout page.
30
  * Create a payment button widget to accept payment in any currency accepted by PayPal.
31
  * Ability to specify a payment subject for each paypal payment widget.
32
+ * Ability to specify a custom button image for the payment button.
33
 
34
  == Usage ==
35
 
55
 
56
  == Changelog ==
57
 
58
+ = 3.4 =
59
+ - Added an option to specify a custom button image for the payment button. You can use the "button_image" parameter in the shortcode to use a customized image for the buy button.
60
+
61
  = 3.3 =
62
  - Added an option in the shortcode to specify a payment subject. This can be handy if you have multiple payment widgets on your site.
63
  - WordPress 3.7 compatibility
shortcode_view.php CHANGED
@@ -11,6 +11,7 @@ function wppp_render_paypal_button_form($args)
11
  'other_amount' => '',
12
  'country_code' => '',
13
  'payment_subject' => '',
 
14
  ), $args));
15
 
16
  $options = explode( '|' , $options);
@@ -23,6 +24,9 @@ function wppp_render_paypal_button_form($args)
23
  }
24
 
25
  $payment_button_img_src = get_option('payment_button_type');
 
 
 
26
 
27
  ?>
28
  <div class="wp_paypal_button_widget">
11
  'other_amount' => '',
12
  'country_code' => '',
13
  'payment_subject' => '',
14
+ 'button_image' => ''
15
  ), $args));
16
 
17
  $options = explode( '|' , $options);
24
  }
25
 
26
  $payment_button_img_src = get_option('payment_button_type');
27
+ if(!empty($button_image)){
28
+ $payment_button_img_src = $button_image;
29
+ }
30
 
31
  ?>
32
  <div class="wp_paypal_button_widget">