| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How can I access X-Payments transaction data? | |||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
How can I access X-Payments transaction data?
I am using X-Payments for card transactions, and can see the card transaction data (brand, partially-masked number, gateway transaction time and ID) by viewing the order details in the admin. How do I access this information via code? I've tried looking through the \CDev\XPaymentsConnector module code, but haven't been able to figure it out yet.
__________________
X-Cart Business 5.2.13 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: How can I access X-Payments transaction data?
You can check the code of the X-Payments Connector module to find out how the X-Payments transaction data can accessed via code of your custom module.
__________________
Sincerely yours, Sergey Fomin X-Cart team Chief support group engineer === Check this out. Totally revamped X-Cart hosting http://www.x-cart.com/hosting.html Follow us: https://twitter.com/x_cart / https://www.facebook.com/xcart / https://www.instagram.com/xcart |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: How can I access X-Payments transaction data?
Hi Joel,
Probably you need to use X-Payments API to get transaction data from X-Payments for your custom code - https://www.x-payments.com/help/X-Payments:API
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
#4
|
|||||||
|
|||||||
Re: How can I access X-Payments transaction data?
Thanks for the suggestions. The quickest solution I found was to lift lines 107-120 from getXpcTransactionsAddInfo() in
Code:
By directly providing the xpc_txnid on line 109 I got the needed info.
__________________
X-Cart Business 5.2.13 |
|||||||
|
|||
X-Cart forums © 2001-2020
|