6個月前我曾使用過Bluesnap API。我寫了更新Bluesnap訂閱量的方法。現在我重新開始bluesnap連接,當我使用書寫方法時,出現錯誤「Missing Translation」。 通過URL https://sandbox.bluesnap.com/services/2/subscriptions/:subscription-id
我的方法運行PUT請求與頭更改訂閱金額期間「缺少翻譯」
Content-Type:application/xml
Authorization:Basic API_AUTH_KEY
,並請求主體
<?xml version="1.0"?>
<subscription xmlns="http://ws.plimus.com">
<override-recurring-charge>
<currency>ILS</currency>
<amount>55</amount>
</override-recurring-charge>
</subscription>
現在不是成功認購經常性費用的變化,我得到了一個錯誤
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://ws.plimus.com">
<message>
<error-name>UPDATE_SUBSCRIPTION_FAILED</error-name>
<description>Missing Translation</description>
</message>
</messages>
有誰有一些想法如何解決變更訂閱經常性收費?
你說得對。訂閱狀態爲「付款達到最高收費」。但奇怪的是,當我通過API獲取訂閱信息時,它會在沒有任何通知的情況下返回給我狀態A(Active)。在我的情況下,「 ILS 11370.00 override-recurring-charge>'。它的價值太高了嗎?在哪裏我可以看到限制? –
如果您在控制面板中打開它,我認爲它是在合同中定義的?我不確定。我轉移到他們最近的訂閱API,這比這個更簡單。我通過API創建計劃(您無法在UI中管理或查看它們)。 [這](https://developers.bluesnap.com/v2.0/docs/create-subscription)就是我用的。 – Randy
如果與支付API /v2.0/比較,他們的擴展支付API必須是近期的/v3.0/。但6個月前,我沒有看到付款API JSON /v2.1/。哪些API最穩定和靈活? –