sandbox testing enabled - no email received

18 replies [Last post]
hwijaya
Offline
Joined: 08/13/2009
Status: 
Answered

Hi,
I enabled sandbox testing, completed the transaction, went back to merchant site (membership/thankyou), it said "Your payment has been received. Please check your email for further instructions.". However i didn't received any email. and no new user created. Total earned and monthly income reports are increased. is that normal?

Also, please let me know where i can change below text

"Please wait for a few seconds, your registration is being processed
and you will be redirected to
PayPal's secure payment page. "

Thanks,

Wijaya

hwijaya
Offline
Joined: 08/13/2009
disable sandbox and get the same result

Hi,
Just did a real transaction and get the same result: i didn't received any email, no new account created but it get my money. Also, tried to enabled "Automatically Login New Users?", but it still redirected me to the thank you page.

I look into paypal_payments table, payment status=completed. Why Total Subscriptions Sold: 0 ?

Please help.

Thanks,
Hence

Leighton Whiting
Online
Joined: 06/02/2009
Wijaya, Can you confirm that

Wijaya,

Can you confirm that you are using the latest 4.3 version? Also, are you using any other modules which affect User Registration? If so, which ones. Also, have you tried turning on debug mode? Did you get any errors? If you did, please post them here, and we will get them taken care of ASAP. What did it say in the logs?

Sincerely,

Leighton Whiting

Leighton Whiting
Online
Joined: 06/02/2009
Automatically Login

Automatically Login is meant to be used with the Default Thank You page, it won't work without it.

Sincerely,

Leighton Whiting

hwijaya
Offline
Joined: 08/13/2009
Hi Leighton, Yes, i use 4.3

Hi Leighton,
Yes, i use 4.3 version. I only activate built-in profile module to add few fields on registration page. debug mode was on and I got below message from watchdog

I also added four new roles for four different subcriptions (one option is free subscription). Let me know if you need any more info. Thanks.

Hence

hwijaya
Offline
Joined: 08/13/2009
Yes, i use default thank you

Yes, i use default thank you page at membership/thankyou . Any thought?

Regards,

Hence

Leighton Whiting
Online
Joined: 06/02/2009
What settings do you have for

What settings do you have for the notify URL in the subscription? It seems like the ipn isn't getting received

hwijaya
Offline
Joined: 08/13/2009
I use default setting, check
Leighton Whiting
Online
Joined: 06/02/2009
Interesting, the only thing I

Interesting, the only thing I can think of is maybe your host is blocking the Paypal IP address. Can you use my contact page to send me your site address so I can run a test on the Sandbox Server?

Sincerely,

Leighton

hwijaya
Offline
Joined: 08/13/2009
I have sent the site url and

I have sent the site url and enabled sandbox

-Hence

Leighton Whiting
Online
Joined: 06/02/2009
Wijaya, I see that you are

Wijaya,
I see that you are using a temporary domain like this: http://12.34.56.789/~yoursite/. I am pretty sure that this is the cause of the problem. The module is generating the notify_url and it is probably not able to pull the correct $base_url from drupal when it is installed on a temporary server alias like that. Once you get a domain name, it should work. Sorry about that. You may be able to fix it temporarily by editing your settings.php file and entering your temporary base url in there.

Sincerely,
Leighton Whiting

hwijaya
Offline
Joined: 08/13/2009
I have edited my settings.php

I have edited my settings.php accordingly, but it's not fixing the problem. Have emailed you the log messages.

- Hence

Leighton Whiting
Online
Joined: 06/02/2009
I guess it is just something

I guess it is just something that will have to wait until you get a domain name. I've had troubles in the past with running drupal on a temporary host name like that. One more suggestion is, try turning JavaScript off in your browser, then view the source on the page that sends you to paypal, and see what the notify_url variable is set to. If I know what it is, I may be able to better help you.

Sincerely,

Leighton Whiting

hwijaya
Offline
Joined: 08/13/2009
The value is like this,

The value is like this, notify_url="http://12.34.56.789/~mysite/paypal/backend"

Please advise. Thanks

Hence

Leighton Whiting
Online
Joined: 06/02/2009
That notify_url looks

That notify_url looks correct, it must be something else. I am debugging it now.

Sincerely,
Leighton

Leighton Whiting
Online
Joined: 06/02/2009
After some debugging, I think

After some debugging, I think I may have found the problem. I think the problem is in the paypal_api_data table not having enough memory for the variables field. Increasing the size of it to 5000 for good measure should be enough to see if that was the problem. You can do this yourself if you would rather.
The problem (I think) is that there were too many fields on your registration screen. Let me know if it works.

hwijaya
Offline
Joined: 08/13/2009
Thanks Leighton, you’re

Thanks Leighton, you’re right. It works now after the variables enlarged, the user is added and I received the email.
I check the report, why total Subscriptions Sold is still 0. Is it an issue too?

Leighton Whiting
Online
Joined: 06/02/2009
Glad to hear it is working

Glad to hear it is working now. I will enlarge the variable to 4096 in the future versions to prevent this bug from happening again.
The Total Subscriptions issue may be a bug. I am actually planning on overhauling this entire page to have some Charts and improved statistics, so I will definitely get this fixed.

Sincerely,
Leighton Whiting

hwijaya
Offline
Joined: 08/13/2009
Thanks Leighton, If i may

Thanks Leighton,
If i may suggest additional features for the next version, it would be great if we can pass some fields (i.e billing info) from user registration page into paypal billing form so the subscriber doesn't need to enter the info twice. Seems we just need to pass the right field-name through paypal api.

Thanks,
Hence

Twitter Feed