Re: Save For Later Support Thread
Hi swguy,
First off thank you very much for this excellent Plugin.
Now for my question,
I would like to offer a subscription product of which I can make a payment plugin for that so that's not a issue.
what i would like to run by you is if you would allow me to duplicate this plugin (as i have it installed and working as it is meant for a client facing plugin )
i would like to turn it in to a internal method to automatically separate subscription products from standard products so that standard products can go through the checkout normally then once the payment has had a success response back,
then the customer will be redirected back to the checkout (not cart) to complete the subscription payment and setup and having the subscription payment methods auto selected and payment details auto filled out from the first payment response which would of been saved on file at the payment gateway so they will only have to submit the order unless they wish to add a new payment method of which the payment gateway allows for this.
so this plugin would just be as it is but without displaying it to the page anywhere so the customer never see it or is able to amend it and I add them to the checkout in the background.
this way it is all setup currently otherwise the only way i can see it working is the first subscription payment goes through the checkout as a normal product and on payment success I create the subscription in the background but that will be hard if the subscription has a free trial.
could you let me know if you would allow me to do this?
Re: Save For Later Support Thread
Knock yourself out! Glad it's working for you.
Re: Save For Later Support Thread
Hi, will the latest version be compatible with v2.0+?
Re: Save For Later Support Thread
Re: Save For Later Support Thread
Thanks for a great plugin I have used for years swguy!
I have one error its throwing in Debug Logs that I am hoping you could help with. I have upgraded to PHP8 in preparation for upgrading to Zen Cart 2.0.1 and it throws the error in my current v.1.5.8a cart with PHP8. (Did not have the error in PHP 7.4):
Undefined variable $flagHasSavedContents in includes/templates/custom/templates/tpl_shopping_cart_default.php on line 28.
Would you be able to suggest the needed code edit?
Thank you!
Re: Save For Later Support Thread
Just updated the plugins library with a version that should fix this.
Re: Save For Later Support Thread
Super...Thanks very much...appreciated!
Re: Save For Later Support Thread
Hi swguy...
I have just completed my development site adding in the addons ,etc. and just had the demo data in my database.
When I dropped in my current live site database (v.1.5.8) and was testing the site for errors, I received this one....
PHP Warning: Undefined variable $flagStockCheck in C:\wamp64\www\new2121\includes\functions\extra_functions\sfl_functions.php on line 98.
Would you be able to suggest what I would need to do to mitigate this?
The operation of the plugin still worked fine on the site....no problems moving it back and forth between the Save and Cart.
Thanks!
Re: Save For Later Support Thread
In /includes/functions/extra_functions/sfl_functions.php
Right above the line
if (STOCK_CHECK == 'true') {
Add
$flagStockCheck = false;
Re: Save For Later Support Thread
Thanks so much for this code change.....I applied it, tested and works perfectly without error!
Thanks very much swguy!