Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[CONTRIBUTION] 2Checkout IPN / INS (Instant Notification Service)


dr_lucas

Recommended Posts

Hi,

 

This is the discussion thread of the 2Checkout IPN / INS (Instant Notification Service) for osCommerce 2.2 MS2

I will not be available to support it myself, but I am sure this is going to be a popular module and the community is large enough to offer support, updates & enhancements.

I released this contribution as a token of my appreciation to all the great people that contributed so much to this wonderful osC project and community in general and to me in particular, this is my payback. :)

 

Package available here:

http://addons.oscommerce.com/info/6910

Link to comment
Share on other sites

  • 3 months later...

Hey!

 

I just installed the contribution!

 

But, there's a problem. When I go to Modules > Payment in the admin I get the following message: Fatal error: Call to undefined function: tep_get_payment_unallowed() in /public_html/includes/modules/payment/twoco.php on line 28...

 

What can I do?

 

Thanks!

Link to comment
Share on other sites

  • 1 month later...

Hey!

 

I just installed the contribution!

 

But, there's a problem. When I go to Modules > Payment in the admin I get the following message: Fatal error: Call to undefined function: tep_get_payment_unallowed() in /public_html/includes/modules/payment/twoco.php on line 28...

 

What can I do?

 

Thanks!

 

Sorry, this is a leftover from the Unallowed payments module and the fix is very simple:

 

Find this code in /includes/modules/payment/twoco.php:

	// START PAYMENT UNALLOWED
	if ( tep_get_payment_unallowed($this->code) ) {
	$this->enabled = ((MODULE_PAYMENT_TWOCO_STATUS == 'True') ? true : false);
	}
// END PAYMENT UNALLOWED

 

and change it to:


	$this->enabled = ((MODULE_PAYMENT_TWOCO_STATUS == 'True') ? true : false);

Link to comment
Share on other sites

  • 3 weeks later...

Hey there, I seem to be running across a problem. I can add anything I want to the shopping cart, but when I go to the checkout screen when I have a product with attributes added I get the following message:

 

1054 - Unknown column 'products_options_id' in 'field list'

 

insert into orders_products_attributes (orders_id, orders_products_id, products_options, products_options_values, options_values_price, price_prefix, products_options_id, products_options_values_id) values ('8', '14', 'Model', 'Premium', '100.0000', '+', '3', '6')

 

Can you please help me with this?

 

Thank you,

 

Shaun

Link to comment
Share on other sites

  • 2 months later...

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...