私はpaypalから奇妙な問題に遭遇しています。ショッピングカートが小数点以下の桁数(1.15など)で値を渡すと、機能せず、エラーが表示されます。PayPalシステムへの入力に使用したリンクに、誤った形式のアイテムの金額が含まれています。
これは、機能する量の10進数なしの出力です。
paypal_class->dump_fields() Output:
Field Name Value
amount_1 70.00
business xxxxxxxxxxxxxxxx
cancel_return xxxxxxxxxxxxxxxxxx
cmd _cart
currency_code HUF
invoice 171SPLINTERCELLCONVICTIONxxxxxxxxxxxxxxxxxxx
item_name_1 Apple
item_number_1 211
notify_url xxxxxxxxxxxxxxxxxxxxxxxx
on0_1 Option
os0_1 Default
quantity_1 1
return xxxxxxxxxxxxxxxxxxxxxxxxx
rm 2
shipping_1 5
tax_cart 0.00
upload 1
これは、動作しない小数点以下の桁数の出力です(セキュリティ上の理由からいくつかの変数を削除しました)。
paypal_class->dump_fields() Output:
Field Name Value
amount_1 70.15
business xxxxxxxxxxxxxxxxxx
cancel_return xxxxxxxxxxxxxxxxxxx
cmd _cart
currency_code HUF
invoice 172SPLINTERCELLCONVICTIONxxxxxxx
item_name_1 Apple
item_number_1 211
notify_url xxxxxxxxxxx
on0_1 Option
os0_1 Default
quantity_1 1
return xxxxxxxxxxx
rm 2
shipping_1 5
tax_cart 0.00
upload 1
ハンガリーフォリント、日本円、台湾ニュードルの3つの通貨だけでは機能しません。
何か助けはありますか?ありがたいです。