List Info

Thread: How to get taxes calculated for my simple php button builder code.




How to get taxes calculated for my simple php button builder code.
user name
2006-12-11 23:56:04
Hi,

Please try adding the following line after you
CreateDefaultTaxRule:

CreateTaxTables();


Hope this helps,
Jacob


--~--~---------~--~----~------------~-------~--~----~
 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-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---

How to get taxes calculated for my simple php button builder code.
user name
2006-12-13 02:01:54

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-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---

How to get taxes calculated for my simple php button builder code.
user name
2006-12-13 22:44:35
Hi,

> I tried using the
CreateDefaultTables("false") with no luck.

Could you confirm that you've tried adding the following
statement as
is?

CreateTaxTables();

If adding the line doesn't help, could you let me know what
error
message you're getting?


Thanks,
Jacob


--~--~---------~--~----~------------~-------~--~----~
 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-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---

How to get taxes calculated for my simple php button builder code.
user name
2006-12-14 04:01:34
Yes, this is the error:

Fatal error in line 602 of
file/home/edithrye/public_html/CheckoutAPIFunctions.php
- Missing argument 1 for createtaxtables()

So I tried with  CreateDefaultTables("false")  and
it didn't crash,
just didn't work...

All that i need to do is have taxes applied for one state.
That is my
goal..

thanks for posting.



GoogleCheckoutDevPro wrote:
> Hi,
>
> > I tried using the
CreateDefaultTables("false") with no luck.
>
> Could you confirm that you've tried adding the
following statement as
> is?
>
> CreateTaxTables();
>
> If adding the line doesn't help, could you let me know
what error
> message you're getting?
> 
> 
> Thanks,
> Jacob


--~--~---------~--~----~------------~-------~--~----~
 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-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---

How to get taxes calculated for my simple php button builder code.
user name
2006-12-14 18:13:02
My bad, please try the following with the argument:

$merchant_calculated = "false";
CreateTaxTables($merchant_calculated);

Please note that there is no function called
"CreateDefaultTables()"
mentioned in your post. 

Please let me know how it goes.

Thanks,
Jacob


--~--~---------~--~----~------------~-------~--~----~
 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-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )