User Guide
Table Of Contents
- Website Payments Standard Button Manager API (SOAP)
- Preface
- Intended Audience
- Revision History
- Website Payments Standard Button Manager API Overview
- Using the Button Manager API
- Button Manager API Reference
- HTML Variables for Website Payments Standard
Button Manager SOAP API June, 2009 15
Using the Button Manager API
Creating a Button Using SOAP
<com.paypal.soap.api.BMCreateButtonRequestType>
<buttonType>
<__value__>
<m__value>CART</m__value>
</__value__>
</buttonType>
<buttonCode>
<__value__>
<m__value>HOSTED</m__value>
</__value__>
</buttonCode>
<buttonSubType>
<__value__>
<m__value>PRODUCTS</m__value>
</__value__>
</buttonSubType>
<buttonVar>
<string>business=XX-usbiz@paypal.com</string>
<string>item_name=Item-123</string>
<string>item_number=#1234</string>
<string>shipping=0.50</string>
<string>tax_rate=2.50</string>
<string>address1=</string>
<string>state=</string>
<string>city=</string>
<string>zip=</string>
<string>no_shipping=0</string>
<string>address_override=0</string>
</buttonVar>
<optionDetails>
<com.paypal.soap.api.OptionDetailsType>
<optionName>DD1</optionName>
<optionSelectionDetails>
<com.paypal.soap.api.OptionSelectionDetailsType>
<optionSelection>AAAA</optionSelection>
<price>1.55</price>
</com.paypal.soap.api.OptionSelectionDetailsType>
<com.paypal.soap.api.OptionSelectionDetailsType>
<optionSelection>BBBB</optionSelection>
<price>10.55</price>
</com.paypal.soap.api.OptionSelectionDetailsType>
<com.paypal.soap.api.OptionSelectionDetailsType>
<optionSelection>CCCCC</optionSelection>
<price>10.55</price>
</com.paypal.soap.api.OptionSelectionDetailsType>
</optionSelectionDetails>
</com.paypal.soap.api.OptionDetailsType>
<com.paypal.soap.api.OptionDetailsType>