Why Are the Images/Links on my Approved URL Broken?

When Direct Return is enabled (set to ‘Yes’), your Approved URL page will be fetched and displayed to the customer while they remain on 2Checkout’s server. Because of this, images and links that use relative paths will not resolve correctly, resulting in broken images and incorrect link destinations.

To fix this, you will need to specify a base URI for your Approved URL. This can be accomplished by inserting the following line between the <HEAD> tag of your page:

<base href=”http://www.example.com/pathto/approved.html”/>

The URL specified after ‘href=’ should be changed to your Approved URL.

Recent Posts from the Community:

Get Payments

posted by: dspzaman

Referring URL

posted by: hipdev

SPP suggestion

posted by: brakkar

API Beta

posted by: cliff

session destroy

posted by: rojan
More from the community »

Spotlight Supplier

Spotlight Supplier

Feng Shui Products


Popular Tags