Viincenttt / MollieApi

This project allows you to easily add the Mollie payment provider to your application.
MIT License
148 stars 85 forks source link

Duedate with iDeal payment #210

Closed paulwitmond closed 3 years ago

paulwitmond commented 3 years ago

Hi,

How can we set the DueDate when we create an iDeal payment ?

Currently all our payment request expire in 15 minutes and that's way too short

This is the current code:

PaymentRequest paymentRequest = new PaymentRequest() { Amount = new Amount(Currency.EUR, DocTotal), Description = "Badé faktuur " + DocNum, RedirectUrl = "https://bade.biz", Method = PaymentMethod.Ideal }; PaymentResponse result = await paymentClient.CreatePaymentAsync(paymentRequest, includeQrCode: true); IdealPaymentResponse idealPaymentResult = result as IdealPaymentResponse; IdealPaymentResponseDetails idealPaymentDetails = idealPaymentResult.Details;

Viincenttt commented 3 years ago

Hi @paulwitmond

I've taken a look at the Mollie API documentation and I don't see any way to set a due date on a iDeal payment. So I'm afraid theres nothing I can do from my side. Perhaps you could contact Mollie and ask them this question.

Kind regards, Vincent