Skip to content

Commit

Permalink
Changing the column name of option_name_1 and option_name_2 to option…
Browse files Browse the repository at this point in the history
…_name1 and option_name2 respectively. This is a bug fix posted by a user on www.webtechnick.com
  • Loading branch information
webtechnick committed Nov 19, 2009
1 parent 752719a commit 56f7ac9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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>

Expand Down
4 changes: 2 additions & 2 deletions config/sql/ipn.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
4 changes: 2 additions & 2 deletions paypal_ipn.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 56f7ac9

Please sign in to comment.