Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FAO Satish


bevilleliam

Recommended Posts

Hi Satish,

 

You replied to a post titled "errors in a payment option " by bevilleliam with.....

 

"This appears to be a case of session value getting lost.

This happens if session are not considered as globals.

 

Paste line around our error.

 

Satish "

 

I do not understand what I need to do and I would be very grateful if you could help me in understanding what I need to do to fix this as I am getting desperate.

 

Thanks,

 

Bevilleliam.

:'(

Link to comment
Share on other sites

Hi Satish,

 

You replied to a post titled "errors in a payment option " by bevilleliam with.....

 

"This appears to be a case of session value getting lost.

This happens if session are not considered as globals.

 

Paste line around our error.

 

Satish "

 

I do not understand what I need to do and I would be very grateful if you could help me in understanding what I need to do to fix this as I am getting desperate.

 

Thanks,

 

Bevilleliam.

:'(

I believe he is waiting for you to post some of the code from the file that is indicated in your error message. If you paste the code from 5 lines up, the line, and 5 lines down, that would be good.

Link to comment
Share on other sites

Hi Coopco,

 

The following is the error message.....

 

"Fatal error: Call to a member function call_api() on a non-object in /home/khrsabad/public_html/store/checkout_process.php on line 102"

 

Ho do I find the line 102? as I do not want to paste the whole checkout_process.php script

 

Thanks.

Link to comment
Share on other sites

Hi Coopco,

 

The following is the error message.....

 

"Fatal error: Call to a member function call_api() on a non-object in /home/khrsabad/public_html/store/checkout_process.php on line 102"

 

Ho do I find the line 102? as I do not want to paste the whole checkout_process.php script

 

Thanks.

FTP the file to your pc by using an ftp program. (eg filezilla).

Open the file in a pure text editor that gives line numbers. (eg ultraedit)

 

I don't have call_api() in my file, perhaps there was something missed if you were doing an addon.

Link to comment
Share on other sites

Get yourself a text editor that includes line numbers. "Text pad" I think does this.

 

 

Thanks to both of you.

 

The following is line 102......

 

$checkout_result = $buysafe_module->call_api('SetShoppingCartCheckout', $checkout_params);

Link to comment
Share on other sites

Thanks to both of you.

 

The following is line 102......

 

$checkout_result = $buysafe_module->call_api('SetShoppingCartCheckout', $checkout_params);

Just a guess, make sure that the buysafe.php files are in the correct locations. I noticed some of the documentation had English instead of english.

Link to comment
Share on other sites

Just a guess, make sure that the buysafe.php files are in the correct locations. I noticed some of the documentation had English instead of english.

 

 

Hi again Coopco.

 

not too sure what documentation.

 

I checked on the buysafe.php and its where it should be.

 

The payment module for paypal works fine its only the payment method of paying by check/moneyorder that produces this error.

 

I have other oscommerce shops that do not produce this error and accept payments by cheques.

 

Can I ask you to explain what you mean about some of the documentation had English instead of english?

 

Thanks.

Link to comment
Share on other sites

Hi again Coopco.

 

not too sure what documentation.

 

I checked on the buysafe.php and its where it should be.

 

The payment module for paypal works fine its only the payment method of paying by check/moneyorder that produces this error.

 

I have other oscommerce shops that do not produce this error and accept payments by cheques.

 

Can I ask you to explain what you mean about some of the documentation had English instead of english?

 

Thanks.

 

 

Hi,

 

I would be grateful to anyone out there that might help me with a fix for this issue.

 

Thanks in advance.

Link to comment
Share on other sites

Hi again Coopco.

 

not too sure what documentation.

 

I checked on the buysafe.php and its where it should be.

 

The payment module for paypal works fine its only the payment method of paying by check/moneyorder that produces this error.

 

I have other oscommerce shops that do not produce this error and accept payments by cheques.

 

Can I ask you to explain what you mean about some of the documentation had English instead of english?

 

Thanks.

The documentation referred to English instead of english. So, if you created a directory called English, it would be wrong.

Link to comment
Share on other sites

The documentation referred to English instead of english. So, if you created a directory called English, it would be wrong.

 

 

Hi Coopco,

 

Sorry but you have lost me.

 

I have checked all folders and there are none named 'English' but only 'english'.

 

I wouldn't think that this was the problem any way as payments on the site via Paypal are behaving correctly. The only oddity is the error message right at the end of payment by check method, just as you should have got the success message.

 

Nothing shows up in the admin area except for a 'pending order' with no details.

 

Thanks,

 

Liam.

Link to comment
Share on other sites

Hi Coopco,

 

Sorry but you have lost me.

 

I have checked all folders and there are none named 'English' but only 'english'.

 

I wouldn't think that this was the problem any way as payments on the site via Paypal are behaving correctly. The only oddity is the error message right at the end of payment by check method, just as you should have got the success message.

 

Nothing shows up in the admin area except for a 'pending order' with no details.

 

Thanks,

 

Liam.

Sorry, don't know the cause.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...