• Welcome to KonaKart Community Forum. Please login or sign up.
 

Reg:PayPal

Started by karthik, November 21, 2007, 02:21:25 pm

Previous topic - Next topic

karthik

Hi,
   I am using PayPal as my payment module. I've created a buyer and seller test account in PayPal. When i confirm a order, the page is redirected to payment gateway of PayPal(https://www.sandbox.paypal.com/cgi-bin/webscr), where i have to enter my buyer user id and password.Finally, payment gets transacted to sellers account and order is confirmed.These happens when i'm already login to PayPal .

             But without logging to PayPal,when i confirm a order the page is redirected to home page of PayPal(https://developer.paypal.com).There i can't able to enter my buyer's test account details(user id & pwd) to complete my order.

           is there any settings in admin panel to redirect the page only to the page where i 've to enter only my buyers test account details....

Thanx
Karthikeyan
                 

julie

Hi Karthik,

If you take a look at the source code of the PayPal module, you'll see that based on setting test mode to on or off in the Admin App we do the following:

        if (payPalTestMode)
        {
            pDetails.setRequestUrl("https://www.sandbox.paypal.com/cgi-bin/webscr";);
        } else
        {
            pDetails.setRequestUrl("https://www.paypal.com/cgi-bin/webscr";);
        }

If you want to set it to some other address, you can just edit that code and recompile.

Regards,

Julie

karthik

Hi,
    Thanx 4 ur kind reply..I'll just try it out