use SDK before
This commit is contained in:
@@ -61,8 +61,13 @@ class WeChatPayConfigAdmin(ModelAdmin):
|
||||
('基本配置', {
|
||||
'fields': ('app_id', 'mch_id', 'is_active')
|
||||
}),
|
||||
('安全配置', {
|
||||
'fields': ('api_key', 'app_secret')
|
||||
('微信支付 V3 安全配置 (推荐)', {
|
||||
'fields': ('apiv3_key', 'mch_cert_serial_no', 'mch_private_key'),
|
||||
'description': '使用 Native 支付必须配置这些项。私钥可以粘贴在这里,或者放在 backend/certs/apiclient_key.pem 文件中。'
|
||||
}),
|
||||
('微信支付 V2 安全配置 (旧版)', {
|
||||
'fields': ('api_key', 'app_secret'),
|
||||
'classes': ('collapse',),
|
||||
}),
|
||||
('回调配置', {
|
||||
'fields': ('notify_url',)
|
||||
|
||||
Reference in New Issue
Block a user