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