PayPal Website Payments Standard - 2012 Guía de usuario Pagina 168

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 464
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 167
Recurring Payments – Subscribe Buttons
Sample HTML Code for Subscribe Buttons
3
168 June 2012 PayPal Payments Standard Integration Guide
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="alice@mystore.com">
<!-- Specify a Subscribe button. -->
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<!-- Identify the subscription. -->
<input type="hidden" name="item_name" value="Alice's Weekly Digest">
<input type="hidden" name="item_number" value="DIG Weekly">
<!-- Set the revised subscription price and terms. -->
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="a3" value="69.95">
<input type="hidden" name="p3" value="6">
<input type="hidden" name="t3" value="M">
<!-- Set recurring payments until canceled. -->
<input type="hidden" name="src" value="1">
<!-- Let current subscribers modify only. -->
<input type="hidden" name="modify" value="2">
<!-- Display the payment button. -->
<input type="image" name="submit" border="0"
src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif"
alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1"
src="https://www.paypal.com/en_US/i/scr/pixel.gif" >
</form>
For more information, see “Working with Modify Subscription Buttons” on page 138
Sample HTML Code for an Unsubscribe Button
Instead of an HTML form like other payment buttons, Unsubscribe buttons are image links to
the subscription cancellation function on the PayPal website. The URL for the image link is
specified with the HREF attribute, and it includes these URL-encoded parameters:
cmd – identifies the action as a request to cancel the active subscription of the PayPal
account holder who clicked the button.
alias – identifies the email address on file with the subscription service providers PayPal
account through which the subscriber originally signed up, or identifies the providers
PayPal account by secure merchant account ID.
In the example below, the email address [email protected] is URL encoded by
substituting “@” with “%40” and “.” with “%2e”.
Vista de pagina 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 463 464

Comentarios a estos manuales

Sin comentarios