From 19f65f82ea9ffd3cc9eb71412c5ae7bfd0a93525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Re=C3=BCel=20van=20der=20Steege?= Date: Wed, 6 Dec 2023 09:41:31 +0100 Subject: [PATCH] Fix "Access to an undefined property Pronamic\WordPress\Mollie\PaymentRequest::$card_token". --- src/PaymentRequest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/PaymentRequest.php b/src/PaymentRequest.php index 4431d86..cbb1b58 100644 --- a/src/PaymentRequest.php +++ b/src/PaymentRequest.php @@ -172,6 +172,16 @@ class PaymentRequest implements JsonSerializable { */ public $consumer_account; + /** + * Card token for Credit Card. + * + * The card token from Mollie Components. The token contains the card information (such as + * card holder, card number, and expiry date) needed to complete the payment. + * + * @var string|null + */ + public $card_token; + /** * Create Mollie payment request object. *