Return Url

Target Audience: Users, Developers, Stakeholders

Introduction

This section describes how you can use return URLs to send the user back to your application after an action in the PCP.

How is it used

You append a return URL query parameter to a compatible URL in the PCP.

Where are return URLs used

Return URLs can be used in most actions found in the PCP.

Today (2020-03-12) you can use return URL during:

Purchase

Will populate "Back" buttons and the receipt page with the supplied return URL

1
2
3
Append returnUrl a query parameter to the purchase URL.

/v2/shop/adeprimo_digital?returnUrl=http://myreturnurl.com 

Registration

Will populate "Back" buttons and the confirmation page with the supplied return URL

1
2
3
4
Append account origin a query parameter to the different registration URLs.

/loginregistration?returnUrl=http://myreturnurl.com
/registration/register?returnUrl=http://myreturnurl.com

Activation

Will populate "Back" buttons and the confirmation page with the supplied return URL

1
2
3
Append account origin a query parameter to the activation URL.

/Registration/Lookup?returnUrl=http://myreturnurl.com