Hello,
when I try to update my receipt type settings (admin/ecsettings/rtypes) I get the following errors on my server running PostgreSQL.
warning: pg_query() [function.pg-query]: Query failed: ERROR: null value in column "allow_payments" violates not-null constraint.
user warning: query: INSERT INTO ec_receipt_types (type, name, description, weight) VALUES ('paypal_pro', 'PayPal Pro', 'Save time. Check out securely. Pay without sharing your financial information.', -8)
I guess that at least the allow_payments, allow_admin_payments, allow_refunds, allow_payto and allow_recurring fields should have 0 as default values.
v4 is shaping up very nicely. You're doing a great job!
Comments
Comment #1
wedge commentedThis patch worked for me.
Comment #2
doq commentedSubscribing.
Comment #3
gordon commentedThank @wedge for the patch, but NULL is actually a valid option when receipting functions are disabled by the payment gateway module.