Recurring Paypal Payments - Again

8 years 4 months ago - 8 years 4 months ago #275470 by gtrennert
Replied by gtrennert on topic Recurring Paypal Payments - Again
Thanks for your answers ...

krileon wrote:

Whats happening if the cron job does not work for some time ? I have 2 users who expired and I think that the cron job was begin to run some days after their expiration day. I suppose its the grace time that influences this ?

Likely your CRON isn't setup correctly if it's not working. The URL probably isn't executing as expected. That's something you'll need to discuss with your host though as we can't help with CRON setup as it depends on your host and their web panel.


As I said thanks to the cron job I got renewals working
So I can't see why the Cron Setup would be not correct.

And if you say Cron Setup not correct, what cloud be wrong as its just an URL with some scheduling informations.
The URL is given be CBSub and its executing CBSub code, no ?

Is there any documentation on what is doing exactly this URL given by CBSub :
Url of cron task = http://mysite/index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=autopayments&key=somekey&format=raw

I also setup an email in "Email addresses to email auto-payments results" and set "Output results to cron url" = Yes.
But did not receive any mail !

Please Log in to join the conversation.

8 years 4 months ago #275482 by krileon
Replied by krileon on topic Recurring Paypal Payments - Again
PayPal renewals are not triggered by CRON. They're handled by the IPN sent by PayPal. So I'm unsure what you're doing at this point. CRON is used to trigger the expiration's using the URL supplied in CBSubs > Settings > Global.


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 to join the conversation.

8 years 4 months ago #275487 by gtrennert
Replied by gtrennert on topic Recurring Paypal Payments - Again
I try to ounderstand what you are saying :

PayPal renewals are not triggered by CRON. They're handled by the IPN sent by PayPal


So please can you explain me why I had not one IPN for renewal before I setup a cron job (I was looking at notifications)
And since I setup cron job I receive IPN for renewal.
I need an explanation to understand

Please can you answer the other questions too :
What cloud be wrong in Cron Setup as its just an URL with some scheduling informations.
Is there any documentation on what is doing exactly this URL given by CBSub
What are the possible reasons that I receive no mail ("Email addresses to email auto-payments results") ?

Please Log in to join the conversation.

8 years 4 months ago #275494 by krileon
Replied by krileon on topic Recurring Paypal Payments - Again
If you're not receiving IPNs from PayPal then your PayPal account is not setup correctly. Please read your documentation carefully. Please review IPN History in your PayPal account to see if IPNs are sending and what response they're receiving. None of this has anything to do with CRON. PayPal IPNs are also not instant. They can be delayed for up to 24hrs.

We do not provide documentation for CRON. We provide the URL (found in CBSubs > Settings > Global). The rest is between you and your host.

What are the possible reasons that I receive no mail ("Email addresses to email auto-payments results") ?

Because you're not triggering an auto renewal payment. It sounds like you're forcing a manual renewal. The auto renewal will occur when the IPN comes through and marks the subscription renewed. I've no idea what you're doing at this point to even trigger renewals from CRON.


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 to join the conversation.

8 years 4 months ago - 8 years 4 months ago #275500 by gtrennert
Replied by gtrennert on topic Recurring Paypal Payments - Again

If you're not receiving IPNs from PayPal then your PayPal account is not setup correctly. Please read your documentation carefully. Please review IPN History in your PayPal account to see if IPNs are sending and what response they're receiving. None of this has anything to do with CRON. PayPal IPNs are also not instant. They can be delayed for up to 24hrs.

The fact is that only once I setup cron job I found IPN Notifications for renewal in CBSUB. And I changed strictly nothing in PayPal.
There is nothing in your answer that takes in account this fact.
The only thing I want is to understand

We do not provide documentation for CRON. We provide the URL (found in CBSubs > Settings > Global). The rest is between you and your host.

I never asked for documentation for CRON
The URL is given by CBSub
The parameters option=com_comprofiler, plugin=cbpaidsubscriptions and do=autopayments show clearly that its CBSub code that is called
So you should provide information about what this CBSub code is doing.

Please Log in to join the conversation.

8 years 4 months ago #275502 by krileon
Replied by krileon on topic Recurring Paypal Payments - Again

The fact is that only once I setup cron job I found IPN Notifications for renewal in CBSUB. And I changed strictly nothing in PayPal.
There is nothing in your answer that takes in account this fact.
The only thing I want is to understand

Setup CRON to do what? The CRON usage in CBSubs > Settings > Global is for triggering expiration.

I never asked for documentation for CRON
The URL is given by CBSub
The parameters option=com_comprofiler, plugin=cbpaidsubscriptions and do=autopayments show clearly that its CBSub code that is called
So you should provide information about what this CBSub code is doing.

Given by CBSubs from where? That's only used for certain gateways that don't have IPNs. The gateways that require it instruct you how to use it. It is not for PayPal.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.266 seconds

Facebook Twitter LinkedIn