paypal - Setting a Return URL for returning after success payment -
i set paypal button wizard, , set return url www.mydomain.com/payment.php , enabeled return url
.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top" class="paypalbtn"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="m4vfseteytreq4"> <img alt="" border="0" src="https://www.paypalobjects.com/en_us/i/scr/pixel.gif" width="1" height="1"> </form>
now buy item, pay credit card...card pass in end paypal page invoice link site.
how can make sure after success payment user redirected return url?
when buyer pays credit card, there not way automatically redirect buyer site. have click return link. modify text of link like, must click link complete order on site.
the variable text "cbt
".
sets text return merchant button on paypal payment complete page. business accounts, return button displays business name in place of word "merchant" default. donate buttons, text reads "return donations coordinator" default.
note: cbt variable takes effect if return variable set.
othereise, set ipn customers site. not dependent on buyer returning site. sent regardless if buyer returns site.
Comments
Post a Comment