0

I have a problem to GET the value of cardholder name using $_POST['name input']

$_POST['name input'] always return empty

Can anyone please help me to get the cardholder name value from Bluesnap Hosted Payment Fields

rachid
  • 19
  • 2

1 Answers1

1

Cardholder name should be your own field on your page. Bluesnap hosted payment fields only include the sensitive payment information (CC number, CVV, expiration date)

user39950
  • 83
  • 6
  • Thank you so much this is strange but how can I collect the zip code for example and cardholder name from the input using PHP !! I am using the Card form from bluesnap you can find here https://developers.bluesnap.com/docs/build-a-form – rachid Sep 26 '18 at 14:21
  • It would be a regular form like any other form you would have, it's not related to bluesnap. So you would have an HTML form that includes the cardholder name, zip code, any other info you might need, and I would also suggest having a hidden field that will store the bluesnap token ID. Then you submit the form to your server and parse it in your PHP code. – user39950 Sep 26 '18 at 14:25
  • What about storing the token on session variable – rachid Sep 26 '18 at 14:36
  • That is also ok. – user39950 Sep 26 '18 at 14:46
  • Great. The form of Bluesnap Hosted Payment Fields not posting data, I've added holder input on a
    the $_POST works perfectly thank you so much :)
    – rachid Sep 26 '18 at 14:59