diff --git a/.github/workflows/publish-to-wordpres.org.yaml b/.github/workflows/publish-to-wordpres.org.yaml new file mode 100644 index 0000000..8fa30c6 --- /dev/null +++ b/.github/workflows/publish-to-wordpres.org.yaml @@ -0,0 +1,57 @@ +name: Publish to WordPress.org + +on: + workflow_run: + workflows: + - Create auto release + types: + - completed + +env: + PLUGIN_SLUG: cryptopay-gateway-for-memberdash + +jobs: + deploy_to_wp_org: + permissions: write-all + name: WordPress.org Plugin Deploy + if: ${{ github.event.workflow_run.conclusion == 'success' }} + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@master + + - name: Get upload url & and release version + id: get_release_info + run: | + latest_release=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + "https://api.github.com/repos/${{ github.repository }}/releases/latest") + latest_release_id=$(echo "$latest_release" | jq -r '.id') + latest_release_version=$(echo "$latest_release" | jq -r '.tag_name') + + upload_url=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -H "Content-Type: application/json" \ + "https://api.github.com/repos/${{ github.repository }}/releases/${latest_release_id}" | jq -r '.upload_url') + + echo "UPLOAD_URL=$upload_url" >> $GITHUB_ENV + echo "RELEASE_ID=$latest_release_id" >> $GITHUB_ENV + echo "RELEASE_VERSION=$latest_release_version" >> $GITHUB_ENV + - name: WordPress Plugin Deploy + id: deploy + uses: 10up/action-wordpress-plugin-deploy@stable + with: + generate-zip: true + env: + SVN_PASSWORD: ${{ secrets.WORDPRESS_ORG_PASSWORD }} + SVN_USERNAME: ${{ secrets.WORDPRESS_ORG_USERNAME }} + SLUG: ${{ env.PLUGIN_SLUG }} + VERSION: ${{ env.RELEASE_VERSION }} + + - name: Upload release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ env.UPLOAD_URL }} + asset_path: ${{ steps.deploy.outputs.zip-path }} + asset_name: ${{ env.PLUGIN_SLUG }}.zip + asset_content_type: application/zip \ No newline at end of file diff --git a/.wordpress-org/banner-1544x500.png b/.wordpress-org/banner-1544x500.png new file mode 100644 index 0000000..757d4ab Binary files /dev/null and b/.wordpress-org/banner-1544x500.png differ diff --git a/.wordpress-org/banner-772x250.png b/.wordpress-org/banner-772x250.png new file mode 100644 index 0000000..fd4a3d0 Binary files /dev/null and b/.wordpress-org/banner-772x250.png differ diff --git a/.wordpress-org/icon-128x128.png b/.wordpress-org/icon-128x128.png new file mode 100644 index 0000000..51dd5bc Binary files /dev/null and b/.wordpress-org/icon-128x128.png differ diff --git a/.wordpress-org/icon-256x256.png b/.wordpress-org/icon-256x256.png new file mode 100644 index 0000000..3251170 Binary files /dev/null and b/.wordpress-org/icon-256x256.png differ diff --git a/.wordpress-org/screenshot-1.png b/.wordpress-org/screenshot-1.png new file mode 100644 index 0000000..24f6e47 Binary files /dev/null and b/.wordpress-org/screenshot-1.png differ diff --git a/.wordpress-org/screenshot-2.png b/.wordpress-org/screenshot-2.png new file mode 100644 index 0000000..5825e19 Binary files /dev/null and b/.wordpress-org/screenshot-2.png differ diff --git a/.wordpress-org/screenshot-3.png b/.wordpress-org/screenshot-3.png new file mode 100644 index 0000000..e7d3d93 Binary files /dev/null and b/.wordpress-org/screenshot-3.png differ diff --git a/app/Loader.php b/app/Loader.php index 57acbbf..efa1955 100644 --- a/app/Loader.php +++ b/app/Loader.php @@ -128,7 +128,7 @@ public function registerGateways(\MS_Controller_Api $api): void ); } - if (Helpers::exists()) { + if (Helpers::liteExists()) { require_once MD_CRYPTOPAY_DIR . 'app/Gateways/MS_Gateway_CryptoPay_Lite.php'; $api->register_payment_gateway( \MS_Gateway_CryptoPay_Lite::ID, diff --git a/cryptopay-gateway-for-memberdash.php b/cryptopay-gateway-for-memberdash.php index 7e5af11..699abb9 100644 --- a/cryptopay-gateway-for-memberdash.php +++ b/cryptopay-gateway-for-memberdash.php @@ -21,7 +21,7 @@ * Text Domain: cryptopay-gateway-for-memberdash * Tags: Bitcoin, Ethereum, Cryptocurrency, Payments, MemberDash * Requires at least: 5.0 - * Tested up to: 6.6 + * Tested up to: 6.7.1 * Requires PHP: 8.1 */ diff --git a/readme.md b/readme.md index 095342f..2d8566f 100644 --- a/readme.md +++ b/readme.md @@ -1,20 +1,17 @@ ## Cryptocurrency Payment Gateway Plugin for MemberDash by CryptoPay -First of all, we would like to point out that this plugin is not a standalone plugin. This plugin is a **cryptocurrency payment gateway for MemberDash**. In other words, users who want to sell courses with cryptocurrency payments can use WordPress and MemberDash. However, this plugin is a plugin for CryptoPay and a cryptocurrency payment gateway for MemberDash. So it's actually CryptoPay, which is the main plugin that handles cryptocurrency payments for WordPress. Therefore, users must have both plugins. +### What does this plugin do? -Thanks to this plugin, you can receive **cryptocurrency payments** from many Blockchain networks, especially Bitcoin, Ethereum, Solana, and sell paid courses with cryptocurrencies on your WordPress site with the MemberDash plugin. +Blockchain and crypto ecosystem is growing day by day. Many people doing business in this sector also establish communities, sell education, and establish platforms. If you have established a platform with MemberDash on WordPress and are looking for a solution to receive crypto payments for MemberDash, you are in the right place. -What is CryptoPay? (Click and watch video) +Because with CryptoPay, you can get the crypto payment gateway for MemberDash, completely commission-free and peer to peer. -[![Cryptocurrency payment gateway for WordPress](https://img.youtube.com/vi/3vaoFL4XG10/0.jpg)](https://www.youtube.com/watch?v=3vaoFL4XG10) -
+### How does it work? -Review CryptoPay Lite: **Cryptocurrency payment gateway for MemberDash** +First of all, you must have one of the Lite or Premium versions of CryptoPay. Because this is an integration plugin. Of course, MemberDash must also be installed. After activating CryptoPay, you need to go to the payment area in your MemberDash settings and add CryptoPay as a payment option. -Review CryptoPay Premium: **Cryptocurrency payments for WooCommerce** +As you can see in the pictures, you can then start receiving crypto payments directly with MemberDash. -Review MemberDash: **MemberDash** - -See **Demo** - -Bitcoin, Ethereum, Binance, Solana, Tron, Avalanche, Polygon, MetaMask, TrustWallet, WalletConnect, Phantom Cryptocurrency payments gateway plugin for WordPress & WooCommerce, cryptocurrency wordpress, cryptocurrency woocommerce, cryptocurrency payments, cryptocurrency payments gateway, cryptocurrency payments for woocommerce, cryptocurrency payments for wordpress, bitcoin payment for wordpress, woocommerce crypto payments, wordpress crypto payments, wordPress cryptocurrency payment plugin, woocommerce cryptocurrency payment gateway, cryptocurrency payment gateway for woocommerce, crypto payments woocommerce, accept cryptocurrency payments \ No newline at end of file +![Screenshot 1](https://i.ibb.co/SBRGWHS/Screenshot-2024-11-26-at-13-46-37.png) +![Screenshot 2](https://i.ibb.co/9sS7W5f/Screenshot-2024-11-26-at-13-47-47.png) +![Screenshot 3](https://i.ibb.co/C1D3gYr/Screenshot-2024-11-26-at-13-48-18.png) \ No newline at end of file diff --git a/readme.txt b/readme.txt index 2de233c..41f2688 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: BeycanPress Tags: Bitcoin, Ethereum, Cryptocurrency, Payments, MemberDash Requires at least: 5.0 -Tested up to: 6.6 +Tested up to: 6.7.1 Requires PHP: 8.1 Stable Tag: 1.0.0 Version: 1.0.0 @@ -15,20 +15,25 @@ Cryptocurrency Payment Gateway for MemberDash, Cryptocurrency payments for WordP ### Cryptocurrency Payment Gateway for MemberDash by CryptoPay -First of all, we would like to point out that this plugin is not a standalone plugin. This plugin is a **cryptocurrency payment gateway for MemberDash**. In other words, users who want to sell courses with cryptocurrency payments can use WordPress and MemberDash. However, this plugin is a plugin for CryptoPay and a cryptocurrency payment gateway for MemberDash. So it's actually CryptoPay, which is the main plugin that handles cryptocurrency payments for WordPress. Therefore, users must have both plugins. +It looks like you're looking for a plugin to accept cryptocurrency payments on MemberDash. What if we told you that you have come to the right place for this? -Thanks to this plugin, you can receive **cryptocurrency payments** from many Blockchain networks, especially Bitcoin, Ethereum, Solana, and sell paid courses with cryptocurrencies on your WordPress site with the MemberDash plugin. +Our product called CryptoPay is a wonderful plugin developed entirely for the WordPress ecosystem that allows you to receive peer-to-peer and commission-free cryptocurrency payments. + +This integration add-on allows you to use CryptoPay with MemberDash and sell your MemberDash memberships completely commission-free and with peer-to-peer cryptocurrency payments. + +#### What is CryptoPay? -What is CryptoPay? -Review CryptoPay Lite: **Cryptocurrency payment gateway for MemberDash** +#### This plugin is an integration plugin. So basically you need to have the following two plugins. + +**Review CryptoPay Lite** -Review CryptoPay Premium: **Cryptocurrency payments for WooCommerce** +**Review CryptoPay Premium** -Review MemberDash: **MemberDash** +**Review MemberDash** -See **Demo** +See CryptoPay Demo **Demo** = Privacy notices = @@ -42,6 +47,12 @@ With the default configuration, this plugin, in itself, does not: You can easily translate with Loco translate. +== Screenshots == + +1. Screen shot 1 +2. Screen shot 2 +3. Screen shot 3 + == Installation == 1. Upload the entire `/cryptopay-gateway-for-memberdash` directory to the `/wp-content/plugins/` directory.