我已经设置并从我的eBay沙箱中获取了所有配置文件ID,但是当我尝试使用PaymentProfileID,ReturnProfileID,ShippingProfileID进行verifyAddFixedPriceItem时,它显示错误-
Error: Return policy is not specified. A return option is missing or not valid. Update your return options.
Error: Return policy is not specified. A return option is missing or not valid. Update your return options.
Error: Return policy is not specified. A return option is missing or not valid. Update your return options.
Error: Approved electronic payment method is missing To list this item, you need to accept PayPal or other approved electronic payments as a payment method.
Error: A shipping service is not specified. At least one valid shipping service must be specified.
我在Google上进行了搜索,所以我找到了-
$item->SellerProfiles = new Types\SellerProfilesType();
$businessProfiles = new Types\SellerPaymentProfileType();
$businessProfiles->PaymentProfileID = $businessPolicy['paymentProfiles']['profileId']; //passed back from busines polices api
$businessProfiles->PaymentProfileName = $businessPolicy['paymentProfiles']['profileName'];
$item->SellerProfiles->SellerPaymentProfile = $businessProfiles;
$businessProfiles = new Types\SellerReturnProfileType();
$businessProfiles->ReturnProfileID = $businessPolicy['returnProfiles']['profileId'];
$businessProfiles->ReturnProfileName = $businessPolicy['returnProfiles']['profileName'];
$item->SellerProfiles->SellerReturnProfile = $businessProfiles;
$businessProfiles = new Types\SellerShippingProfileType();
$businessProfiles->ShippingProfileID = $businessPolicy['shippingProfiles']['profileId'];
$businessProfiles->ShippingProfileName = $businessPolicy['shippingProfiles']['profileName'];
$item->SellerProfiles->SellerShippingProfile = $businessProfiles;
但仍然出现相同的错误。
您能检查一下并告诉我们我做错了吗?