Coder Social home page Coder Social logo

Comments (6)

davidtsadler avatar davidtsadler commented on September 18, 2024
$item->ShippingDetails = new \DTS\eBaySDK\Trading\Types\ShippingDetailsType();
$item->ShippingDetails->RateTableDetails = new \DTS\eBaySDK\Trading\Types\RateTableDetailsType();
$item->ShippingDetails->RateTableDetails->InternationalRateTable = '.....';

from ebay-sdk-php.

davidtsadler avatar davidtsadler commented on September 18, 2024

Actually looking at the code the SDK should support the InternationalRateTable field but it's currently missing from https://github.com/davidtsadler/ebay-sdk-php/blob/master/src/Trading/Types/RateTableDetailsType.php

I'll look into why.

from ebay-sdk-php.

Telrik avatar Telrik commented on September 18, 2024

Thanks, also
chrome_2016-09-22_23-03-09
the table itself don't have any name or id and it's inside ebay account, so should i put
$item->ShippingDetails->RateTableDetails->InternationalRateTable = 'true';
or '.....'; ?;)

from ebay-sdk-php.

davidtsadler avatar davidtsadler commented on September 18, 2024

If you look at the documentation at http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/AddFixedPriceItem.html#Request.Item.ShippingDetails.RateTableDetails.InternationalRateTable, it appears that a seller can only specify one international rate table, so set it to Default.

$item->ShippingDetails->RateTableDetails->InternationalRateTable = 'Default';

This may throw an exception as the InternationalRateTable may not exist in the SDK until I look into fixing the issue.

from ebay-sdk-php.

Telrik avatar Telrik commented on September 18, 2024

Perfect, thanks a lot.
Will look for the fix. Before i want try to add InternationalRateTable into file manualy but it says DO NOT EDIT generated from wsdl so i add this issue first. thanks again.

from ebay-sdk-php.

davidtsadler avatar davidtsadler commented on September 18, 2024

InternationalRateTable has been added in the 13.0.0 release.

from ebay-sdk-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.