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.
source share