|
@@ -30,7 +30,7 @@ class Test(View):
|
|
|
alipay_public_key_string = open(BASE_DIR + '/Controller/alipay_public_2048.pem').read()
|
|
|
orderID = int(time.time())+int(time.time())
|
|
|
alipay = AliPay(
|
|
|
- appid=str(orderID),
|
|
|
+ appid="2016092200569234",
|
|
|
app_notify_url=None, # the default notify path
|
|
|
app_private_key_string=app_private_key_string,
|
|
|
# alipay public key, do not use your own public key!
|
|
@@ -39,7 +39,7 @@ class Test(View):
|
|
|
debug=False # False by default
|
|
|
)
|
|
|
order_string = alipay.api_alipay_trade_wap_pay(
|
|
|
- out_trade_no="20161112",
|
|
|
+ out_trade_no=str(orderID),
|
|
|
total_amount=0.01,
|
|
|
subject="实用性充气版玩具",
|
|
|
return_url="https://test.dvema.com",
|