Permalink
Browse files

Changing the column name of option_name_1 and option_name_2 to option…

…_name1 and option_name2 respectively. This is a bug fix posted by a user on www.webtechnick.com
  • Loading branch information...
1 parent 752719a commit 56f7ac905b2774cbcb8326c3d7516d1a50d7c523 @webtechnick committed Nov 19, 2009
Showing with 6 additions and 5 deletions.
  1. +2 −1 README.txt
  2. +2 −2 config/sql/ipn.php
  3. +2 −2 paypal_ipn.sql
View
@@ -1,5 +1,5 @@
Paypal IPN plugin. (Paypal Instant Payment Notification)
-Version 3.5
+Version 3.5.1
Author: Nick Baker (nick@webtechnick.com)
Website: http://www.webtechnick.com
@@ -16,6 +16,7 @@ CHANGELOG:
2.2.2: Fixed validation issues with paypal button in strict doctype
3.0: Added new basic Paypal IPN email capabality.
3.5 Added checkout feature for multiple items paypal button. Documentation bellow
+3.5.1: Renamed columns option_name_1 and option_name_2 to option_name1 and option_name2 respectively
Special thanks: Peter Butler <http://www.studiocanaria.com>
View
@@ -39,8 +39,8 @@ function after($event = array()) {
'custom' => array('type' => 'string', 'null' => true, 'default' => NULL),
'invoice' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 127),
'memo' => array('type' => 'string', 'null' => true, 'default' => NULL),
- 'option_name_1' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 64),
- 'option_name_2' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 64),
+ 'option_name1' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 64),
+ 'option_name2' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 64),
'option_selection1' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 200),
'option_selection2' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 200),
'tax' => array('type' => 'float', 'null' => true, 'default' => NULL, 'length' => '10,2'),
View
@@ -28,8 +28,8 @@ CREATE TABLE instant_payment_notifications (
custom varchar(255) default NULL COMMENT 'Custom value as passed by you, the merchant. These are pass-through variables that are never presented to your customer.',
invoice varchar(127) default NULL COMMENT 'Pass through variable you can use to identify your invoice number for this purchase. If omitted, no variable is passed back.',
memo varchar(255) default NULL COMMENT 'Memo as entered by your customer in PayPal Website Payments note field.',
- option_name_1 varchar(64) default NULL COMMENT 'Option name 1 as requested by you',
- option_name_2 varchar(64) default NULL COMMENT 'Option 2 name as requested by you',
+ option_name1 varchar(64) default NULL COMMENT 'Option name 1 as requested by you',
+ option_name2 varchar(64) default NULL COMMENT 'Option 2 name as requested by you',
option_selection1 varchar(200) default NULL COMMENT 'Option 1 choice as entered by your customer',
option_selection2 varchar(200) default NULL COMMENT 'Option 2 choice as entered by your customer',
tax decimal(10,2) default NULL COMMENT 'Amount of tax charged on payment',

0 comments on commit 56f7ac9

Please sign in to comment.