PDA

View Full Version : Automatic Mark as Paid for PayPal Subscriptions



PropioWeb.com
12-08-06, 04:28 PM
I updated all my Paypal subscriptions with their respective Subscription ID and yet every time a subscription is paid WHMCS does not recognize that it has been paid. I have to manually do it. I thought the reason for the Subscription ID was so WHMCS would know of the payment and automatically Makr it as Paid?

Am I wrong?

webresellers
12-08-06, 04:32 PM
goto your paypal account, turn on IPN, and enter the path to your paypal gateway.php.
Its in the whmcs docs and in the screen for your payment gateway in whmcs. Its also been posted many times in these forums. Seach the forums.

PropioWeb.com
12-08-06, 04:42 PM
goto your paypal account, turn on IPN, and enter the path to your paypal gateway.php.
Its in the whmcs docs and in the screen for your payment gateway in whmcs. Its also been posted many times in these forums. Seach the forums.
Yeah, I know. I've already done all that. :(

Matt
12-08-06, 09:52 PM
You should check the gateway log in Transactions > Gateway Log. Chances are that WHMCS is not receiving a callback when these payments are made as if the subscriptions were created with a billing system that defines the callback url for that payment when it is setup, the callback is only ever sent to this address - changing the IPN address in your PayPal profile would not change it.

Matt

MACscr
12-09-06, 01:44 AM
Matt, how can we find out the exact url paypal is sending the notification to and anyway we can somehow use a dummy file or whatever in its place so that we can still get these notifications?

Matt
12-09-06, 09:31 AM
Hi,

According to PayPal, there is no way to determine the url PayPal is sending the notification to from their side. Assuming you switch from another app, you would need to look at the link they display on the order form for the user to create a subscription as this will contain an option "notify_url" and this is where the callback will be being made.

I can then make a two file package to allow callbacks to work by placing files in that location.

Matt

MACscr
12-09-06, 10:33 AM
im guessing this would be it for MB 4.x?

https://your_install/include/misc/mod_paypal/paypal_return.inc.php

MACscr
12-28-06, 10:10 PM
im guessing this would be it for MB 4.x?

https://your_install/include/misc/mod_paypal/paypal_return.inc.php

Matt, would creating a symlink from that file to whmcs's paypal file work for old subscriptions?

MACscr
12-28-06, 10:12 PM
I can then make a two file package to allow callbacks to work by placing files in that location.

Matt

sry, ive been a little blind lately. Where can we get this package? Have you even made it yet? I really need this functionality.

Matt
12-28-06, 10:16 PM
Yeh, it's been made and is in use by a few people. Just open a ticket requesting it.

Matt