PayPal - qualified payment confirmation

FFiedler
Contributor
Contributor

Hello,

how can I use the API to get qualified payment confirmation based on a payment ID?

I don't just mean the status "payment successful" - but rather a detailed document, such as the payment confirmation via email that a user receives when he or she has paid in a shop via Paypal.

Are the NVP/SOAP APIs the right way to do this or is it more the REST API?

I don't just need the status "Payment made".

Thank you

Login to Me Too
5 REPLIES 5

FFiedler
Contributor
Contributor

Can anyone help?

Login to Me Too

FFiedler
Contributor
Contributor

Or is there a "very simple" PHP example where you can retrieve a payment confirmation via the API - if possible not just the status "success" - but in more detail. And as simple as possible, without a large SDK, just with PHP board resources and cURL?

Login to Me Too

Kavyar
Moderator
Moderator

Good day @FFiedler 

 

Thank you for posting to the PayPal community.

 

Please make use of the "Transaction Search" API to retrieve the transaction details. Below are the specific URLs to be used based on the integration method:

 

For the transactions processed via NVP API integration, please use the following URL -  https://developer.paypal.com/docs/nvp-soap-api/transaction-search-nvp/

 

For the transactions processed via REST API integration, please use the following URL -  https://developer.paypal.com/docs/api/transaction-search/v1/

 

Merchants can also integrate our payment event notification services.

  • If your website is built via NVP/SOAP API integration, please use the Instant Payment Notification(IPN) service to get the payment notifications.

           Guide link - https://developer.paypal.com/docs/api-basics/notifications/ipn/

 

  • If your website is built via REST API integration, please use Webhooks event notification to get the payment notifications.

             Guide link - https://developer.paypal.com/docs/api-basics/notifications/webhooks/

 

If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

FFiedler
Contributor
Contributor

I have another question: With the REST API you can find the following call:

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

There are two URLs in this response:

 

 

"metadata": {

"create_time": "2018-11-12T08:00:20Z",
"recipient_view_url": "https://www.api-m.paypal.com/invoice/p#Z56S5LLAQ52LCPZ5",
"invoicer_view_url": "https://www.api-m.paypal.com/invoice/details/INV2-Z56S-5LLA-Q52L-CPZ5"

}

 

 



Are these URLs qualified documents (email or PDF) on which you can see that the payment has been made, for example?

And is this search for invoices and a view/download for a qualified payment confirmation also available in the NVP/SOAP API? We only work with a simple integration of the NVP API.

We need a document (PDF / HTML / Email ...) a qualified payment confirmation created by PayPal - not just a status "Payment made" After making a payment, the buyer receives an email confirming his payment. This is the kind of document it should be.


Thank you

Login to Me Too

Kavyar
Moderator
Moderator

Good day @FFiedler 

 

Thank you for posting to the PayPal community.

 

To access transaction details through NVP API, kindly refer the detailed guide link below

URL -   https://developer.paypal.com/docs/nvp-soap-api/transaction-search-nvp/ 

 

For Invoice operations via NVP API, please use the below link:

https://developer.paypal.com/api/nvp-soap/create-invoice/#link-createinvoiceapioperation

https://developer.paypal.com/api/nvp-soap/get-invoice-details/

 

For Invoice operations via REST API, please use the below link:

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

 

Note: Merchants can also integrate our payment event notification services. For NVP/SOAP API integration, please use the Instant Payment Notification(IPN) service to get the payment notifications.

 

Refer to the guide link -  https://developer.paypal.com/docs/api-basics/notifications/ipn/

 

If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

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.