What’s RxPay ?

Make payment simple from now on, one-button payment function, support alipay payment, wechat payment

step 1

step 2

Add permissions to your AndroidManifest file

step 3

If you need to use wechat Pay, please take a closer look at step 1. Add a note where you want to use wechat pay

@wx (packageName = "wechat pay register keystore packageName ") public class MainActivity extends AppCompatActivityCopy the code

2. Add your wechat Pay appID to AndroidManifest

   <meta-data
            android:name="WX_APPID"
            android:value="wxb51b89cba83263"/>
Copy the code

3. Activity on the wechat Pay callback page in AndroidManifest

     <activity
            android:name="xxx.xxx.xxx.wxapi.WXPayEntryActivity"
            android:exported="true"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan"
            />

Copy the code

XXX is the package name of your wechat pay when you register your keystore. It doesn’t matter if you report an error, the corresponding Activity will be generated by compilation.

The problem

For bug spotting or good suggestions, please welcome issues or Email [email protected]