0

I'm using the Recurly v3 JavaScript API to fetch pricing info for a subscription plan: https://docs.recurly.com/js/

Specifically, I'm using the Pricing API .attach (https://docs.recurly.com/js/#pricing) to resolve the price and tax information.

Here's the problem: using the Recurly test gateway, I get estimated taxes of 0.00 for a plan using the Recurly v3 JS API. However, when I actually purchase the plan, and then if I check in the Recurly management portal, I can see my 'estimated taxes' as 17 cents. So, seeing the taxes in the Recurly management website confirms that I've configured things correctly... in other words my plan has 'collect taxes' checked, and the billing address that I'm testing with matches a state that I have configured my Recurly account to collect taxes for.

Regardless of all that, the Recurly JS API does not report the correct taxes (0.00 instead of 0.17)!

Any suggestions or insights?

4

2 に答える 2

1

フォームにデジタル値が含まれていない可能性があります。これはシステムによって入力される非表示のフィールドで、rjs にこれが課税対象のアイテムであることを伝え、構成を使用して価格設定.api で税金を計算します。

https://github.com/recurly/recurly-js-examples/blob/master/public/advanced-tax/index.html#L59

于 2015-03-23T14:38:25.633 に答える
0

再帰サポートによると、これはアプリケーションがサンドボックス モードになっているためです。

彼らのドキュメントから:

「サイトがサンドボックス モードの場合、税金に使用される税率は推定値であり、定期的に更新される半静的な内部税表に基づいています。サイトが本番モードで有効になっている場合、購入に使用され、記録された最終的な税率は請求書は、当社の売上税パートナーである Avalara から直接提供されます.Avalara の税エンジンは、リクエストごとにリアルタイムで税率を提供します.また、生産モードでは、税のプレビューは内部の税テーブルを使用しますが、プレビューは最終請求に進みます。」

これは本当に私には当てはまりません。0.00 というのは見積もりではありませんが、サポートがそう言っているので、それを受け入れます。

于 2015-03-20T02:07:18.783 に答える