sbarbat / SyliusSagepayPlugin

The Sylius Sagepay Gateway Plugin
MIT License
3 stars 8 forks source link

Fallback to the billing address' first/last name #2

Closed maxmishyn closed 5 years ago

maxmishyn commented 5 years ago

SagePay does not accept payment in case of submitting data with null customerFirstName and customerLastName fields what happens for non-registered Sylius customers. I've added fallback to BillingAddress names for these situations.

sbarbat commented 5 years ago

Thank you very much @maxmishyn! :+1:

What version of Sylius are you using btw? I only test it with Sylius 1.1

maxmishyn commented 5 years ago

It is on Sylius 1.4.x.