From 672f7d78faf02ad29ebca8f43ed27f499d3bb472 Mon Sep 17 00:00:00 2001 From: Halil Beycan <50718965+BeycanDeveloper@users.noreply.github.com> Date: Tue, 27 Aug 2024 09:06:51 +0800 Subject: [PATCH] updated --- classes/lite/MeprCryptoPayLiteGateway.php | 1 + classes/pro/MeprCryptoPayGateway.php | 1 + readme.md | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/classes/lite/MeprCryptoPayLiteGateway.php b/classes/lite/MeprCryptoPayLiteGateway.php index c254697..d622d2d 100644 --- a/classes/lite/MeprCryptoPayLiteGateway.php +++ b/classes/lite/MeprCryptoPayLiteGateway.php @@ -193,6 +193,7 @@ public function validate_payment_form($errors): void */ public function process_payment_form($txn): void { + // boolval($txn->product()->trial) if ($txn->amount <= 0.00) { MeprTransaction::create_free_transaction($txn); return; diff --git a/classes/pro/MeprCryptoPayGateway.php b/classes/pro/MeprCryptoPayGateway.php index 450aa73..0a03b5f 100644 --- a/classes/pro/MeprCryptoPayGateway.php +++ b/classes/pro/MeprCryptoPayGateway.php @@ -199,6 +199,7 @@ public function validate_payment_form($errors): void */ public function process_payment_form($txn): void { + // boolval($txn->product()->trial) if ($txn->amount <= 0.00) { MeprTransaction::create_free_transaction($txn); return; diff --git a/readme.md b/readme.md index 648508d..53a7d9c 100644 --- a/readme.md +++ b/readme.md @@ -12,6 +12,6 @@ First of all, you must have one of the Lite or Premium versions of CryptoPay. Be As you can see in the pictures, you can then start receiving crypto payments directly with MemberPress. -Screenshot-1 -Screenshot-2 -Screenshot-3 \ No newline at end of file +[Screenshot 1](https://i.ibb.co/6yzpKRw/screenshot-1.png) +[Screenshot 2](https://i.ibb.co/gDk3YFr/screenshot-2.png) +[Screenshot 3](https://i.ibb.co/nPFj1w3/screenshot-3.png) \ No newline at end of file