How can i receive a payment method nonce from client in Magento ver. 2.

If transaction is processed using braintree payment method. Please can anyone

Help me in solving Question.

  • where do you want this info? – Priyank Mar 12 '18 at 6:14
  • Hi @Priyank, I need to show these in controller or model file. – Learing_Coder Mar 12 '18 at 6:17

I searched Magento2's GitHub repo, and I think the getPaymentMethodNonce function is what you need.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.