latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

After Visa/Card Checkout, Success URL?

Home Forums Community Forum After Visa/Card Checkout, Success URL?

This topic contains 8 replies, has 3 voices. Last updated by  Eduan 4 years, 5 months ago.

Topic Author Topic
Posted: Monday Aug 6th, 2012 at 9:31 pm #21289
Ryan Black
Username: mrjack92

Hi guys,

I’m in the midst of testing the payment backend for a site I’m working on. Right now I have a Sandbox account linked with s2member Pro, to a Paypal Pro Sandbox Account. I also have a Buyer account and a Buyer In-Store Sandbox account set up to act as the customer.

I have multiple pages with Pro-Forms on them, each one for a different length of EOT time. (1-month, 3-month, etc). These are on the url (http://myurl.com/subscriptions/1-month-subscr).

I have Paypal Pro credentials all entered, but not Payflow Credentials. The client that the website is for says that he has Paypal Pro, but not PayFlow. Do I need Payflow for this to work correctly?

I enter in the test Visa Credentials and click Submit. Instead of being sent to the Auto-Return URL, or the Custom URL from the success=”” shortcode (I tried both), I am sent to the same page, except with a “Thank you for your payment” message on top of that. Shouldn’t the user be sent to the Auto-Return URL by default? If not, then where is the user supposed to enter their password?

Also, the user that is created because of this form is a Level #0 Subscriber, not Level #2 like it should be. So something isn’t working. Am I missing something?

Thanks in advance,

-Ryan

  • This topic was modified 4 years, 5 months ago by  Ryan Black.
  • This topic was modified 4 years, 5 months ago by  Ryan Black.

List Of Topic Replies

Viewing 8 replies - 1 through 8 (of 8 total)
Author Replies
Author Replies
Posted: Monday Aug 6th, 2012 at 9:44 pm #21292
Eduan
Username: Eduan
Moderator

Hello Ryan,

Could you please post the shortcode that you are using? Thanks. :)

Posted: Monday Aug 6th, 2012 at 9:47 pm #21293
Ryan Black
Username: mrjack92

Here is the shortcode:

[s2Member-Pro-PayPal-Form level="2" success="http://myurl.com/subscriptions/register-success/" ccaps="" desc="Subscription Purchase: $9.99 USD / Monthly (recurring charge, for ongoing access)" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="myurl.com" ta="0" tp="0" tt="D" ra="9.99" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]
Posted: Monday Aug 6th, 2012 at 10:05 pm #21294
Eduan
Username: Eduan
Moderator

Well, I don’t see anything wrong with it. Just as a test, does it work if you put the success attribute as the last value?

Posted: Monday Aug 6th, 2012 at 10:45 pm #21298
Ryan Black
Username: mrjack92

Nope, that didn’t do it either.

It seems to do this only when the Payflow Credentials are not entered. However, when I enter in Payflow Credentials, I get an “Error #1: User Authentication Failed”.

Posted: Tuesday Aug 7th, 2012 at 1:00 am #21307
Ryan Black
Username: mrjack92

One more thing:

When I use Paypal as the Payment method, I am sent to the Paypal (test) site. After I click agree and continue, I am sent right back to the page with the form (instead of the Auto-Return URL), and the url has changed to “http://myurl.com/subscriptions/1-month-subscr/?s2-ssl=yes&s2member_paypal_xco=s2member_pro_paypal_checkout_return&token=EC-5K8294321N451580W”.

Any ideas?

  • This reply was modified 4 years, 5 months ago by  Ryan Black.
Posted: Wednesday Aug 8th, 2012 at 5:36 pm #21551

This appears to be the same problem I am having :(

Posted: Wednesday Aug 8th, 2012 at 7:08 pm #21559
Ryan Black
Username: mrjack92

Andy, I was able to fix this issue after much trial and error testing.

Make sure all kinds of plugins that optimize/cache wordpress are deactivated, make sure that Encrypted Buttons option under s2member -> Paypal Options is turned off as well.

I don’t know if this solved it, but I also added a

success="http://myurl.com/?s2member_paypal_return=1"

at the end of my Pro form Shortcode.

Hope this helps!

  • This reply was modified 4 years, 5 months ago by  Ryan Black.
Posted: Thursday Aug 9th, 2012 at 9:24 am #21623
Eduan
Username: Eduan
Moderator

What caching plugin do you have Ryan? Whichever you have, you should only disable object caching I believe.

Also, don’t deactivate button encryption, without it people could easily hack your button and pay 1 cent for a $50 product.

Viewing 8 replies - 1 through 8 (of 8 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.