PayPal Website Payments Pro - 2011 - Hosted Solution Guia do Utilizador Página 38

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 73
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 37
Integrating Your Website Using API
Using the Button Manager API with Hosted Solution Checkout
38
Identify the WEBSITECODE in the response and use the code to create a Pay Now button on
your review page. When your buyer clicks the button, they are redirected to the PayPal hosted
payment page. Like the URL, the button is usable for approximately two hours or until the
payment is successful.
NOTE:PayPal recommends using TOKEN or ENCRYPTED.
Example for TOKEN
WEBSITECODE=<form action="https://securepayments.paypal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="HSS-
1PncRuoWdOkE2cDn3bIsTr-5ODQU-xac">
<input type="image"
src="https://www.paypal.com/en_GB/i/btn/btn_paynow_LG.gif" border="0"
name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif"
width="1" height="1">
</form>
Example for ENCRYPTED
WEBSITECODE=<form action="https://securepayments.paypal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----
MIIHkwYJKoZIhvcNAQcEoIIHhDCCB4ACAQExggE0MIIBMAIBADCBmDCBkjELMAkGA1UEBhMCVVM
xCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW
5jLjEVMBMGA1UECxQMc3RhZ2UyX2NlcnRzMRMwEQYDVQQDFApzdGFnZTJfYXBpMRwwGgYJKoZIh
vcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMA0GCSqGSIb3DQEBAQUABIGAsqS5KoYWmzqj2crl/I9v
a72rukNNWuxh2TBBhhx4P7DGcYeIzA82FzS3MmZTJfY2VydHMEwHwweqfs3yBjMA0GCSqGSIb3D
QEBAQUABIGAdW7vFpnU+jbGW1if7YCAsMiViJbw5HKK3TNkeJvv8pxFZetWb3HO0KWM3zzaPz1v
URBuDCQa8l4RlEb3n/zT7k2/eusAq4LbS6YEPu2od/AUTDkyDSCA32XBjS78yzpJ5KHTW4eoeff
l8pCEkrcRwfV4hyqsSgTOuvfPOBer3yA=-----END PKCS7-----
">
<input type="image"
src="https://www.paypal.com/en_GB/i/btn/btn_paynow_LG.gif" border="0"
name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif"
width="1" height="1">
</form>
Example of CLEARTEXT
WEBSITECODE=<form action="https://securepayments.paypal.com/acquiringweb"
method="post">
<input type="hidden" name="cmd" value="_hosted-payment">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="paymentaction" value="sale">
<input type="hidden" name="return" value="http://www.yourwebsite.com">
<input type="hidden" name="partner" value="PayPalUK">
<input type="hidden" name="vendor" value="ukpro2002">
<input type="hidden" name="total" value="7">
Vista de página 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 72 73

Comentários a estes Manuais

Sem comentários