Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

session variable error w/ skipjack


brandblast

Recommended Posts

osC 2.2

Unix

 

An issue regarding the skipjack module found at http://www.oscommerce.com/community/contributions,1412

 

Currently the problem is this.

 

I have specified per the contributors instructions to redirect the user

back to my website from SkipJack with the following:

http://www.domain.com/catalog/checkout_process.php.

 

 

This script

should complete the process on the osCommerce side. What's happening is when it gets back to checkout_process.php, it (whatever it is has not

knowledge of the session variable $customer_id.

 

It thinks the user

(customer) is not logged in and they get directed to login.php. The

really strange thing is once they get to login.php, the system

recognizes the correct customer id.

 

But, even if the user logs in, the

checkout_process script doesn't complete and the order is not logged

into the database. I've echoed the session var in both places so I know

these facts are accurate. I just don't know why.

 

I've opened an email dialog with the geotrust.php writer (Paul Kim). I

had found a bug in the script and asked him about it. He replied so I

asked him about this problem. I haven't heard back from him but I'm

still hopeful.

 

Any suggestions would be welcome.

 

As far as the bug: Line 158 (about) of geotrust.php has a hard coded

item name that he entered for a web site he wrote the script for. The

line is:

tep_draw_hidden_field('Orderstring', 'Teanas~' . date('YmdHis') . '~' .

number_format($order->info['total'], 2, '', '') . '~1~Y||') .

The word 'Teanas' should be replaced with the actual item string for the

current order. That's good info. for you guys to have I think.

 

Thanks,

 

Alex

Link to comment
Share on other sites

  • 5 months later...
As far as the bug: Line 158 (about) of geotrust.php has a hard coded

item name that he entered for a web site he wrote the script for. The

line is:

tep_draw_hidden_field('Orderstring', 'Teanas~' . date('YmdHis') . '~' .

number_format($order->info['total'], 2, '', '') . '~1~Y||') .

The word 'Teanas' should be replaced with the actual item string for the

current order. That's good info. for you guys to have I think.

Hi Alex.

 

What code should replace the term "Teanas"? Any suggestions?

 

Thanks!

 

Mark

Link to comment
Share on other sites

  • 4 weeks later...
  • 5 weeks later...
  • 1 month later...

I am new and I still need help with what to replace teanas~ with, I know it is the item string but I don't know where to find it. If someone could help that would be great.

 

Greg

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...