New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0.0.0] Subscription-related bugs #11458
Comments
It looks like another edit is necessary for when the order is updated, if you reload the checkout page. Here's that edit:
|
Hi, Undefined array key "customer_id" in \catalog\model\checkout\subscription.php on line 5 I just tried to open the checkout after enabled Subscriptions for my payment module. |
@miroslav-sc : With the latest changes in the subscriptions, does this issue still occur? This may particularly happen if people were upgrading from previous OC releases to OC 4.x whereas the |
Hi, My test was on clean install with OC 4.0.1.1, but if no one can confirm it I can make another clean install and repeat the test. Regards! |
Hi, Please try with a new clean installation and report back if the issue still persists since the latest changes. |
Hi, I just made my test: I used xampp-windows-x64-8.0.3-0-VS16.
On my dev site I find where this problems come from, and when add the missing parameters with some dummy values the Payment and the Subscription work fine. I hope this will help you! |
See if you have the most updated changes about the |
I will check for the fix, because my download of 4.0.1.1 was about may be a month ago. Regards! |
Both; in the OC Marketplace. |
@TheCartpenter all the commits u have done over the months for subscript and still loads of stuff throwing errors. |
Now I get an error in the process of installing the master version
|
Did I say it's finished? |
What version of OpenCart are you reporting this for? After a new install
Server / Test environment (please complete the following information):
|
Hopefully this will contribute to solving this issue: #12902 |
One more related to this issue: #12916 |
The following errors appear when checking out with a subscription product (i.e. a product that has a subscription plan attached to it) in the final step of checkout:
Warning: Undefined array key "date_next" in /catalog/model/checkout/order.php on line 37
Warning: Undefined array key "customer_id" in /catalog/model/checkout/subscription.php on line 5
Warning: Undefined array key "subscription_plan_id" in /catalog/model/checkout/subscription.php on line 5
The "date_next" field is not listed anywhere in the cart library, so perhaps it's just an old variable that needs to be removed. For the other two, you should be able to fix those errors by making this edit:
The text was updated successfully, but these errors were encountered: