Create a PayPal invoice from my VBA application

dbWizard
Contributor
Contributor

I'm modifying an application one of my clients has.  He would like to be able to create a PayPal invoice from within the application and get an InvoiceID back as the response back from his request.  The thought is that we would then embedd that invoiceID in a hyperlink on the digital invoice that the application sends to the client.

 

1.  Where do I find the syntax for the xml request and response?

2.  Does PP have a sandbox for developer testing?

3.  what would the hyperlink look like for that invoice?

Login to Me Too
3 REPLIES 3

MTS_Jennifer
Moderator
Moderator

Hello,

Thank you for posting to the PayPal Sandbox Community.

Here is the documentation on the Invoicing API: https://developer.paypal.com/docs/invoicing/#integration-options

Here is the basic integration information:

https://developer.paypal.com/docs/invoicing/basic-integration/#

Here is the full API Reference for Invoicing:

https://developer.paypal.com/docs/api/invoicing/v2/

PayPal has a sandbox environment for testing here is the guide: https://developer.paypal.com/docs/api/sandbox/

 

Thank you,

Jennifer

PayPal

Login to Me Too

dbWizard
Contributor
Contributor

Jennifer, I guess what I'm looking for is "what is the minimum set of required info to create an invoice in PayPal" from my Access database, using VBA and XML?  Your earlier reply took me to the Basic Integration page, which contains a rather long set of JSON formatted data (I've got no experience with JSON) which has a lot of info in it that my client does not really want to add to the invoice.  He does not want to utilize PayPal to actually send the invoice to the client, and does not want to provide line item details of the invoice, just the total invoice amount.

 

Basically, what he wants to do, just before he sends an email with an embedded PDF file to his client, is create an invoice, in which he would pass his InvoiceID, the client name, but no address or email info, the invoice date and amount, and a short description.  He would then like to get back an InvoiceID which he could embed as hyperlink text behind text in the PDF document, which, when clicked, would take the client to the specific invoice in Paypal so that they can make the payment. 

 

Appreciate your help.

 

Dale

Login to Me Too

Ziggabug
New Community Member

dbWizard - Did you ever get this working? I am trying to achieve something similar from an Access database.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.