금액이 아닌 요율을 적용하기 위해 세금 변수를 변경했습니다. 현재 PayPal은 서비스가 일반적으로 과세 대상이 아니므로 운송비를 포함하여 세금을 부과하지 않습니다.
PayPal로 발송하기 전에 귀하의 사이트에서 총 세금을 계산하는 것이 좋습니다. 값은 tax_1 필드에 입력 할 수 있습니다. 두 번째 게시물에이 예가 나와 있습니다.
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_cart
&[email protected]
&button_subtype=services
&upload=1
&no_note=1
¤cy_code=USD
&rm=1
&item_name_1=Product1
&amount_1=200.00
&quantity_1=2
&item_name_2=Product2
&amount_2=200.00
&quantity_2=2
&shipping_2=6
&tax_rate_1=10
&tax_rate_2=10
&return=http://staging.xxxx.com/store/success.aspx
&cancel_return=http://staging.xxxx.com/store/failed.aspx
다음은 금액을 계산하는 예입니다. 각 항목에 대해 세액 대신 세금 한 번만 보냅니다. PayPal은 고객에게 세분화 된 세금 금액을 표시하지 않으므로 고객의 종료에 영향을 미치지 않습니다.
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_cart
&[email protected]
&button_subtype=services
&upload=1
&no_note=1
¤cy_code=USD
&rm=1
&item_name_1=Product1
&amount_1=200.00
&quantity_1=2
&item_name_2=Product2
&amount_2=200.00
&quantity_2=2
&shipping_2=6
&tax_1=10
&return=http://staging.xxxx.com/store/success.aspx
&cancel_return=http://staging.xxxx.com/store/failed.aspx
덕분에 총 카트 세금에 tax_cart를 사용하고 총 배송비에 세금을 통합했습니다. – Dkong