Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

How to set Global Shipping Program and some setting for additional information #10

Closed
korcstar opened this issue Jul 15, 2015 · 1 comment

Comments

@korcstar
Copy link

I have tried to list item on UK eBay site by api
When I try to use Global shipping program, get error

gps

My code is following

$item->ShippingDetails = new Types\ShippingDetailsType();

$item->ShippingDetails->ShippingType = Enums\ShippingTypeCodeType::C_FLAT_DOMESTIC_CALCULATED_INTERNATIONAL;

//service setting for Royal Mail 1st Class & Free shipping

$shippingService = new Types\ShippingServiceOptionsType();
$shippingService->ShippingServicePriority = 1;
$shippingService->ShippingService = "UK_RoyalMailFirstClassStandard";
$shippingService->FreeShipping = true;

$item->ShippingDetails->ShippingServiceOptions[] = $shippingService;

//international setting for Global Shipping Programme, but not sure

$shippingService = new Types\InternationalShippingServiceOptionsType();
$shippingService->ShippingServicePriority = 2;
$shippingService->ShippingService = "InternationalPriorityShippingUK";

$item->ShippingDetails->InternationalShippingServiceOption[] = $shippingService;

when i use this code, I get error

Postage service is not available.Postage service International Priority Shipping(50300) is not available.Invalid Postage Type.Postage Type is not supported by this site.

What is solution to set Global Shipping Programe?

Also I need help for some setting by api

How to set addtional return policicy details?
How to set additional payment instructions?

Thanks

@davidtsadler
Copy link
Owner

Issue continued at eBay Developer forums

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants