Home › Forums › Community Forum › paypal pro form notn working
This topic contains 29 replies, has 4 voices. Last updated by Mike 4 years, 2 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Oct 10th, 2012 at 8:49 pm #28051 | |
|
|
i have been trying really hard to get paypal pro forms working but it’s not working. the form here https://www.michaelsharp.org/how-to-subscribe/student-rate-monthly no matter what I try, doesn’t work. it takes me to paypal then says “almost done, you’ll need to confirm your payment back at the website” but then just returns to the same page and nothing happens. no user is created, no payment is processed, nNADA. incidentally, the credit card options work through paypal. but when I select the paypal option, it just chokes. HELP p.s., if you do a test purchase i will refund your money |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Thursday Oct 11th, 2012 at 7:00 am #28101 | |
|
|
Hi Mike. I tried the PayPal option for the payment and was taken to PayPal without that message, instead I’m given the choice to login to an existing PayPal account or create a new one (subscriptions with Express Checkout require the user to have a PayPal account). Do you get those too and the error happens later in the process, or am I having a different experience from yours? Do you have logging enabled? It’d be good to see the entries for those tests you did. If you post the the log entries here, remember x’ing out all private information from them. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging[/hilite] Thanks! |
|
Posted: Thursday Oct 11th, 2012 at 9:01 am #28123 | |
|
|
it happens right after that. you click the button that says it will take you back to the site and it doesn’t work. you have to go a bit farther. don’t worry, it won’t work and you won’t be charged |
|
Posted: Thursday Oct 11th, 2012 at 7:17 pm #28177 | |
|
|
hello? |
|
Posted: Friday Oct 12th, 2012 at 9:21 am #28240 | |
|
|
Okay. I completed a test purchase with my wife’s PayPal account (Ana Danel) and got returned to the page with the pro-form. There were no error messages, but I haven’t gotten any emails about the purchase either. Do you have logging enabled? I’d like to see the entries (from all the log files) for the transaction (x’ing out any private info). Thanks! [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging[/hilite] |
|
Posted: Friday Oct 12th, 2012 at 10:06 am #28242 | |
|
|
PHP v5.3.3 :: WordPress® v3.4.2 :: s2Member® v120703 :: s2Member® Pro v120703 |
|
Posted: Friday Oct 12th, 2012 at 2:25 pm #28261 | |
|
|
FYI I checked the paypal IPN and pDT return settings and they are correct. also, I am NOT setting the success shortcode in the proforms shortcode. so i don’t know why the paypal RETURN url is wrong |
|
Posted: Saturday Oct 13th, 2012 at 1:38 am #28302 | |
|
|
Thanks for the log entry. Is that the only one? Weren’t there other log files with entries for the transaction? What about the IPN log? Could you also install the Email Log plugin? I’d like to see if the emails are being sent. http://wordpress.org/extend/plugins/email-log/ If you are okay with it, I’d like you to send me the site’s info so I can set up a test pro-form for 1 cent and do a bit more testing and looking at the logs, to see if I can spot this faster than exchanging a post after each thing. s2Member® » Private Contact Form Thanks! |
|
Posted: Saturday Oct 13th, 2012 at 11:19 am #28338 | |
|
|
ok i sent you the login information. there was no information in the IPN log related to your transaction so I didn’t include it. |
|
Posted: Monday Oct 15th, 2012 at 8:21 am #28404 | |
|
|
Thanks, got the email. I read the logs (most of the entries) and the IPN log very often shows the custom field missing. Could you verify that your pro-form shortcodes aren’t missing the [hilite mono]custom[/hilite] attribute? [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes -> custom[/hilite] Did you import users with existing subscriptions to the site? If so, you need to populate their profiles with the gateway and subscr. ID. I looked at the plugins you have installed and found that W3 Total Cache has object caching enabled. This is known to cause problems. http://www.primothemes.com/forums/viewtopic.php?f=36&t=6309#p62322 I noticed this in the paypal-rtn.log file:
Could change Pro Forms / Recurring Profile Behavior to “in real-time”? [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Pro Forms / Recurring Profile Behavior[/hilite] If those don’t solve the problem, you could test the other plugins. You have over 50 installed, half of them active, and it’s possible that there is a conflict somewhere. To test, deactivate them and try doing a transaction, see if it goes well. Remember to do a backup before starting the tests. Let me know how it goes. :) |
|
Posted: Monday Oct 15th, 2012 at 9:26 am #28416 | |
|
|
the custom attribute is missing. i took it out because the form wasn’t working and I thought you didn’t need it. what is the correct value for that custom attribute? |
|
Posted: Monday Oct 15th, 2012 at 9:27 am #28418 | |
|
|
s2Member Pro opens the door for Custom Return URLs upon success. You can add a special attribute to any Form Shortcode ( success=”/my-thank-you-page/” ). This makes it possible to integrate PayPal® Pro Forms in very creative ways; and even receive/verify Replacement Code variables, as needed. For example, ( success=”/my-thank-you-page/?subscr_id=%%subscr_id%%” ). A Custom Return URL is 100% optional. In fact, if you only need to obtain details for the purpose of tracking sales, you should just use the simpler API Tracking methods provided by s2Member, under: s2Member -> API / Tracking. In other words, if you don’t use the success=”” attribute in your Shortcode, s2Member will handle things gracefully, all on its own. So using a Custom Return URL is only necessary when you need advanced customization for one reason or another. — says in the above custom attribute is not needed |
|
Posted: Monday Oct 15th, 2012 at 9:51 am #28428 | |
|
|
my mistake. the custom attribute is there. it is set [s2Member-Pro-PayPal-Form level="1" ccaps="" desc="$9.99 USD / Monthly ( recurring charge, for ongoing access )" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.michaelsharp.org" 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: Tuesday Oct 16th, 2012 at 8:31 am #28515 | |
|
|
Right, I see it there: [hilite mono]custom="www.michaelsharp.org"[/hilite]. Could you confirm that it is in every pro-form shortcode you’re using? What about the other things I mentioned? :) |
|
Posted: Tuesday Oct 16th, 2012 at 9:43 pm #28620 | |
|
|
i haven’t tested without plugins yet. i’ll do that today. and yes the shortcode is in there. |
|
Posted: Wednesday Oct 17th, 2012 at 9:12 am #28683 | |
|
|
Cool. I look forward to your update after the tests. :)
And these? |
|
Posted: Wednesday Oct 17th, 2012 at 9:27 am #28687 | |
|
|
i did not import users. all users are new. old ones that were there before work fine i checked the w3cache issues link, it doesn’t seem like it should be related. but we’ll see today cause I’ll disable all plugins and try like that |
|
Posted: Wednesday Oct 17th, 2012 at 9:55 am #28700 | |
|
|
Okay, thanks. :) |
|
Posted: Friday Oct 19th, 2012 at 10:55 am #29031 | |
|
|
ok i did everything you said. i disabled every plugin except s2 and tried the paypal thing again and it STILL DID NOT WORK. i am returned to the form with the following URL it shouldn’t be going to that form, it should be going to the return page specified in the paypal return right? but for some reason paypal is getting the wrong return. |
|
Posted: Saturday Oct 20th, 2012 at 12:35 am #29099 | |
![]() |
|
What URL do you have specified in the PayPal Return? If you want to send the customer to a special thank you page after they complete their payment, you should be using the success=”” attribute in your Pro-Form shortcode (see Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained)). |
|
Posted: Saturday Oct 20th, 2012 at 1:17 pm #29158 | |
|
|
the return url is RPN http://www.michaelsharp.org/?s2member_paypal_return=1 I’m not trying to send them anyplace special, i just want the bloody form to work. |
|
Posted: Sunday Oct 21st, 2012 at 9:40 am #29201 | |
|
|
That’s fine. The user is going back to the return URL and then forwarded by s2Member to the URL you quoted. If you used the [hilite mono]success[/hilite] attribute and the checkout goes well, the user would then be taken to the URL specified in your [hilite mono]success[/hilite] attribute.
Did you change that setting? Have the new test transactions had any problems? Did the payment happen? Do the logs show any problems? I’ve also emailed Jason asking him to look into this. |
|
Posted: Wednesday Oct 24th, 2012 at 6:11 am #29480 | |
![]() |
|
Thanks for the heads up on this thread.Regarding this return URL which s2Member Pro is returning you to after Express Checkout via PayPal.
This URL is correct. Express Checkout via s2Member Pro Forms is NOT the same thing as PayPal Standard (e.g. there is no special return page configured for this type of transaction via Express Checkout). With PayPal Express Checkout, the customer is returned immediately back to the Pro Form that they started with, and a message will be displayed above the Pro Form indicating success or failure of the transaction result that took place during PayPal Express Checkout. Note however, the link above will NOT work now, because s2Member Pro Forms will ONLY analyze return data for any given token= value, for up to 20 minutes after checkout, and only for the active session. Therefore, it’s best to test this in a sandbox and/or live environment, and not to make an attempt to test this link after the checkout session has ended (e.g. it’s after the fact). To clarify…
Is if you set the
It sounds to me like the issue you’re experiencing is that after Express Checkout at PayPal, upon returning to your s2Member Pro Form, there is no message being displayed above the Pro Form? Is that correct? Your logs indicate this as well, so I’ll assume that I’m right about this. I received details for your site, and took a quick look at your s2Member Pro log file here: The lack of anything in this log file, other than API calls to “SetExpressCheckout”; indicates to me that s2Member IS posting details for PayPal Express Checkout (i.e. s2Member is handling “SetExpressCheckout”), but customers are never returning to your site? Or, if they are returning, s2Member is missing the details submitted in the query string of the URL (i.e. the token= value). This is not normal behavior. Which leads me to think there could be a theme and/or plugin compatibility issue preventing certain variables in the URL from being interpreted properly by s2Member. This could also be caused by server configuration, or even by the configuration of your caching plugin. The site which I investigated via emails related to this thread, was running a non-default WP theme with 25 other plugins, besides s2Member. If problems persist, please setup a test installation with this issue, running on the default WP theme, and with only the s2Member plugin active. We’ll be happy to take a closer look for you. To my knowledge, this is not a widespread issue (i.e. nobody else has reported this), so we’ll need to exclude the possibility of a theme or plugin conflict in order to move forward please. Thanks! |
|
Posted: Thursday Oct 25th, 2012 at 3:24 pm #29690 | |
|
|
you know, is there a way to just turnoff the paypal express option and just use the pro? I tried taking out the paypal option from the form but it shows up anyway
|
|
Posted: Friday Oct 26th, 2012 at 8:14 am #29754 | |
|
|
No, Express Checkout always has to be an option according to PayPal’s terms, that’s why it can’t be removed. |
|
Posted: Friday Oct 26th, 2012 at 8:55 am #29768 | |
|
|
well i tried everything now. i tried a test install with the default theme and only s2member running and it still doesn’t work. at this rate it will be six months before this is resolved. a response every two days is just dragging this out? is that intentional? |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.