Using PayPal gateway, getting notifications from PayPal of completed transactions but sometimes CB Subs creates the subscription and sometimes not, for transactions within a day of each other. Found events in the history log related to the uncreated subscriptions but only error is
NOTICE: Constant _swcorners_defined already defined in ...
which also occurs when subscriptions are created. Don't know where to get started tracking this down as I don't see any difference between the subscriptions that are created and the ones that aren't.
CB Subs 4.1.0.
Community Builder 2.0.14.
Joomla 3.6.0.
PHP Version 5.6.20
Richard Brundage
Last edit: 8 years 3 months ago by krileon. Reason: Added [SOLVED] tag to subject
We have no define called "_swcorners_defined" anywhere in CB or CBSubs. Appears to be from something you've installed or manually defined somewhere. Review the path after "in ..." to see where it's being redefined.
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.
The following user(s) said Thank You: richbrundage
swcorners is defined by a menu component swmenupro, but as I said that error is generated whether the subscription is created or not, I don't think it is the issue. I was hoping you could point me towards some other diagnostic, for example there are events in the history log about saving the payment basket but there is no corresponding entry in the payment basket table.
It has nothing to do with CBSubs. Your issue is with that extension trying to define a constant that is already defined, which is impossible in PHP. Contact the developer of your extension or review the notice closely as it gives you where it's trying to define it again. It's also just a notice so it's not going to break CBSubs.
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.
Look at the subject line - the problem is that some transactions result in subscriptions being created and some do not! I have to go in and create them manually.
I am trying to troubleshoot this but cannot find anything different between the transactions that result in a subscription created and those that don't. I see events in the history log for the transactions that do not result in a subscription being created, such as
Within CBSubs > Notifications do you see IPNs for those purchases? If you only see PDT then you don't have IPNs configured and if a user closes the window or browses away without returning to CBSubs it can't record their payment as PDT are return notifications.
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.