
Contents
4
Using the Button Manager API with Hosted Solution Checkout . . . . . . . . . . . . . . . 36
Using URL Returned in the Response (Recommended) . . . . . . . . . . . . . . . . 36
Using Form POST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Encrypting Buttons Using Public and Private Key . . . . . . . . . . . . . . . . . . . . 39
Example of Initiating Hosted Solution Checkout. . . . . . . . . . . . . . . . . . . . . 39
BMCreateButton API Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
BMCreateButton Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
BMCreateButton Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
BMCreateButton Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Chapter 6 Order Processing . . . . . . . . . . . . . . . . . . . . . .45
Verifying Transaction Status and Authenticity . . . . . . . . . . . . . . . . . . . . . . . . 45
Validate Instant Payment Notification (IPN) . . . . . . . . . . . . . . . . . . . . . . . 45
Fulfilling Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Appendix A Obtaining API Credentials . . . . . . . . . . . . . . . . . .47
Creating an API Signature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Creating an API Certificate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Encrypting Your Certificate Into PKCS12 Format . . . . . . . . . . . . . . . . . . . . . . 48
Importing Your Certificate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Appendix B Error Messages . . . . . . . . . . . . . . . . . . . . . . .51
Appendix C Currency Codes . . . . . . . . . . . . . . . . . . . . . . .69
Comentários a estes Manuais