The previous site used the record ID from the customers table, so I followed that path and set cust_id to the customer_ID session variable. I'm closer - it now goes through PayPal (although the payment doesn't seem to be immediately recorded) but when I am sent back to the site, I get this error "Column 'cust_id' cannot be null"
What next?