Getting Notice on time to process payment in pay to publish module MoneySuite

Notice: Undefined property: MsProduct::$cart_product_id in ms_core_get_order_items_html() (line 2887 of C:\xampp\htdocs\myweb\sites\all\modules\moneysuite\ms_core\ms_core.module

Payment processing with Stripe, and payments are processed well but notice still there

How to fix that?

As well on pay to publish module in settings Product Name selection to "Node Title" or "Plan Name" function not working in any case item name in Cart is Node Title, how to fix that?

Comments

vitaliych created an issue. See original summary.

Farreres’s picture

Sorry, didn't see this issue sooner. I will have to take a look at the code as soon as I have time.

thecramp’s picture

hi, i have the same problem , this message appear after a purchase, it's appeared when we want details in " order " in the moneysuite menu .

need help . thanks.

thecramp’s picture

Hi guy, any solution ? still have the error :-(

vaccinemedia’s picture

I have the same issue when trying to use credits and pay to publish. Any updates?

vaccinemedia’s picture

StatusFileSize
new868 bytes

Using xdebug I could see that the product does not have a property of cart_product_id but does have one for order_product_id. Attached patch changes the property to order_product_id.

vaccinemedia’s picture

Status: Active » Needs review
Farreres’s picture

Patch applied to dev. Don't know if I should close the issue, I leave it as needing review for a while.

avpaderno’s picture

Version: 7.x-10.0 » 7.x-10.x-dev
Assigned: vitaliych » Unassigned
Category: Support request » Bug report
Status: Needs review » Fixed
Issue tags: -moneysuite, -pay to publish, -Undefined property: MsProduct::$cart_product_id in ms_core_get_order_items_html()

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.