1

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

  • this details save in database? – Rakesh Donga Feb 8 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 – divya sekar Feb 8 at 11:03
  • if you have saved in datbase last 4 digits then get only 4 digits not other – Rakesh Donga Feb 8 at 11:05
  • its default store last 4 number in sales_order_payment table, its stores defaults @rakesh – divya sekar Feb 8 at 11:07
  • Your CC data will be got in function assignData(). This function in app/code/Vendor/ModuleName/Model/Paymentgateway.php file – Saneer Ladani Feb 8 at 11:08

Your Answer

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

Browse other questions tagged or ask your own question.