I have this bit of code to create a subscription that should occur the next day
$subscription = $this->mollie->subscriptions->createForId(
$transaction->mollie_customer_id,
[
"startDate" => Carbon::now()->format("Y-m-d"), //! on prod Carbon::now()->addMonth()->format("Y-m-d"),
"amount" => [
"currency" => "EUR",
"value" => $transaction->amount
],
"interval" => "1 day", //! on prod "1 month",
"description" => "Maandelijkse donatie",
"webhookUrl" => "{$baseUrl}mollie-payments/payment/subscriptionWebhook"
]
);
$transaction->mollie_subscription_id = $subscription->id;
but for some reason i have not received a webhook back yet or been able to spot a payment in the dashboard for this payment.
Is this an expected result or am i doing something wrong here?
The creation call still succeeds as we do get a subscription id in the database but we dont get a webhook the next day for the payment.