Hi all
Im trying to update deferDeferredPaymentRequest on event completeShippingMethodSelection
API ver 14
So Im using ApplePayShippingMethodUpdate
object which contains newDeferredPaymentRequest
But deferred payment cannot be updated.
Here is my ApplePayDeferredPaymentRequest
object for newDeferredPaymentRequest
:
"deferredBilling": {
"label": "Pay for Later",
"amount": 68,
"paymentTiming": "deferred",
"type": "final",
"deferredPaymentDate": "2024-01-25"
},
"managementURL": "https://siteURL.com",
"paymentDescription": "A description of the deferred payment to display to the user in the payment sheet.",
"freeCancellationDate": "2024-01-25",
"freeCancellationDateTimeZone": "America/New_York"
}
Even I tried to put mistake for newDeferredPaymentRequest
but ApplePay doesn't throw a JS error
Can we update deferred ?
for example, ApplePayRecurringPaymentRequest
can't be updated according to documentation https://developer.apple.com/documentation/apple_pay_on_the_web/applepayrecurringpaymentrequest
But I can't find same info for Deferred.
Who can help me with it?