Kenin
(@kbassart)
Automattic Happiness Engineer
Hi there,
The data needed for Safekey is already sent by the plugin as seen here. So as long as the Safekey feature is available on your account, which is limited by Braintree, the feature is available.
Hi
Thanks for replying. After I got your reply, I went back to Braintree, who confirmed that the functionality is enabled in our account with them, but no Safekey data is being passed to them with our most recent Amex transactions.
Presumably, there is an extra step missing here where I need to actively enable it on my account, but have not found a specific Safekey setting anywhere in Woocommerce settings.
The information I need may be in that second link from your reply, but unfortunately, that link doesn’t work for me. Can you help?
Kenin
(@kbassart)
Automattic Happiness Engineer
Hi there,
The information is being passed to Braintree via our extension. The second link was to a Github repo that shows the code that sends the needed data. Sorry, I missed that the repo is private, so you can’t open the link.
There isn’t a setting for Safeky on the WooCommerce side, it’s only on the Braintree side. You’ll want to address this question with them to see how to activate this on their end.
Thanks again Kenin.
I do appreciate your help. However, as I explained before, Braintree confirmed that SafeKey is enabled and live on our accounts, and has been for a full year at this point, but they say the transactions being passed to them via your plugin contain no SafeKey information.
I am on the latest version of the plugin, but can you confirm in which version the functionality was introduced? Last October, a few months after Braintree added the functionality to our account, I raised ticket 1458813 with you and was told there was no plan to introduce SafeKey at that time. I’ve been tracking the changelog ever since, but there’s been no mention of the functionality having being added, as far as I can see.
-
This reply was modified 6 years, 11 months ago by
paradasos.
Kenin
(@kbassart)
Automattic Happiness Engineer
Hi there
I’ve copied the code that shows that the information is in fact sent:

Link to image: https://cld.wthms.co/3xxu2n
You’ll have to address this with Braintree to see why they are not using the data.
Thanks Kenin, so we’ve established that, generically, the plugin *should* be sending SafeKey data to Braintree, but I’ll paste below the reply from Braintree which suggests that, at least in our case, it’s not. They’re asking for log data showing that the nonce is being sent. Can you assist with this?
//Paste from Braintree Reply – Identifiable transaction data [hidden]//
I took a quick look in the server logs for your gateway’s most recent Amex transaction, [hidden], and it doesn’t appear a 3D Secure enriched nonce was provided for the Transaction::sale call:
\”payment_method_nonce\”=>\”tokencc_bh_[hidden]\”,
As such, without a 3D Secure enriched nonce, no 3D Secure information will be available for the transaction. It would appear that WooCommerce’s integration did not run a verifyCard request on the nonce originally returned by the payment fields.
Furthermore, we’ve confirmed with our Onboarding team that your account is set up correctly to use 3D Secure with Amex cardtypes.
Unfortunately, we’re not able to comment on that thread- can WooCommerce provide log data showing that they attempted to 3D verify the nonce generated by their integration?
Once we have a little more information, we’ll be able to take a closer look at why this is happening. As it currently stands, it appears your Amex transactions are going through a non-3DS flow.
Kenin
(@kbassart)
Automattic Happiness Engineer
Hi there,
Thanks for that additional information. We’re going to need to see the logs on the site and some other information to continue to troubleshoot this. Can you please submit a ticket with all this information at the ticket form here?
When doing so please include all the information you’ve provided above as well as your System Status Report.
Thanks again Kenin. I have enabled debugging now and will wait until I get 2 or 3 Amex transactions then submit as you advised.