1

How to retrieve a credit card number and other details in magento 2? enter image description here

10
  • this details save in database? Commented Feb 8, 2019 at 11:00
  • yes last 4 number of credit card is saved in the database but i need the all number of the card @rakesh Commented Feb 8, 2019 at 11:03
  • if you have saved in datbase last 4 digits then get only 4 digits not other Commented Feb 8, 2019 at 11:05
  • its default store last 4 number in sales_order_payment table, its stores defaults @rakesh Commented Feb 8, 2019 at 11:07
  • Your CC data will be got in function assignData(). This function in app/code/Vendor/ModuleName/Model/Paymentgateway.php file Commented Feb 8, 2019 at 11:08

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.