added

Signature collection on a device

Rainforest now supports collecting a signature when processing payments with terminal devices and displaying the digital signature in various reporting components.

Payin Receipt Component

Payin Receipt Component

Collect a signature

To prompt a device to collect a signature, create the payin config with the device_signature_mode set to ATTEMPT.

{
    "amount": 202, // $2.02
    "currency_code": "USD",
+   "device_signature_mode": "ATTEMPT"
}

When presenting a payin on a device, if the payin config device signature mode is ATTEMPT and the device supports collecting a signature, then the device will prompt for a signature after processing the payment. The payin status will update to Processing after the user has provided a signature.

Display a signature

Pass a new prop show-payin-signature to display the signature within the Payment Report Component and other reporting components.

<rainforest-payment-report
+   show-payin-signature
></rainforest-payment-report>

See the signature collection on a device guide for additional details.