Announcement

Collapse
No announcement yet.

Secure Trading: Automatically returning to the SellerDeck receipt page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Secure Trading: Automatically returning to the SellerDeck receipt page

    In order to enable the customer to be automatically sent from Secure Trading after payment to the SellerDeck site receipt page, you need to add the following code to the 'Success' and 'Failure' pages that can be downloaded from the Secure Trading server via your account.

    SUCCESS page

    The following code needs to be added within the <head> tag of the page: -

    Code:
    <script type="text/javascript">
    function open_win()
    {
    window.open("$callbackurluser",'_self')
    }
    </script>
    and the <body> tag needs to be modified to look like this: -

    Code:
    <body onLoad="open_win()">
    FAILURE page

    The following code needs to be added within the <head> tag of the page: -

    Code:
    <script type="text/javascript">
    function open_win()
    {
    window.open("$callbackurlback",'_self')
    }
    
    </script>
    and the <body> tag needs to be modified to look like this: -

    Code:
    <body onLoad="open_win()">
    Once you have made these modifications, upload them to the Secure Trading server.
Working...
X