Jump to content
Sign in to follow this  
dr_lucas

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

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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);

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×