Simple Membership Plugin › Forums › Simple Membership Plugin › member email not sending
- This topic has 5 replies, 2 voices, and was last updated 8 years, 4 months ago by
The Assurer.
-
AuthorPosts
-
March 15, 2018 at 7:54 pm #13733
snake
ParticipantI am using paypal sandbox to test the site with plugin.
So according to the docs, an email is sent after a user pays with a link to create user.I am not getting any such email.
Does it work with paypal sandbox?
Also does it require paypal to do a silent callback to the site in the background, as this also wouldn’t be working as the site is password protected ATM.March 15, 2018 at 8:03 pm #13734The Assurer
ModeratorThe purpose of Sandbox testing, in the plugin, is to ensure the communications between PayPal and the plugin are working correctly. Sandbox testing does not test the emails; because PayPal sandbox addresses cannot receive external emails.
You must have PayPal IPN properly setup:
https://simple-membership-plugin.com/enabling-paypal-ipn-feature-in-your-paypal-account/
You should also have the debug logs turned on, and the plugin in “Sandbox” mode.March 15, 2018 at 8:23 pm #13735snake
ParticipantI know the purpose of Paypal sandboxes thanks, which is exactly why I am using it.
The plugin is in sandbox mode, thus why I am posting this question. It is actually very easy to tell.
Live mode goes to paypal.com
sandbox mode goes to http://www.sandbox.paypal.comBut since the member accounts are created by the plugin not by Paypal, then one would naturally assume that the emails are sent out via wordpress not via paypal.
The normal process I have used is that after payment, the user is redirected back to the website where any other actions occur.
Paypal only sends out emails relating to the transaction. I have never seen paypal send out activation emails to create accounts on external websites, so I think you are mistaken on that front.March 15, 2018 at 8:53 pm #13736The Assurer
Moderator…I have never seen paypal send out activation emails to create accounts on external websites…
“Activation emails” are sent by the plugin, not by PayPal. Payment receipts are sent by PayPal.
By reading the following threads, you will determine that the “normal” Sandbox behavior is for PayPal to send an IPN to the plugin; which ends the transaction testing between PayPal and the plugin. But because the plugin itself is in sandbox mode, the IPN validation will fail; which is why no activation emails are sent.
March 15, 2018 at 9:07 pm #13737snake
Participantok, in which case, how does one check that everything is working and that members get created without having to make a REAL transaction?
With any other plugins I have used, they work fully in sandbox mode.
March 15, 2018 at 9:14 pm #13739The Assurer
ModeratorYou use sandbox mode to test the payment transaction part, between PayPal and the plugin. That is the sole purpose of the sandbox mode in the plugin.
You create a free membership level and test the signup/registration process that way. And you will receive all of your expected emails.
When “going live,” the same code segments are used. Yes, it’s a pain to some people and may appear to be clunky. But really, how many times, or how often, does a person have to run something in sandbox mode to be satisfied they have it configured correctly?
-
AuthorPosts
- You must be logged in to reply to this topic.