1

6 か月前、Bluesnap API を使用しました。Bluesnap のサブスクリプション金額を更新するメソッドを作成しました。ここで、bluesnap 接続の開発に戻り、記述された方法を使用すると「翻訳がありません」というエラーに直面します。https://sandbox.bluesnap.com/services/2/subscriptions/:subscription-id 私のメソッドは、ヘッダー付きのURLで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>

サブスクリプションの定期的な請求の変更を修正する方法を知っている人はいますか?

4

2 に答える 2