1

I'm using Omnipay-stripe in laravel 5.2 and is working fine. I want to store credit card details of customers to pre-populate stripe popup with creditcard details while making another payment.

Karan
  • 31
  • 5
  • You may want to start by reading [these rules on storing cardholder data (pdf)](https://www.pcisecuritystandards.org/pdfs/pci_fs_data_storage.pdf) if you haven't already. – Joachim Isaksson Mar 18 '16 at 07:28
  • I want to populate previously used card like every shopping websites does. Then how can I do it? Is there any method for it in Omnipay-Stripe? – Karan Mar 18 '16 at 08:05

1 Answers1

0

You need to register the card against stripe using createCard which will get you back a card reference. You can then use that instead of the actual card data when making a purchase.

You should be calling create customer as well. Check the documentation in the class docblocks

delatbabel
  • 3,601
  • 24
  • 29