pip install python-alipay-sdk python from Alipay import AliPay alipay_client = AliPay( appid="your_app_id", app_private_key_string="your_private_key", alipay_public_key_string="your_alipay_public_key", sign_type="RSA2", ) python order_string = alipay_client.api_alipay_trade_page_pay( out_trade_no="your_order_number", total_amount="your_total_amount", subject="your_product_name", ) python if params["trade_status"] == "TRADE_SUCCESS": else: else:


上一篇:
下一篇:
切换中文