문서가 업데이트되었습니다.
한국어로 번역이 아직 완료되지 않았습니다.
영어 업데이트됨: 2023. 2. 11.
한국어 업데이트됨: 2022. 2. 11.

PaymentDetailsChangedEvent

Use an object based on PaymentDetailsChangedEvent to represent the new payment details and the change types after the customer makes changes in the payment sheet.

Use the change type to update the transaction. For example, if the customer changes the shipping option, recalculate the shipping cost. The new payment details are stored in an PaymentDetailsUpdate.

If the customer makes changes that result in an error, report the error in the error fields of the PaymentDetailsUpdate.

Properties

PropertyTypeDescriptionRequired

changeTypes

Array<PaymentDetailChangeType>

The type of change. There can be more than one change type in a single event if the customer made more than one type of change since the last event was published.

Yes

paymentDetails

PaymentDetails

The new payment details after the customer makes changes.

Yes