Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
BeycanDeveloper committed Aug 27, 2024
1 parent 1de8b68 commit 672f7d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions classes/lite/MeprCryptoPayLiteGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions classes/pro/MeprCryptoPayGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<a href="https://ibb.co/p4tZDd0"><img src="https://i.ibb.co/MPYpT72/Screenshot-1.png" alt="Screenshot-1" border="0"></a>
<a href="https://ibb.co/cbh8MPy"><img src="https://i.ibb.co/pWjKGg1/Screenshot-2.png" alt="Screenshot-2" border="0"></a>
<a href="https://ibb.co/BCJg0Hm"><img src="https://i.ibb.co/rwhZDKg/Screenshot-3.png" alt="Screenshot-3" border="0"></a>
[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)

0 comments on commit 672f7d7

Please sign in to comment.