Android: Alipay sdk payment callback error code 4000

Check whether your declaration file declares that the sdk is 30 or above. If so, you need to add the following code to AndroidManifest.xml:

<queries>
        <package android:name="com.eg.android.AlipayGphone" />
        <package android:name="hk.alipay.wallet" />
    </queries>

Guess you like

Origin blog.csdn.net/qq_35584878/article/details/118528562