PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
! | ( the image attachment here was removed, it contained personally identifiable information ) |
<input type="hidden" name="return" value="URL goes here" />
Cristián Lávaque wrote:Jason, does the custom URL for the button need the ?s2member_paypal_return=1 at the end?
<input type="hidden" name="return" value="http://www.example.com/thank-you/" />
<?php
if(!empty($_GET["s2member_paypal_return"]))
{
header("Location: http://www.example.com/thank-you/");
exit();
}
?>
*PayPal® Pro is NOT Absolutely Required* s2Member is very flexible. It is now possible to integrate Pro Forms without a PayPal® Pro account, whereby the enhanced Form Shortcodes that s2Member provides can be integrated ONLY with PayPal® Express Checkout. In other words, if you get declined for PayPal® Pro service, you can still use s2Member Pro Forms. Ask PayPal® to activate Express Checkout for you. ( it's free ). Once Express Checkout is enabled, you will have access to your PayPal® API Credentials. Log into your PayPal® account, and navigate to Profile -> Request API Credentials. You'll choose ( PayPal® API ), and then choose ( Create Your Own ). Now ... here is the tricky part; whenever you generate a Pro Form Shortcode with s2Member, be sure to change accept="paypal,visa,mastercard,amex,discover,maestro,solo" to just accept="paypal"; thereby excluding the on-site credit card processing functionality; which is available only with PayPal® Pro.
[s2Member-PayPal-Button ... success="http://my/custom/thank-you/page" ... /]
Cristián Lávaque wrote:Great!
Will it only work with full URLs or also URIs (e.g. /custom-thankyou)?
Cristián is correct. All aspects of s2Member Pro Forms will work with PayPal Express Checkout too. *Except*, all payments are actually processed at PayPal Express Checkout, and NOT directly on your site. In other words, you can't process credit cards "on-site" without a PayPal Pro account. Everything ultimately goes through PayPal Express Checkout. But, everything else works fine, which is much better than standard PayPal Buttons ( in my opinion ).Cristián Lávaque wrote:Coupon codes will work with pro-forms, whether the gateway is PayPal Pro or Standard.
I'm not sure about being sent to PayPal or staying on the website, though, but I'm guessing that you get sent to PayPal since staying on the website is a PayPal Pro feature.
Return to Common Questions/Problems/Tips
Users browsing this forum: No registered users and 2 guests