Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with PayPal API: Cart not going to PayPal


judge

Recommended Posts

Posted

Hi, Newbie here. (and hopfully posting in the right section this time!)

 

I've just set up my first OSCommerce shop and we want to have PayPal as the only payment option. I have enabled the PayPal module and sure enough it goes to the PayPal site with the correct recipient listed at the top, however no cart contents make the transition to the PayPal 'invoice' and PayPal complains the price must be greater than 'zero' - I have also enabled the credit card module to check all works fine and it does. However when we launch we only want PayPal.

 

I have no other modules running or patches.

 

Please help a newb.

 

Many thanks,

 

Andy

Posted

Update:

 

I have worked out my problem, when configuring the PayPal module I set the currency as UKP and not GBP which it seems is PayPal speak for £ sterling. When I changed it to GBP PayPal worked a treat HOWEVER, every reference to prices on the site reverted to 0 which doesn't help me.

 

So given how longe I've spent setting this up with product items please help me with a workaround which doesn't mean re-writing the entire product set :'(

Posted
Update:

 

I have worked out my problem, when configuring the PayPal module I set the currency as UKP and not GBP which it seems is PayPal speak for £ sterling. When I changed it to GBP PayPal worked a treat HOWEVER, every reference to prices on the site reverted to 0 which doesn't help me.

 

So given how longe I've spent setting this up with product items please help me with a workaround which doesn't mean re-writing the entire product set :'(

I get the same problem with prices (the total amount carried over is not working) ... all bought items revert to 0.00 when I reach the PayPal site ... I too am using GBP (UK £) ...

 

cheers,

Gem

:)

Posted
I get the same problem with prices (the total amount carried over is not working) ... all bought items revert to 0.00 when I reach the PayPal site ... I too am using GBP (UK £) ...

 

cheers,

Gem

:)

Well once again this same solution helped me here:

 

1. Open up includes/languages/english.php

2. Change the define('LANGUAGE_CURRENCY', 'USD'); to define('LANGUAGE_CURRENCY', 'GBP');

3. Change "USE_DEFAULT_LANGUAGE_CURRENCY" to true in your Shop Admin.

 

since changing this for setting the default currency is has sorted out the PayPal (zero's) issue too ... PayPal now has the correct info in it hands i.e. ALL transactions are the right amount ... Qty Amount, SubTotal, P&P & Total ... no more zero's ...

 

One thing though ... is it also supposed to transfer the customer shipping details too ... like their Billing Address ... Email address ... seems a pain typing it out all over again ... for the customer that is ... but I'm happy at this point :)

 

cheers,

Gem

:)

Posted

Might be that currency conversion is not set properly or the currency converty site is down.

Or in localization check the conversion rate.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...