Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Updated X-Cart 4.x connector for X-Payments

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #31  
Old 03-13-2015, 12:08 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default Re: Updated X-Cart 4.x connector for X-Payments

We have a time limited offer for X-Cart 4.x merchants interested to use X-Payments.

If you use X-Cart of versions 4.1.0-4.6.6, buy a new annual X-Payments Basic, Pro or Multistore subscription before April 1st 2015, and we will update X-Payments connector in your X-Cart 4.x to the latest version free of charge.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager

Last edited by ambal : 03-13-2015 at 12:14 AM.
Reply With Quote

The following user thanks ambal for this useful post:
chamberinternet (03-13-2015)
  #32  
Old 03-23-2015, 01:30 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Updated X-Cart 4.x connector for X-Payments

Quote:
Originally Posted by ambal
Hi Everyone,

We've updated XC4 line of connectors again. See https://drive.google.com/a/x-cart.com/folderview?id=0B6p7sehSZL8_akhxR0VwQ0dta2M&usp=dri ve_web#list

Bug-fixes mostly plus made them up to date with X-Payments connector we included in the upcoming 4.7.0.

Install it, it broke the store. Now client is getting "Unable to process payment because cart content has changed. Try to restart checkout."
Their subscription X-Payments has been upgraded to latest as far as I know. So something is amiss there with the connector.

EDIT: It seems the issue was in using AC OPC - looks like the new X-Payments and Connector changes break this checkout, the cart takes orders with the built-in OPC.

And found this by accident which is included in the upgrade
PHP Code:
+        // Current API version is not supported, try to downgrade it
+        $_version_array explode('.'$config['XPayments_Connector']['xpc_api_version']);
+        if (
$_version_array[1] > 0) {
+            
$_version_array[1]--;
+        } else {
+            
$_version_array[1] = 9;
+            
$_version_array[0]--;
+        }
+        
$config['XPayments_Connector']['xpc_api_version'] = implode('.'$_version_array); 

The "else" portion will never run, why is there like this?
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #33  
Old 03-23-2015, 08:34 PM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default Re: Updated X-Cart 4.x connector for X-Payments

> It seems the issue was in using AC OPC - looks like the new X-Payments and
> Connector changes break this checkout, the cart takes orders with the built-in OPC.


Thank you for the update! Yes, we developed updates for stock X-Cart functionality, of course.

But I want to say that I will be happy to coordinate with Bill from AlteredCart regarding our changes in X-Payments connector and making his checkout extensions BFF with X-Payments. Perhaps it is good time now to re-touch base anew regarding this cooperation.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #34  
Old 03-23-2015, 09:54 PM
  random's Avatar 
random random is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 79
 

Default Re: Updated X-Cart 4.x connector for X-Payments

Quote:
Originally Posted by cflsystems
The "else" portion will never run, why is there like this?

Let's imagine that we have 2.0 API version in connector that is not supported by old X-Payments.
In this case code will downgrade it to the 1.9 and so on until it find supported version.
Yes, I know that there can be versions like 1.11, but personally don't think it is a good idea to iterate through a 255+ numbers constantly calling X-Payments server
__________________
Sincerely yours,
Vladimir Petrov
Senior X-Payments Developer
Reply With Quote

The following user thanks random for this useful post:
cflsystems (03-24-2015)
  #35  
Old 03-24-2015, 04:46 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Updated X-Cart 4.x connector for X-Payments

I see where I get confused...
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #36  
Old 03-24-2015, 07:39 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Updated X-Cart 4.x connector for X-Payments

Quote:
Originally Posted by ambal
>

Thank you for the update! Yes, we developed updates for stock X-Cart functionality, of course.

But I want to say that I will be happy to coordinate with Bill from AlteredCart regarding our changes in X-Payments connector and making his checkout extensions BFF with X-Payments. Perhaps it is good time now to re-touch base anew regarding this cooperation.

That's fine, I just didn't expect this upgrade to break OPC so bad...
I believe the client is in touch with Bill already but you may try as well as there are tons of XC using his OPC
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #37  
Old 03-27-2015, 04:42 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default Re: Updated X-Cart 4.x connector for X-Payments

Hi Everyone,

Just want to place it here so you know.

We found and fixed a bug -
Invoices for orders placed via X-Payments using Multicurrency show prices in primary currency regardless of customer selection

Patch is published at https://bt.x-cart.com/view.php?id=44506

4.7.1 will have this patch included out of the box, but older connectors will be updated as soon as we collect a bit more updates.

And yeah, you do not need to apply this patch if you do not see similar issue in your X-Cart 4.x integrated with X-Payments. If you do not know how to apply patches or afraid of doing it - contact our techs at helpdesk@x-cart.com
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #38  
Old 04-01-2015, 09:01 PM
 
BBM_ BBM_ is online now
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Updated X-Cart 4.x connector for X-Payments

Quote:
Originally Posted by ambal
> It seems the issue was in using AC OPC - looks like the new X-Payments and
> Connector changes break this checkout, the cart takes orders with the built-in OPC.


Thank you for the update! Yes, we developed updates for stock X-Cart functionality, of course.

But I want to say that I will be happy to coordinate with Bill from AlteredCart regarding our changes in X-Payments connector and making his checkout extensions BFF with X-Payments. Perhaps it is good time now to re-touch base anew regarding this cooperation.

Has there been any news on this front as I am about to install the latest version of X-Payments onto a site that has Altered carts One Page Checkout installed.

I've reached out to Bill as well, but thought I would check here.

Many thanks.
__________________
Multiple instances of X-cart
Reply With Quote
  #39  
Old 04-02-2015, 12:11 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default Re: Updated X-Cart 4.x connector for X-Payments

> Has there been any news on this front as I am about to install the latest version of
> X-Payments onto a site that has Altered carts One Page Checkout installed.

Not yet. I've just sent a message to Bill.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote

The following user thanks ambal for this useful post:
BBM_ (04-10-2015)
  #40  
Old 04-10-2015, 10:09 PM
 
BBM_ BBM_ is online now
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Updated X-Cart 4.x connector for X-Payments

Quote:
Originally Posted by ambal
> Not yet. I've just sent a message to Bill.

Have you received any response as I'm still awaiting one (which is strange for Bill)

Many thanks
__________________
Multiple instances of X-cart
Reply With Quote
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:06 AM.

   

 
X-Cart forums © 2001-2020