I am a newbie to Kill Bill (very cool!) and have been playing around with the Cybersource plugin. Seems to work properly in my test env as I can see test charges made in Kill Bill show up in the Cybersource test env.
I am now trying to enable Apple Pay through the Cybersource plugin. I see in the documentation (https://github.com/killbill/killbill-cybersource-plugin) that there are three Network Tokenization properties and another three labeled Apple Pay. And pierre told me:
~
In a nutshell, the following plugin properties are required:
cc_number (payment network token)
cc_exp_year / cc_exp_month (payment network token expiration date fields)
cc_type (visa, master or american_express)
payment_cryptogram (3D Secure cryptogram of the payment network token)
~
However, I have the following fields from Cybersource and I don't see how that maps to the recommendation above:
~
{
"data": "rOHDxAan<truncated>8rpI4ADg==",
"version": "EC_v1",
"header": {
"applicationData": "94e<truncated>cc2",
"transactionId": "c1caf5<truncated>60a795",
"ephemeralPublicKey": "MIIBSz<truncated>wIomw5L0=",
"publicKeyHash": "L\/moz<truncated>W1IBBY="
},
"signature": "MIIDQg<truncated>ZceA=="
}
applePayDescriptorToken=RklE<truncated>VlNRU5U
applePayTransactionType=1
applePayPaymentSolutionCode=001
~
I have tried a few different attempts and every time in the Kill Bill logs I see the XML get sent to Cybersource and the response is "soap:Client: \nXML parse error.\n" and the XML doesn't appear to have any of my Apple Pay configurations.
I think it would help if I could see a call to /1.0/kb/accounts/{accountId}/paymentMethods that is known to work. Can anyone provide one?
Any help is appreciated, thank you.
Mike
I am a newbie to Kill Bill (very cool!)
However, I have the following fields from Cybersource and I don't see how that maps to the recommendation above:
~
{
"data": "rOHDxAan<truncated>8rpI4ADg==",
I think it would help if I could see a call to /1.0/kb/accounts/{accountId}/paymentMethods that is known to work. Can anyone provide one?
Hi again Mike,On Wed, Dec 14, 2016 at 12:35 PM, <mcas...@squaretrade.com> wrote:However, I have the following fields from Cybersource and I don't see how that maps to the recommendation above:
~
{
"data": "rOHDxAan<truncated>8rpI4ADg==",
This data value is the encrypted payment data. Once decrypted, you have access to the fields I was mentioning (see applicationPrimaryAccountNumber, onlinePaymentCryptogram, eciIndicator, etc.).http://apps.cybersource.com/library/documentation/dev_guides/apple_payments/SO_API/Apple_Pay_SO_API.pdf may be helpful too.
As per the document you listed, does the Kill Bill cybersource plugin only support option 1 "Merchant Decryption"? I believe I am coming from the option 2 "CyberSource Decryption" perspective, given my existing app (which we are phasing out) uses the Cybersource API that is related to option 2. If the existing plugin doesn't support option 2, then I need to do the decryption myself. Is this correct?