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™

PayPal Pro Forms Return URL Help - Billing Modification

s2Member Plugin. A Membership plugin for WordPress®.

PayPal Pro Forms Return URL Help - Billing Modification

Postby ryanseo » November 3rd, 2011, 4:19 pm

Hello guys,

I'm trying to configure the custom url on return while using PayPal's Sandbox for testing.

I'm trying to work with PayPal using s2member to return after a successful paypal pro billing modification to a template that will show them the proper template they need. Within this template is supposed to be 3 options based on the return of the updated billing modification and out 1 of 3 forms for them to create a post (conditonalized based on current updated role of user).

I've looked at a couple of other threads and saw a filter to use:

Code: Select all
add_filter ("ws_plugin__s2member_redirection_url_after_modification", "my_redirection_url_after_modification");
function my_redirection_url_after_modification ($s2member_default_value, $vars = array ())
    {
        return ($my_custom_url = "http://example.com/thanks-for-upgrading/");
        // print_r($vars); for debugging, if you need more information before creating this URL.
    }


This doesn't seem to be working for me on the billing update modifications pro forms.

Also, when I try to add the success="returnurltosendto" parameter it doesn't return to the URL placed in this.

Is there something I'm doing wrong? I noticed that some people are saying to enable an option within Web Payments Pro that allows you to have a Auto Return PDT/Identity Token , but I don't see this option anywhere within the Sandbox. Is this available to the sandbox? Thanks
User avatar
ryanseo
Registered User
Registered User
 
Posts: 27
Joined: January 10, 2011

Re: PayPal Pro Forms Return URL Help - Billing Modification

Postby ryanseo » November 3rd, 2011, 4:21 pm

Sorry, I meant to say that using the success="returnurltosendto" was used within the new user paypal pro forms , not the billing modification, and that doesn't work either.

From my understanding, I'm using both of these in the right context but they don't seem to be working. I may be missing steps altogether.
User avatar
ryanseo
Registered User
Registered User
 
Posts: 27
Joined: January 10, 2011

Re: PayPal Pro Forms Return URL Help - Billing Modification

Postby ryanseo » November 3rd, 2011, 4:44 pm

I found the Settings within the Sandbox Test PayPal Store for my business account and set the proper PDT/Identity Token and plugged it into my PayPal settings within PDT/Identity Token settings in PayPal Options and it still doesn't seem to want to do any custom return url authorization.
User avatar
ryanseo
Registered User
Registered User
 
Posts: 27
Joined: January 10, 2011

Re: PayPal Pro Forms Return URL Help - Billing Modification

Postby ryanseo » November 3rd, 2011, 7:22 pm

This has been figured out, I had return="" instead of success="" , I had put success="" and it didn't work so I tried return="" as a safety just to see, nothing happened, so thats when I did my latest post after setting up PDT/Identity Tokens. Well, I forgot to re-edit my codes with success="" instead of return="" so it wasn't registering anything, now it works 100%. Sorry folks! Doh! lol
User avatar
ryanseo
Registered User
Registered User
 
Posts: 27
Joined: January 10, 2011

Re: PayPal Pro Forms Return URL Help - Billing Modification

Postby Eduan » November 3rd, 2011, 7:23 pm

Glad you figured it out! :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: PayPal Pro Forms Return URL Help - Billing Modification

Postby Cristián Lávaque » November 4th, 2011, 12:26 am

Thanks for reporting back, Ryan. I'm glad you sorted it out. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron