Skip to Content Skip to Menu

[SOLVED] Delete basket automatic

  • cppleal
  • cppleal
  • OFFLINE
  • Posts: 76
  • Thanks: 10
  • Karma: 1
4 years 6 months ago - 4 years 6 months ago #318336 by cppleal
[SOLVED] Delete basket automatic was created by cppleal
Good,

I could not search the forums, but would need to automatically delete the basket every time you enter to complete a subscription.

It happens to me that I have subscription options that can change and when I enter it leaves me the first basket that was configured, which could lead to an error.

Is there a way to do it?


Thanks
Last edit: 4 years 6 months ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
4 years 6 months ago #318366 by krileon
Replied by krileon on topic Delete basket automatic
Click the link to cancel the basket when viewing the basket. Otherwise unpaid baskets will expire and clear themselves based off the "Payment basket timeouts" settings in CBSubs > Settings > Display > Baskets. By default they will expire in 3 hours when using frontend.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • cppleal
  • cppleal
  • OFFLINE
  • Posts: 76
  • Thanks: 10
  • Karma: 1
4 years 6 months ago #318590 by cppleal
Replied by cppleal on topic Delete basket automatic
OK, thanks.

The parameter you indicate works in hours, and as you say, it is found by default in 3 hours.
What effect would it have if I put 0.1 h for example. Would it take 6 minutes to delete the basket ?. Or zero, directly, would they be automatically deleted?

Best regards.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
4 years 6 months ago #318617 by krileon
Replied by krileon on topic Delete basket automatic
That parameter sanitizes to integer so if you put 0.1 it will sanitize to 0 and act as 0, which will probably just break the baskets causing them to expire immediately. The proper way to leave a basket is to cancel the basket. This shouldn't be unfamiliar to users as every website that uses a shopping cart or basket behaves the same way.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • cppleal
  • cppleal
  • OFFLINE
  • Posts: 76
  • Thanks: 10
  • Karma: 1
4 years 6 months ago #318640 by cppleal
Replied by cppleal on topic Delete basket automatic
OK, thanks.

Issue resolved

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum