X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   Updated X-Cart 4.x connector for X-Payments (https://forum.x-cart.com/showthread.php?t=69505)

ambal 03-13-2015 12:08 AM

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.

cflsystems 03-23-2015 01:30 PM

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?

ambal 03-23-2015 08:34 PM

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.

random 03-23-2015 09:54 PM

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

cflsystems 03-24-2015 04:46 AM

Re: Updated X-Cart 4.x connector for X-Payments
 
I see where I get confused...

cflsystems 03-24-2015 07:39 AM

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

ambal 03-27-2015 04:42 AM

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

BBM_ 04-01-2015 09:01 PM

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.

ambal 04-02-2015 12:11 AM

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.

BBM_ 04-10-2015 10:09 PM

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


All times are GMT -8. The time now is 02:27 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.