Simple Membership Plugin › Forums › Simple Membership Plugin › Connection to www.sandbox.paypal.com failed
- This topic has 1 reply, 2 voices, and was last updated 10 years, 7 months ago by
mbrsolution.
-
AuthorPosts
-
April 18, 2016 at 3:03 pm #6535
Ema
ParticipantHi !
Thanks for this plugin.
I’m having trouble with the paypal sandbox mode ( i’m using WP version 4.5 and simple membership version 3.2.2 ) :
– i create a paid membership
– i create accounts in the paypal sandbox ( buyer/seller)
– i activate IPN as mentionned on the documentationWhen I pay clicking on the “subscribe” button i’m redirected to sandbox paypal. The transaction is ok and redirect to the site “thank you page”. The buyer’s account and the seller’s account are showing that the transaction is done.
The problem is :
– no email is sended to user ( i use a real email for the buyer account )
– no user is added in WP adminThe DEBUG mode is enabled and the log says :
04/18/2016 2:03 PM] - SUCCESS :Post string : mc_gross=5.00&protection_eligibility=Ineligible&payer_id=55KVUCQ7KTMKY&tax=0.00&payment_date=07%3A03%3A16+Apr+18%2C+2016+PDT&payment_status=Completed&charset=UTF-8&first_name=Ema&mc_fee=0.42¬ify_version=3.8&custom=subsc_ref%3D5%26user_ip%xxxx.x.xxx.xxx&payer_status=verified&xxxxxxx%40gmail.com&quantity=1&verify_sign=A4ffosV9eZnI9PfOxrUT6ColxyFXA8HthxkfwmKklzkzd1ludJumdVKA&payer_email=xxxxx%40gmail.com&txn_id=3PU76324K2552441X&payment_type=instant&last_name=xxxxx&receiver_email=xxxxxxxx%40gmail.com&payment_fee=&receiver_id=QPHCEPRLFBR5Y&txn_type=web_accept&item_name=Devenir+Membre+Premium&mc_currency=EUR&item_number=287&residence_country=FR&test_ipn=1&handling_amount=0.00&transaction_subject=&payment_gross=&shipping=0.00&ipn_track_id=cd2f0a5458deb& [04/18/2016 2:03 PM] - FAILURE :Connection to www.sandbox.paypal.com failed.fsockopen error no. : [04/18/2016 2:03 PM] - SUCCESS :Paypal class finished.I tried to check the swpm_handle_subsc_ipn.php file to understand why the error has no name but noting found.
Please, can i have some help to found and resolve this problem ?
I can’t test on live, i really need to test with the sandbox.Thanks in advance,
EmaApril 19, 2016 at 4:58 am #6539mbrsolution
ModeratorHi, in sandbox testing there is no e-mail sent because this is a fictitious account. The sandbox testing is to test if the transaction occurs. If you test in real mode you will notice that everything will work correctly.
Let me know if you need more help.
-
AuthorPosts
- You must be logged in to reply to this topic.