success attribute never works
-
I have a page with hundreds of movies. Each is it’s own post.
I sell them pay per view via selling a S2Member Level 1 + CCAP.
The CCAP is beeing created with my own aod_ccap() function.Now I do not want the customers to see the damn S2Member return page.
I want them to be redirected directly to the post, where they pressed the paypal button. But they get redirected to my paypal-return.php every freakin time.
I am trying to set the success attribute to:
success=”‘.get_permalink().’?transaction=success”.I simply do not understand in which case S2Member uses the success attribute, and in which not.
The return template of S2Member would be of use, if it wouldn’t redirect the user to the freakin Homepage -.-
Any suggestions on what I am doing wrong?
function aod_paypal_button($value_eur, $license) { return do_shortcode('[s2Member-PayPal-Button level="1" ccaps="' . aod_ccap() . '_' . $license . '" desc="' . ucwords(str_replace('_', ' ', aod_ccap())) . '" ps="AOD" lc="" cc="EUR" dg="0" ns="1" custom="192.168.1.69" ta="0" tp="0" tt="D" ra="' . str_replace(',', '.', $value_eur) . '" rp="2" rt="D" rr="BN" rrt="" rra="1" image="default" output="url" success="' . get_permalink() . '?transaction=success" /]'); }
The topic ‘success attribute never works’ is closed to new replies.