将createRecurringPaymentProfileResponseType api调用为mentioned in my previous question CreateRecurringPaymentsProfileResponseType后,我在沙盒帐户中创建了重复的个人资料,但是某些字段未设置...我附加了来自我的paypal-sandbox帐户的屏幕截图..如何设置遗漏字段,请帮我修复...
API请求,
INFO: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="urn:ebay:api:PayPalAPI" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ed="urn:ebay:apis:EnhancedDataTypes"><soapenv:Header><ns:RequesterCredentials><ebl:Credentials><ebl:Username>sandbox testing id</ebl:Username><ebl:Password>1408690256</ebl:Password><ebl:Signature>VALUE</ebl:Signature></ebl:Credentials></ns:RequesterCredentials></soapenv:Header><soapenv:Body><ns:CreateRecurringPaymentsProfileReq><ns:CreateRecurringPaymentsProfileRequest><ebl:Version>109.0</ebl:Version><ebl:CreateRecurringPaymentsProfileRequestDetails><ebl:CreditCard><ebl:CreditCardNumber>4745425765192217</ebl:CreditCardNumber><ebl:ExpMonth>9</ebl:ExpMonth><ebl:ExpYear>2014</ebl:ExpYear><ebl:CardOwner><ebl:PayerName><ebl:FirstName>Annamalai</ebl:FirstName><ebl:LastName>Lk</ebl:LastName></ebl:PayerName><ebl:Address><ebl:Name></ebl:Name><ebl:CityName>canada</ebl:CityName><ebl:StateOrProvince>NY</ebl:StateOrProvince><ebl:CountryName>IN</ebl:CountryName></ebl:Address></ebl:CardOwner><ebl:CVV2>962</ebl:CVV2></ebl:CreditCard><ebl:RecurringPaymentsProfileDetails><ebl:SubscriberName>null Lk</ebl:SubscriberName><ebl:BillingStartDate>2014-09-03T10:50:29:029UTC</ebl:BillingStartDate></ebl:RecurringPaymentsProfileDetails><ebl:ScheduleDetails><ebl:Description>description</ebl:Description><ebl:PaymentPeriod><ebl:BillingPeriod>Month</ebl:BillingPeriod><ebl:BillingFrequency>12</ebl:BillingFrequency><ebl:Amount currencyID="USD">100</ebl:Amount></ebl:PaymentPeriod></ebl:ScheduleDetails></ebl:CreateRecurringPaymentsProfileRequestDetails></ns:CreateRecurringPaymentsProfileRequest></ns:CreateRecurringPaymentsProfileReq></soapenv:Body></soapenv:Envelope>
返回响应如下:
INFO: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Header><Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"></Security><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"><Username xsi:type="xs:string"></Username><Password xsi:type="xs:string"></Password><Signature xsi:type="xs:string"></Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><CreateRecurringPaymentsProfileResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2014-09-03T10:50:33Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">4fcd7b1fa45e</CorrelationID><Version xmlns="urn:ebay:apis:eBLBaseComponents">109.0</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">12566246</Build><CreateRecurringPaymentsProfileResponseDetails xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:CreateRecurringPaymentsProfileResponseDetailsType"><ProfileID xsi:type="xs:string">I-SJN77561P75U</ProfileID><ProfileStatus xsi:type="ebl:RecurringPaymentsProfileStatusType">ActiveProfile</ProfileStatus><TransactionID xsi:type="xs:string"></TransactionID></CreateRecurringPaymentsProfileResponseDetails></CreateRecurringPaymentsProfileResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
答案 0 :(得分:1)
您的请求不包含电子邮件地址,这就是为什么它没有显示在PayPal个人资料中。此外,您的请求设置为每12个月支付100美元。这真的是你想要的吗?
金额字段为空白,因为它看起来似乎尚未根据个人资料进行付款。该资料已创建,但尚未支付任何款项,因此尚未显示任何内容。一旦付款确实通过,那些将会更新。