Announcement

Collapse
No announcement yet.

PayPal Hosted Pro Auto Return

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PayPal Hosted Pro Auto Return

    *This edit is only required for v11 and v12

    To enable "auto return" to the SellerDeck receipt when paying by PayPal Hosted Pro.

    Make a backup of "{sitefolder}\CommonOCC\OCCPayPalHostedTemplate.pl"

    • Rigth click and Edit "OCCPayPalHostedTemplate.pl"

    • Search for the line

    AddPostValues ('&', 'return', $::sCallBackURLUser, $ALWAYS,
    $REDIRECT);
    Insert the following after the above line:-

    AddPostValues ('&', 'showHostedThankyouPage', 'false', $ALWAYS, $REDIRECT);
    • Save and Exit

    • Refresh your web site

    • Next open your PayPal account profile. Here you need to enable "Auto Return".

    • Goto Profile | My Selling Preferences | Website preferences

    • Tick the box "Auto Return"

    • Insert a return URL. This field can just be the Cgi-bin URL from your site Network Settings. Note the URL won't actually be used but the field cannot be left empty!

    Now when placing an order online and paying with PayPal Hosted Pro the buyer will be auto bounced to the SellerDeck Receipt page after making the payment. This works regardless of whether the buyer pays by credit card or from a PayPal account.
Working...
X