2013-03-11 3 views
3

잘 작동하는 PayPal URL 방식을 사용하고 있지만 세금을 부과하려고 시도 할 때 모든 상품의 총 가치에 세금을 적용하는 것처럼 보이지만 원하는 것은 즉PayPal Charge 배송비 (항목 제외)

제품, 총 제품 + 배송에 $ 100.00, 배송 $ 20.00, 세금을 부과하는 소계 $ 120.00, 세금 (10 %) $ 12.00, 그랜드 총 $ 132.00

이 내가 https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_cart&[email protected]&button_subtype=services&upload=1&no_note=1&currency_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=22&shipping_2=6&tax_1=10&tax_2=10&return=http://staging.xxxx.com/store/success.aspx&cancel_return=http://staging.xxxx.com/store/failed.aspx

이 무엇인가

답변

2

금액이 아닌 요율을 적용하기 위해 세금 변수를 변경했습니다. 현재 PayPal은 서비스가 일반적으로 과세 대상이 아니므로 운송비를 포함하여 세금을 부과하지 않습니다.

PayPal로 발송하기 전에 귀하의 사이트에서 총 세금을 계산하는 것이 좋습니다. 값은 tax_1 필드에 입력 할 수 있습니다. 두 번째 게시물에이 예가 나와 있습니다.

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_cart 
&[email protected] 
&button_subtype=services 
&upload=1 
&no_note=1 
&currency_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 
&currency_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 
+0

덕분에 총 카트 세금에 tax_cart를 사용하고 총 배송비에 세금을 통합했습니다. – Dkong