Dear monks,
I have a perplexing problem. I need to integrate BarclayCard's ePDQ credit card authentication system (you know, the rather pointless Verified by Visa/Mastercard SecureCode thing) with an existing Perl shopping card I wrote. The Perl isn't the problem. The problem is that Barclaycard, in their wisdom, provide an API in C++ or Java. I don't do either - I do Perl or PHP!
However, I thought using XS might be the answer, creating my own Perl library interfacing to the supplied shared object file (which I don't have the source for of course, but do have a header file).
I have taken a look at the manpage
perlxstus and am now even more confused!
Anyone have any ideas where to start? I basically need to make a Perl interface to a shared object where I don't even have the source code (but do have the header file).
The header file is 1734 lines long so I can't post it here, but I'm posting a snippet here:
MS_API_EXTERN
int xfortInitializePAReqBuffer(unsigned int uPAReqBufLen,
asc7char *pPAReqBuf,
XFortCreatePAReqResult *result,
asc7char *szErrMsgBuf,
unsigned int uErrMsgBufLen);
Thanks in advance, oh wise ones!
Neil
p.s. At least the header file is well documented!