Adjust to changes in API
This commit is contained in:
@@ -27,7 +27,7 @@ class BpnApiFinisher extends AbstractFinisher
|
||||
{
|
||||
$formValues = $this->finisherContext->getFormValues();
|
||||
$addressData = [
|
||||
'name' => $formValues['name'],
|
||||
'lastName' => $formValues['name'],
|
||||
'firstName' => $formValues['vorname'],
|
||||
'gender' => $formValues['geschlecht'],
|
||||
'email' => $formValues['email'],
|
||||
|
||||
@@ -46,9 +46,7 @@ class BookingApiService implements SingletonInterface
|
||||
'headers' => [
|
||||
'X-AUTH-TOKEN' => $this->apiToken,
|
||||
],
|
||||
'body' => [
|
||||
'data' => $addressData,
|
||||
],
|
||||
'body' => $addressData,
|
||||
]);
|
||||
}
|
||||
catch (TransportExceptionInterface $e)
|
||||
|
||||
Reference in New Issue
Block a user