瀏覽代碼

fix: merge conflict

pull/2/head
Nabin Hait 6 年之前
父節點
當前提交
1f5e88a88f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      payments/payment_gateways/doctype/paypal_settings/paypal_settings.py

+ 1
- 1
payments/payment_gateways/doctype/paypal_settings/paypal_settings.py 查看文件

@@ -369,7 +369,7 @@ def manage_recurring_payment_profile_status(profile_id, action, args, url):

# error code 11556 indicates profile is not in active state(or already cancelled)
# thus could not cancel the subscription.
# thus raise exception only if error code not quals to 11556
# thus raise an exception only if the error code is not equal to 11556

if response.get("ACK")[0] != "Success" and response.get("L_ERRORCODE0", [])[0] != '11556':
frappe.throw(_("Failed while amending subscription"))


Loading…
取消
儲存