I am developing a site with recurring products and it gives me an error on order review:
Notice: Undefined index: amount in uc_recurring_hosted_paypal_wpp_process() (line 824 of /nfs/c04/h03/mnt/60223/domains/sitename.com/html/sites/all/modules/uc_recurring/modules/uc_recurring_hosted/uc_recurring_hosted.module).
Notice: Undefined index: data in uc_recurring_hosted_paypal_wpp_process() (line 825 of /nfs/c04/h03/mnt/60223/domains/sitename.com/html/sites/all/modules/uc_recurring/modules/uc_recurring_hosted/uc_recurring_hosted.module).
Notice: Undefined index: CURRENCYCODE in uc_recurring_hosted_paypal_wpp_process() (line 852 of /nfs/c04/h03/mnt/60223/domains/sitename.com/html/sites/all/modules/uc_recurring/modules/uc_recurring_hosted/uc_recurring_hosted.module).
Notice: Undefined property: stdClass::$rfid in uc_recurring_hosted_paypal_wpp_process() (line 865 of /nfs/c04/h03/mnt/60223/domains/sitename.com/html/sites/all/modules/uc_recurring/modules/uc_recurring_hosted/uc_recurring_hosted.module).
Notice: Undefined index: TRANSACTIONID in uc_recurring_hosted_paypal_wpp_process() (line 878 of /nfs/c04/h03/mnt/60223/domains/sitename.com/html/sites/all/modules/uc_recurring/modules/uc_recurring_hosted/uc_recurring_hosted.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'txn_id' cannot be null: INSERT INTO {uc_payment_paypal_ipn} (order_id, txn_id, txn_type, mc_gross, status, re
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | uc_recurring-hosted_paypal_wpp_fixes-1683004-2.diff | 3.01 KB | jbulcher |
Comments
Comment #1
jbulcher commentedMarked #1683016 as a duplicate of this issue.
#1845694 appears to be related to this bug as well.
Comment #2
jbulcher commentedI've been getting this exact error, and think I correctly all but the one related to the missing 'data' index.
I'm attaching my patch for review, which I made against 7.x-2.x
I wasn't quite sure how to handle the missing $data key. My investigations led me to believe it wasn't supposed to exist. It was only used for the txn_type key, and looking at one of the SQL statements led me to believe it was hard coded anyway.