Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PAYPAL. TRYING TO SETUP CANADIAN CURRENCY. ONGOING NO LUCK


mondala

Recommended Posts

I am using the multiple currecny chooser contribution and have tried searching this forum for two days for the resolve. Thought I was close a few times but always comes down to a problem with "get_decimal_places()". Also on my payment method screen it always list unde paypal "Array"??

 

Below is the error i get when proceeding to checkout.(continue)

 

Fatal error: Call to undefined function: get_decimal_places() in /home/bh/public_html/shop/includes/modules/payment/paypal.php on line 58

 

Any help would be appreciated.. I just want paypal to have it's initial screen state CAD rather then USD.

Link to comment
Share on other sites

I have tried installing the paypal ipn for old checkout and it seems to be working up until i click on "confirm order"

 

takes me to :

http://modernmandala.com/shop/checkout_paypalipn.php

 

with this error:

Fatal error: Call to undefined function: tep_not_null() in /home/bh/public_html/shop/checkout_paypalipn.php on line 26

 

modernmandala.com is my development, rather experimentation site.:)

 

Hi Mondala

 

Try installing the latest PayPal IPN Payment Module. It already has support for multiple currencies.

 

Best regards

Link to comment
Share on other sites

i'm going to check for spaces, "white space" etc when i get home, proxys at work dont let me do anything here.

THIS BELOW IS APPROXIMATELY LINE 23 TO 27.... of checkout_paypalipn

IS THERE SUPOSED TO BE TWO "&" SYMBOLS?

 

 

if ( (tep_not_null(MODULE_PAYMENT_INSTALLED)) && (!tep_session_is_registered('payment')) ) {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

 

 

 

 

I have tried installing the paypal ipn for old checkout and it seems to be working up until i click on "confirm order"

 

takes me to :  

http://modernmandala.com/shop/checkout_paypalipn.php

 

with this error:

Fatal error: Call to undefined function: tep_not_null() in /home/bh/public_html/shop/checkout_paypalipn.php on line 26

 

modernmandala.com is my development, rather experimentation site.:)

 

Hi Mondala

 

Try installing the latest PayPal IPN Payment Module. It already has support for multiple currencies.

 

Best regards

Link to comment
Share on other sites

Hi mondala!

 

The code on those files its ok

 

It seems you are using an old osCommerce snapshot that did not have the tep_not_null function! :(

 

Maybe you can try with one of the newer snaps!

 

Best regards

Link to comment
Share on other sites

Thanks, i will try that.

 

do you know if i use a snapshot like ian's pre modded one if i could just save my current configure.php and restore it with the new snap shot, or should i just keep it for reference?

Link to comment
Share on other sites

Hi Mondala

 

Just keep your configure.php file for reference. Dont overwrite the one that comes with Ian's premodded snapshot, mainly because you seems to have an old snap, and in the newest configure.php can be things that you dont have in yours.

 

Best regards

Link to comment
Share on other sites

Or if somebody could help me with this it would be great as well:

 

I have enabled the default paypal and it goes through to paypal likw this:

 

{

Pay To:

HOWCAN Computers

Payment For:

HOWCAN Computers online store.

 

Currency:

U.S. Dollars

Amount:

$54.57

}

 

how can i get it to canadian dollars , proven and simple method.

i have tried the multiple currency upgrade, nogo, tried this defaul paypal and changed usd to cad, nogo.

 

any simple methods before i load a new snap?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...