Closed SanderVanLeeuwen closed 4 years ago
@willemstuursma (ApplePay)?
Any progress on this?
I’ll set a reminder to ping Willem this Monday
Hi @SanderVanLeeuwen.
When pulling this payment from our API, I see that the remainderMethod
is now correctly reported as creditcard
and the details of all the gift cards used are present in the details
object.
I guess there could be some timing issue. When exactly are you retrieving the details from the API? Is that on the webhook call or at some other point in time?
Could it be something PHP client specific after all then? Because a simple call like $client->payments->get('tr_gRpfq5MVCr')
consistently gives the wrong result with creditcard details in the details
object.
But then the curl call curl -X GET https://api.mollie.com/v2/payments/tr_gRpfq5MVCr
gives the same incorrect result, so it doesn't seem client specific.
Hi @SanderVanLeeuwen, we've found the problem. It only affected Apple Pay as you noticed.
We'll roll out a fix early this week.
This has been resolved for new payments.
Thnx for fixing it. However, is it also possible to fix this for older payments? In our case we use this data to book payments into the correct ledger and, for this specific example, split this payment into the part settled by Mollie and the part settled by the giftcard provider. It would be very nice to properly do so for historical payments, as we now have some inconsistencies in our administration.
@SanderVanLeeuwen, yes we can fix it. Please send a list of tokens to my email willem@mollie.com and I'll make sure it is taken care of next week.
Cool! It took me a while reply but just mailed you the faulty transactions. Thanks again for fixing it :)
Not exactly a bug in the PHP SDK, but can't find a (public) bugtracker for API bugs so I'll just leave this here ;)
When the remainder of a giftcard transaction (VVV for example) is paid with Applepay, the payment details are details from the remainder method instead of the original payment method.
For example, payment
tr_JpvEeBvazy
contains info about the used giftcard (voucher numbers, amounts, remainder details, etc.) in thedetails
as expected. But paymenttr_gRpfq5MVCr
doesn't contain any details about the primary (giftcard) payment, but provides the remainder details instead.This seems to work fine for any other remainder payment method, only Applepay is... different ;)