Send custom transaction id to paypal express checkout NVP - asp.net

I am using Paypal Express Checkout NVP API version 115
I Already having my own shopping cart
Shopping cart is already integrated to other 3rd party clearing house ( for credit card)
I am using my own transaction id.
So, I am making 3 API Calls
Set-EC (EC refer to Express checkout)
Get-EC
Do-EC
In SET-EC, I want to send my own transaction id which can be retrieved by the DO-EC,
They have listed PAYMENTREQUEST_n_TRANSACTIONID in Set-EC.
So, I am sending my own transaction id in PAYMENTREQUEST_n_TRANSACTIONID in SET-EC
But, I am not able to receive it in DO-EC PAYMENTINFO_n_TRANSACTIONID.
Its showing me the 17 charac transaction id of Paypal.
Can anyone help me out to send my own custom transaction id and receive it upon payment completed.

Related

How to set a transaction ID for manual payment methods like cash on delivery

I have a client offering free products and they want to bypass customers having to enter customer details but they rely on the transaction id to record orders from their QAD system connected via WooCommerce API.
My goal is to set a default transaction ID in the case that there is not one set from stripe or other payment methods. More specifically setting a transaction id to "FREESAMPLE" when someone checks out using Cash on Delivery.
This one is a little more complex and I didn't find anything on stack exchange for resolving this question.
I set up the payment method Cash on Delivery to only be available when the cart total is Zero dollars.
This worked, but Now they are not getting the order information in their QAD system due to not having the transaction ID.
I looked up the documentation for WooCommerce API about utilizing the transaction id field in orders and didn't find much in the way of setting a default option or an option for a payment method that doesn't generate a transaction ID from a third party payment gateway like Stripe.

PayPal Instant Payment Notification for Held Payments

So I'm using an API to receive payment notifications,
I don't really care what's in the notification I just want paypal to notify the API when a payment has been made and execute my own code.
So first off is this even going to work?
I put the URL for the API in the Instant Payment Notification under my account settings. My account is still new because I sent a test payment and it didn't work, do held payments not notify the IPN?
If the payment is held within PayPal it will notify via IPN, yes. You will be able to see such held payments by logging into www.paypal.com and viewing the activity. There will also be a "pendingreason" value in the IPN, to notify you of why it is held.
Note that if at transaction time a "notify_url" is set by the integration (many older shopping carts do this), that URL will be used in place of whatever is set at the account level in www.paypal.com. Whatever was set at transaction time has precedence.
--
If an order is "on hold" by your shopping cart (pending payment), PayPal will not send any notification as nothing has taken place within its system (except maybe a checkout attempt that was clicked on but not finished for whatever reason)

Testing Paypal payment processing

I'm new at integrating PayPal into a woocommerce/WordPress site. I'm testing the payment process. When a customer purchases an item and checks out using the PayPal method, it shows up in WordPress as "processing". How long does it take for the money to be received into the bank account and do I have to manually set the status to "completed" or does it do it automatically?
Thanks

PayPal IPN in WooCommerce

I am just wondering which table stored the PayPal IPN in WooCommerce. The dashboard in wordpress(woocommerce) can not see so much information in the PayPal IPN, only few of them like Payer first name,Payer last name,Payer PayPal address,Payment type,PayPal Transaction Fee. I want to see more about the IPN data such as if the paypal is verified, phone number, registered country, etc.
In your dashboard You will see:
Order #ORDER_NUMBER details
Payment via PayPal (`PayPal Transaction ID`).
In your PayPal account access Instant Payment Notification (IPN) details page. profile -> selling preferences -> Instant Payment Notification Preferences. Click IPN History page and search the transaction id that you see in WooCommerce. You will see all the information about this IPN. HTTP response code, Delivery status, the actual message sent by PayPal.
You can also access the transaction id from WooCommerce table.
select meta_value
from wp_postmeta
where post_id=ORDER_NUMBER and meta_key='_transaction_id'
replace ORDER_NUMBER with your WooCommerce order number.
Some might need the IPN data from PayPal to feed into other in-house operational processes, like shop floor order processing, etc., rather than having woocommerce consume all the IPN data and only 'keep' part of it for display. Better to either save it all, or offer a configuration option to specify a 2nd IPN listener the data could be piped to, in order to facilitate automation of other order processing systems.

Payflow Pro API for retrieving reference transactions

We have integrated Payflow pro payment gateway into our website and processing payment requests using Payflow as payment gateway and storing payflow transaction id as a part of response into our database.
We need to retrieve transaction history for specific transaction Id as shown in PayPal manager.
So please suggest me appropriate API for retrieving Reference transactions on basis of specific transaction Id as soon as possible.
Looking forward for your feedback.
You could get information back about transactions a couple of different ways. You could either use the inquiry by setting TRXTYPE=I or by using the Reporting API's.

Resources