Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate – S2 Member Specific Post/Pages NOT RETURNING back correctly
Tagged: s2member, specific post, WP Affiliate, wp affiliate platform
- This topic has 1 reply, 2 voices, and was last updated 11 years, 11 months ago by admin.
-
AuthorPosts
-
December 13, 2012 at 5:39 pm #8154caraballo_luisMember
Hi! First of all, want to congratulate you for this awesome plugin i bough few days ago.
I’m trying to integrate it with S2MEMBER and did all the instructions for the SPECIFIC POST/PAGE integration here: http://www.tipsandtricks-hq.com/wordpress-affiliate/integrating-s2member-plugin-with-the-wp-affiliate-software-368
Everything works fine, the affiliates get credited with the sale, and the buyer receive an email with the link access for their product (USING THE NORMAL PAYPAL BUTTON SHORTCODE OF S2MEMBER)
BUT…
Right after the sale, THE DO NOT GET DIRECTLY REDIRECTED TO THE SPECIFIC PRODUCT/PAGE THE JUST BOUGHT…
It appears the following error message:
ERROR: Unable to verify $_POST vars.
Please contact Support for assistance.
This is most likely related to an invalid configuration of s2Member, or a problem with server compatibility. If you are the site owner, and you’re absolutely SURE that your configuration is valid, you may want to run some tests on your server, just to be sure $_POST variables are populated, and that your server is able to connect/communicate with your Payment Gateway over an HTTPS connection.
s2Member uses the WP_Http class for remote connections; which will try to use cURL first, and then fall back on the FOPEN method when cURL is not available. On a Windows® server, you may have to disable your cURL extension; and instead, set allow_url_fopen = yes in your php.ini file. The cURL extension (usually) does NOT support SSL connections on a Windows® server.
Please see this thread for details regarding the ideal server configuration for s2Member.
………….
As a side note, i included my Payment Notification URL (http://www.your-domain.com/wp-content/plugins/wp-affiliate-platform/api/post.php?secret=XXXX&ap_id=%%cv1%%&sale_amt=%%amount%%&buyer_email=%%payer_email%%) to ALL THE FIELDS in S2MEMBER-API NOTIFICATIONS (Sign up notifications, registration notifications, payment notifications, modifications, cancellation, EOT/Deletion, Refund, Specific Post/Page Sales Notifications, Specific Post Page Refund Notifications.
I used the PAYPAL BUTTON that comes from the SHORTCODE…
THANKS!
December 13, 2012 at 11:59 pm #52388adminKeymasterHi, The affiliate plugin doesn’t do anything with redirection after a payment so this shouldn’t be caused by this plugin. All the post payment redirection and other things are still controlled by s2member plugin or your PayPal account settings as usual.
Also the following error is not coming from the affiliate plugin. You need to find out which plugin is giving that error then contact their support as stated:
ERROR: Unable to verify $_POST vars.
Please contact Support for assistance.You should be able to reproduce this issue even with the affiliate plugin deactivated. So deactivate the affiliate plugin and do a payment test to verify.
-
AuthorPosts
- You must be logged in to reply to this topic.