Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Godot-WeChatPay-Android-Plugin

An asset by [email protected]
The page banner background of a mountain and forest
Godot-WeChatPay-Android-Plugin hero image

Quick Information

0 ratings
Godot-WeChatPay-Android-Plugin icon image
Godot-WeChatPay-Android-Plugin

This is an Android plugin for Godot Engine 4.2, providing Godot client support for WeChat Pay's in-app payment. It also supports Tencent's Ad View platform for interstitial ads. Additionally, it includes the ability to copy text to the Android clipboard and paste from the clipboard.

Supported Engine Version
4.2
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
9 months ago
Git URL
Issue URL

Godot Wechatpay Android Plugin

This is an Android plugin for Godot Engine 4.2, providing Godot client support for WeChat Pay's in-app payment. It also supports Tencent's AdView platform for interstitial ads. Additionally, it includes the ability to copy text to the Android clipboard and paste from the clipboard.

Contents

It inherits from the Godot Android plugin template, for basic usage and configuration, please refer to this repository: https://github.com/m4gr3d/Godot-Android-Plugin-Template

Usage

Note: Android Studio is the recommended IDE for developing Godot Android plugins. You can install the latest version from https://developer.android.com/studio.

  • Wechatpay:

    • Open [plugin/src/main/java/org/godotengine/plugin/android/template/Wechatpay.java] and replace your AppID in line20 and line33,replace your PartnerID in line34.
    • Now you can use function "WechatPaying" in Godot. When using it, you need to pass in four parameters(prepayid,nonStr,timestamp,sign), all of which are received from your backend server through the network. You can refer to the WeChat payment developer documentation for more information. https://pay.weixin.qq.com/docs/merchant/products/in-app-payment/development.html
  • TecentAd:

    • Open [plugin/src/main/java/org/godotengine/plugin/android/template/GodotAndroidPlugin.kt] and replace your AppID in line54.
    • Now you can use function "interAd" in Godot. When using it, you need to pass in one parameters(AdId),you can get this on Ad platform:https://adnet.qq.com/
  • Copy & Paste:

    • You can use function "copy" by pass in one String you wanna copy. And function "paste" will return text from the clipboard.

This is an Android plugin for Godot Engine 4.2, providing Godot client support for WeChat Pay's in-app payment. It also supports Tencent's Ad View platform for interstitial ads. Additionally, it includes the ability to copy text to the Android clipboard and paste from the clipboard.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Godot-WeChatPay-Android-Plugin icon image
Godot-WeChatPay-Android-Plugin

This is an Android plugin for Godot Engine 4.2, providing Godot client support for WeChat Pay's in-app payment. It also supports Tencent's Ad View platform for interstitial ads. Additionally, it includes the ability to copy text to the Android clipboard and paste from the clipboard.

Supported Engine Version
4.2
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
9 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers