mollie-api-php
mollie-api-php copied to clipboard
mandateId not returned
Specifications
- API Version: 2.48.0
Describe the issue
First, note that my project's automated tests were working a few months back, so to me it looks like something changed on Mollie side.
Problem is that mandateId is not returned in a payment create response. Here's my request:
{
"amount": {
"currency":"CHF",
"value":"0.00"
},
"customerId":"cst_VWkTu3hcYy",
"sequenceType":"first",
"description":"Auto-Payment Setup",
"webhookUrl":[removed],
"redirectUrl":[removed],
"locale":"en_US",
"method":"creditcard"
}
The response is:
array(
'resource' => 'payment',
'id' => 'tr_uNKTAEXoFC',
'mode' => 'test',
'createdAt' => '2022-11-18T09:50:58+00:00',
'amount' => (object) array(
'value' => '0.00',
'currency' => 'CHF',
),
'description' => 'Auto-Payment Setup',
'method' => 'creditcard',
'metadata' => NULL,
'status' => 'open',
'isCancelable' => false,
'expiresAt' => '2022-11-18T10:05:58+00:00',
'locale' => 'en_US',
'profileId' => 'pfl_vDwxAnGg2Q',
'customerId' => 'cst_VWkTu3hcYy',
'sequenceType' => 'first',
'redirectUrl' => [removed],
'webhookUrl' => [removed],
'_links' => [removed]
)