Not sure if anyone is still around, but i could use a hand fixing the following error, which appears post-payment, on the thank you page:
Notice: Undefined property: stdClass::$cc_num in ms_core_payment_profile_save() (line 884 of /code/sites/all/modules/moneysuite/ms_core/ms_core.recurring.inc)
It refers to this line:
$pp->cc_num = ms_core_mask_cc($pp->cc_num);
in this section of code:
function ms_core_payment_profile_save($pp) {
// Convert to object if it is an array.
if (is_array($pp)) {
$pp = (object)$pp;
}
$pp->cc_num = ms_core_mask_cc($pp->cc_num);
if (isset($pp->id)) {
// Update the record.
drupal_write_record('ms_core_payment_profiles', $pp, 'id');
} else {
drupal_write_record('ms_core_payment_profiles', $pp);
}
return $pp;
}
Comments
Comment #2
tonka67 commentedThis error cleared once I applied the Stripe Issues patches successfully. There's a new set of problems, which I've posted to the main Stripe thread.