Merx

PaymentDetails

Builds the record stored in an order’s paymentDetails field

Description

A provider’s raw response holds personal data (email, name, phone, address)
and, in Stripe’s case, the PaymentIntent’s client_secret, which Stripe
states must not be stored. Order pages are plain content files, so only the
fields needed to find the transaction again are kept.