paypal / ipn-code-samples

Other
562 stars 486 forks source link

How to check for variables in ProcessVerificationResponse? #137

Closed blovia closed 6 years ago

blovia commented 6 years ago

General information

Issue description

In the code that appears here: https://github.com/paypal/ipn-code-samples/blob/master/C%23/paypal_ipn_mvc.cs

At the end, we can find this function: private void ProcessVerificationResponse(string verificationResponse)

And then it says that we should check that Payment_status=Completed But if this function receives only a string with "VERIFIED", where or how do I access the other variables: Payment_status, Txn_id, Receiver_email, Payment_amount, Payment_currency, and so on?

blovia commented 6 years ago

Nevermind, I just passed HttpRequestBase request from Receive to ProcessVerificationResponse and used it there.