开发者

paypal integration in asp.net with c#

I am trying to integrate paypal gateway in my aspx page having shopping cart. I succeed to c开发者_如何学运维ommit transaction using express checkout method generated by paypal integration wizard but what I am being unable to do is sending product quantity and details to paypal page.

And how can I redirect to my own review page where shipping and billing address is present after log in into the paypal?


how can i redirect to my own review page where shipping and billing address

First you need to send a unique number id for the order that is connected to your database with the information that you like to show after the purchase.

Then you send the "return" parametre with the full url with the unique id of your order that your customer will return and you need to show the final informations.

eg:
<input type="hidden" name="return" value="https://www.urls.con/orderinfos.aspx?TID=112999182">

of cource for better protection is good to encode some how your order id. All of that exist on the paypal sdk manual.

Also return url are the "notify_url" to be notify even if the user not return, and "cancel_return" in case of cancel the payment

You can also search for PDT for the return, and IPN for the notify for more advanced information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜