PayPal Pro Forms Return URL Help - Billing Modification
Posted: 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:
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
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