You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received the following error when using the example python code from docs. I am using the test API keys as the 'ApiClient' and have been able to create orders sucessfully by mass_g. However, when using the create order by price, I am receiving argument errors.
total_price_cents_usd = 500 # Pass in the total price in cents of US dollars (i.e. 5 dollars)
patch.orders.create_order(total_price_cents_usd=total_price_cents_usd)
Results in
ApiTypeError: Got an unexpected keyword argument 'total_price_cents_usd' to method create_order
On looking at the orders_api.py I see there is no total_price_cents_usd, just price_cents_usd. Changing the param label to this results in the following error.
total_price_cents_usd = 500 # Pass in the total price in cents of US dollars (i.e. 5 dollars)
patch.orders.create_order(price_cents_usd=total_price_cents_usd)
Hi there.
I received the following error when using the example python code from docs. I am using the test API keys as the 'ApiClient' and have been able to create orders sucessfully by
mass_g
. However, when using the create order by price, I am receiving argument errors.Results in
On looking at the orders_api.py I see there is no
total_price_cents_usd
, justprice_cents_usd
. Changing the param label to this results in the following error.Results in...
Thanks in advance.
The text was updated successfully, but these errors were encountered: