Paypal (sandbox) buy now link redirects to paypal (sandbox) login page instead of order summary

Posted by Nicolas on Stack Overflow See other posts from Stack Overflow or by Nicolas
Published on 2010-06-14T08:06:46Z Indexed on 2010/06/14 8:12 UTC
Read the original article Hit count: 715

Filed under:
|
|
|

Hi,
Before going live I try to test the paypal process against the paypal sandbox mode, but after the summary of what the user is going to pay on my website(buy now button), the link does not redirect to a paypal summary of the prder but ask the user to connect to paypal. Even after logging into the buyer sandbox account there's no summary of the order. It just disappears. Here's is the code I use on the checkout page:

    <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> 
        <input type="hidden" name="cmd" value="_s-xclick"> 
        <input type="hidden" name="hosted_button_id" value="XXXXXXXXXXXXXXXX"> 
        <input type="hidden" name="notify_url" value="http://www.website.com/paypal/"> 
        <div class="suggestion"> 
            <input type="image" src="https://www.sandbox.paypal.com/en_GB/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> 
            <img alt="" border="0" src="https://www.sandbox.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1"> 
        </div> 
    </form> 

Any idea why it redirects to the payapl login page instead of the order one? Btw I'm using the Website Basic Payment (not PRO then).

Cheers,
Nicolas.

© Stack Overflow or respective owner

Related posts about redirect

Related posts about paypal