• Resolved mpbaweb

    (@mpbaweb)


    Hello
    There is a thankyou page parameter to enable display of a page when submission is successful, but none for a failure – e.g. PayPal step abandoned by user.
    How should this be handled?

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @mpbaweb,

    In the current version of the plugin if user abandon PayPal, he is redirected to the same page where the form is. However, you can insert at beginning to the form, a “HTML Content” field with an alert message and a script that verifies the referrer to display the message or not, for example as follows:

    
    <div class="unpaid" style="display:none;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis tempor.</div>
    <script>
    if(document.referrer.indexOf('paypal') >= 0) { jQuery('.unpaid').show(); }
    </script>
    

    Note: Please, be sure your website is protected with ssl (https://&#8230;) or the referrer wont be included.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘PayPal abandoned’ is closed to new replies.