GoogleCheckoutDevPro wrote:
> Hi,
>
> Please try adding the following line after you
CreateDefaultTaxRule:
>
> CreateTaxTables();
>
>
> Hope this helps,
> Jacob
Thanks, Jacob.
I tried using the CreateDefaultTables("false")
with no luck.
I wonder if i am supposed to indicate the tax type when i
create the
item, or if I do indicate a tax type, like occrurs on the
top lines of
code below, how that would affect my tax rules being
applied.
$tax_table_selector = "food"; // where
do they get values
for this from?
$merchant_private_item_data = "";
CreateItem(stripslashes($item_name),
stripslashes($item_description),
$item_quantity, $item_price,
$tax_table_selector, $merchant_private_item_data); //
call to
CheckoutAPIFunction.CreateItem()
// I am not sure why this isn't working, but it isn'w
$rate = "0.0825";
$tax_area_country = "ALL";
$tax_area = CreateTaxArea("country",
$tax_area_country);
$shipping_taxed = "false";
CreateDefaultTaxRule($rate, $tax_area, $shipping_taxed);
$rate = "0.0600";
$tax_area_state = "CT";
$tax_area = CreateTaxArea("state",
$tax_area_state);
$shipping_taxed = "true";
CreateDefaultTaxRule($rate, $tax_area, $shipping_taxed);
$merchant_calculated = "false";
CreateTaxTables($merchant_calculated);
$edit_cart_url = "";
$continue_shopping_url = "";
CreateMerchantCheckoutFlowSupport($edit_cart_url,
$continue_shopping_url);
// Specify an expiration date for the order and build
<shopping-cart>
$cart_expiration = "2006-12-31T23:59:59";
$merchant_private_data =
"<merchant-note>My order number
9876543</merchant-note>";
CreateShoppingCart($cart_expiration,
$merchant_private_data);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|