thephpleague / omnipay-multisafepay

MultiSafepay driver for the Omnipay PHP payment processing library
MIT License
19 stars 22 forks source link

house_number contains card number #17

Open jorenvanhee opened 7 years ago

jorenvanhee commented 7 years ago

The house_number in the customer data is wrong. It contains the card number. I don't think this can be solved because the credit card doesn't have the house number separately. It's in an address line. I used var1 as a workaround.

/* Omnipay\MultiSafepay\Message/RestPurchaseRequest.php */
/* ... */
'first_name'        => $this->getCard()->getFirstName(),
'house_number'      => $this->getVar1(),
'last_name'         => $this->getCard()->getLastName(),
/* ... */
delatbabel commented 7 years ago

That might work -- can you submit a PR?