- This topic has 1 reply, 2 voices, and was last updated 12 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Testing/Debugging eMember with PayPal Sandbox
Tagged: Debug, integration, papypal, sandbox, Testing
Folks,
I am running my WP install in a local environment for development purposes. So the URL for my site looks something like http://xxx:8888/. Additionally, I am using the PayPal Sandbox for testing. So I have both debugging and sandbox enabled in the plugin, and here is what I am getting when I try to purchase a membership using a Buy Now button:
The user goes over to the Sandbox and successfully makes the purchase.
Clicking on the “Return to XXX” gets them back to my local environment.
The PayPal-generated emails are there in the Sandbox (these never actually get sent).
But no membership is created for the user in eMember. My first thought was that PayPal was not able to communicate back the the IPN script. But when I look in eMember_debug.log, I see entries like this:
[12/04/2011 4:51 AM] – SUCCESS :Performing membership level specific autoresponder signup if specified.
And a number of others like it dealing with Autoresponders. I haven’t set any of that up yet, and the email from eMember is never going to go out to the subscriber because the auto-generated Sandbox email addresses are bogus. I’ll deal with those when I move to a public machine. But no membership was created that I can manually go in and enable. Does the plugin only work if the email actually goes out to the subscriber? That seems awfully fragile. I don’t see anything else in the error log that would indicate that anything went wrong.
Any help is appreciated.
PayPal cannot send notification to a local environment. In order for PayPal to be able to send the Payment notification the server MUST be accessible by PayPal (you need to be able to access it via a domain name or an IP address).
The following is a good post to read: