Here is my problem:
I use BuyNow. Fill all the fields. Check "Save Save this address for later use." I use PayPal Sandbox for payment testing.Then I press Place Your Order button and get:
user warning: Field 'allocation' doesn't have a default value query: INSERT INTO ec_transaction (ecid, type, mail, payment_method, workflow, shippable, currency, gross, created, changed, duedate, token) VALUES (2, 'ec_buynow', 't@t', 'paypal_basic', 1, 1, 'USD', 12, 1238750860, 1238750860, 0, '') in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\drupal\includes\common.inc on line 3422.
user warning: Field 'txn_id' doesn't have a default value query: INSERT INTO ec_receipt_paypal (erid) VALUES (8) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\drupal\includes\common.inc on line 3422.
Also if i add new receipt type and push Upodate Receipt Type i get the same SQL warning with field 'weight'. I tried to configure "Cheque/Bank Draft/Postal Order" payment gateway.
Comments
Comment #1
taran2lComment #2
wedge commented1. attached patch.
2. #421654: ec_receipt_types table default values missing
Comment #3
gordon commentedThanks I have applied this without change.