Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Beanstream payment module


Miles

Recommended Posts

Hi,

 

I am trying to get the Beanstream payment module working with OSC 2.2 and I have been having a bit of trouble getting it to work. I was thinking that maybe it was because I had installed the register_globals patch, but I'm not sure.

 

Basically I get a series of PHP errors when I submit an order. The problem is that the beanstream module is looking for the osCsid in both POST and GET vars, but it isn't there. bean_webobject.php passes the info it has on to checkout_process.php but it needs the osCsid in order to succeed (I can manually add the osCsid to the URL "checkout_process.php?osCsid=" and the rest works). For now, the osCsid is empty when I get to checkout_process.php.

 

bean_webobject.php has the folowing POST vars passed to it from checkout_confirmation.php:

 

1.RequestType: BACKEND

2.merchant_id: 111222333

3.trnOrderNumber:

4.trnType: P

5.code: beanstream_cdn

6.trnCardOwner: Test Account

7.trnCardNumber: 300000000000001

8.trnExpMonth: 12

9.trnExpYear: 08

10.ordName: Bob the Builder

11.ordEmailAddress: [email protected]

12.ordPhoneNumber: 306-666-6666

13.ordAddress1: 123 Any Rd.

14.ordCity: Anytown

15.ordProvince: SK

16.ordPostalCode: A1B 2C3

17.ordCountry: CA

18.shipName: Bob the Builder

19.shipAddress1: 123 Any Rd.

20.shipCity: Saskatoon

21.shipProvince: SK

22.shipPostalCode: A1B 2C3

23.shipCountry: CA

24.ordItemPrice: 0.00

25.ordShippingPrice: 0.00

26.ordTax1Price: 0.00

27.trnAmount: 10.26

28.x: 69

29.y: 11

 

There are no SESSION and no GET vars set, how do I get the osCsid from checkout_confirmation.php to bean_webobject.php?

 

Thanks!

 

Miles

Link to comment
Share on other sites

  • 2 months later...
Hi,

 

I am trying to get the Beanstream payment module working with OSC 2.2 and I have been having a bit of trouble getting it to work. I was thinking that maybe it was because I had installed the register_globals patch, but I'm not sure.

 

Basically I get a series of PHP errors when I submit an order. The problem is that the beanstream module is looking for the osCsid in both POST and GET vars, but it isn't there. bean_webobject.php passes the info it has on to checkout_process.php but it needs the osCsid in order to succeed (I can manually add the osCsid to the URL "checkout_process.php?osCsid=" and the rest works). For now, the osCsid is empty when I get to checkout_process.php.

 

bean_webobject.php has the folowing POST vars passed to it from checkout_confirmation.php:

 

1.RequestType: BACKEND

2.merchant_id: 111222333

3.trnOrderNumber:

4.trnType: P

5.code: beanstream_cdn

6.trnCardOwner: Test Account

7.trnCardNumber: 300000000000001

8.trnExpMonth: 12

9.trnExpYear: 08

10.ordName: Bob the Builder

11.ordEmailAddress: [email protected]

12.ordPhoneNumber: 306-666-6666

13.ordAddress1: 123 Any Rd.

14.ordCity: Anytown

15.ordProvince: SK

16.ordPostalCode: A1B 2C3

17.ordCountry: CA

18.shipName: Bob the Builder

19.shipAddress1: 123 Any Rd.

20.shipCity: Saskatoon

21.shipProvince: SK

22.shipPostalCode: A1B 2C3

23.shipCountry: CA

24.ordItemPrice: 0.00

25.ordShippingPrice: 0.00

26.ordTax1Price: 0.00

27.trnAmount: 10.26

28.x: 69

29.y: 11

 

There are no SESSION and no GET vars set, how do I get the osCsid from checkout_confirmation.php to bean_webobject.php?

 

Thanks!

 

Miles

 

 

Hi Miles,

 

I'm having a similar problem with beanstream and wondered if you ever got yours resolved and if so, how??

 

thanks

Shell

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...