I am looking for sample coding of how to hit your webservice for PaymentAccountCreate via XML HTTPS.
I am coding using C++.
We don't have any C++ samples for Express in our Github site at Vantiv Integrated Payments, formerly known as Element · GitHub but below I've provided a sample XML request for the Express direct PaymentAccountCreate method. This would be posted to our Cert URL of https://certservices.elementexpress.com/
Thanks for the info.
I was trying to get the TransactionSetupID back from the https://certtransaction.elementexpress.com site via the
TransactionSetup method. (3.10.2 Hosted Payment Window for distributed software applications).
I was successfully able to get the TransactionSetupID returned.
I try to navigate to the URL to render the Element’s Hosted Payments website (https://certtransaction.hostedpayments.com/?TransactionSetupID=06171D45-BBC7-4672-A2A2-7202534C10FC) in a twebbrowser that is on a form.
The site renders, but it displays “Waiting for input” in the Card Information box with a spinner icon. The site never errors, but just hangs there. (See screen shot below).
Any ideas what I may be doing wrong?
Thanks for you help in this matter,
In your TransactionSetup request, if you set your CardInputCode value to 4/ManualKeyed, the Hosted Payments page should then display a text box allowing the card number to be keyed.
Yes. That worked.
I am getting the screen now, but can’t seem to get the CVV field to show up. (Screen shot below).
The following are the properties I am setting:
XMLData += "";
I am setting the CVVRequired to 1 which should activate the CVV entry field on the screen.
If you are using Hosted Payments for a storage-only request, note that an input text box for CVV will not be displayed on the page for the following reasons:
** a stand-alone PaymentAccountCreate takes the card through a basic MOD-10 validation on our platform, but the card does not get verified with the card issuer before it's stored (i.e. no CVV validation takes place), and
** the CVV is not allowed to be stored (per PCI regulations), so it's never collected during a storage request.
If you have any additional questions, please let us know.
Ok. Thanks for the info. So, we will not use the CVV filed, so what I have will work.
So, currently I am getting a TransactionSetupID and Validation code from the TransactionSetup method call.
I am able to call your website and pass this TransactionSetupID in the URL string. The site renders correctly and I can add my test VISA card. I get a transaction successfully processed message with the Transaction Results displayed.
After closing this window and returning to my code that initiated the URL navigation, I am attempting to call the TransactionQuery method using the TransactionSetupID.
The response just says “No Record(s)”.
Per the documentation for “Hosted Payment Window” Step 5, I am trying to validate that the Credit Card was successfully created. I need to get the PaymentAccountID, Credit Card Month/Date back from the request to store in our record for this card.
Below is my C++ code to make the request:
HTTPS->PostData = "";
XMLData = "";
//XMLData += "Caption = "Error: " + E.Message;
Can you email the raw TransactionQuery request from your application (and response returned back to your application) to firstname.lastname@example.org for our review?
The following is the response from the Vantiv web portal after a successful submission of my test credit card and expiration month/day:
The following is the raw TransactionQuery request:
I tried to save the DOM of the response as a csv file. The file saves, but doesn’t display very well. I have tried using NotePad++ to view the file. If you need it, please let me know what format the DOM file should be, then I can resend it.
I have attached the file to this document.
Thanks for your help,
FYI, you'll want to do a PaymentAccountQuery on the TransactionSetupID, not a TransactionQuery...
That request will be submitted to the Services endpoint as well, and not the Reporting endpoint.
thanks for this sample! I've been pouring over the interface specification pdf and had been unable to find any reason why my POST wasn't working - only to find I wasn't hitting the proper url (services vs transaction) - is there any clue in the docs that I'm missing so I can know which interface URL I'm supposed to use for a given method? I'll be darned if I can find anything....
If you want to take a look at a slightly different approach to integrating with Express API, you could look for VXEN in github. I'm using it in VS 2015, and it's saved me a ton of time. The author is Chris Painter -- great to work with!
Retrieving data ...