
Using the Button Manager API With SOAP
Creating a Button Using SOAP
2
16 April 2012 Button Manager SOAP API
For a complete list of HTML variables and complete information, see HTML Variables for
PayPal Payments Standard.
Creating a Button Using SOAP
The example sets up a SOAP request message to create a button.
<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>
no_note Must be specified for Subscribe buttons. Enables a subscriber to not be
prompted to include a note with the subscription, a function which PayPal
subscriptions does not support. This variable must be included, and the value
must be set to 1.
business Secure Merchant ID or Email Address. When omitted, defaults to the secure
merchant ID of the merchant. If an email address is specified then it the
following requirements apply:
A merchant or 3rd Party calling the API directly may specify an
unregistered email and create an unencrypted button only.
A 3rd Party calling the API on behalf of a registered merchant must specify
an email address associated with the merchant account.
Character length and limitations: 127 single-byte characters.
item_number Item number or ID. Character length and limitations: 127 single-byte
alphanumeric characters.
lc If specified, it overrides the value set in the ButtonCode field.
HTML Variable Notes
Komentarze do niniejszej Instrukcji