PayPal integration in asp.net with C #

I am trying to integrate a paypal gateway on my aspx page with a shopping cart. I managed to complete the transaction using the express verification method created by the PayPal integration wizard, but what I can not do is send the quantity and product details to the PayPal page.

And how can I redirect to my own review page, where is the delivery address and billing address after entering PayPal?

+6
source share
1 answer

how can I redirect to my own review page where the delivery address and billing address

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

Then you send the "return" parameter with a full URL with a unique identifier for your order, which will be returned by your customer, and you need to provide the final information.

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

For better protection, itโ€™s useful to encode some of them as your order ID. All this exists in the paypal sdk manual.

Also return the "notify_url" URL for the notification, even if the user does not return, and "cancel_return " in case of cancellation of payment

You can also find PDT for return and IPN for notification for more details.

+3
source

Source: https://habr.com/ru/post/891537/


All Articles