Pay Pal IPN Status - paypal-ipn

Zen Cart's pending unilateral Pay Pal IPN status is unchanged, after changing primary email address in Zen Cart. How do i get pending status to change to complete? Pay Pal still has no record of the order or funds.

Related

PayPal IPN for solved disputes with a different refund amount offered by the seller

I am integrating PayPal with my site and testing in sandbox.
When the buyer opens a dispute in PayPal Resolution Center to requests a refund, then we receive an IPN with payment_status = Reversed (the refund amount requested by the buyer is removed from the seller's account balance).
Then if the seller agrees to send the full refund, closing the case, then we receive an IPN with payment_status = Canceled_Reversal (the refund amount requested by the buyer is returned to the seller's account balance) and another IPN with payment_status = Refunded (the refund amount requested by the buyer is removed from the seller's account balance and finally returned to the buyer's account balance).
This is the IPNs' payment_status sequence for such case: Reversed > Canceled_Reversal > Refunded
However, the issue occurs when the seller offers a different refund amount to the buyer, who agrees with it, getting the offered amount back and closing the case.
This is the IPNs' payment_status sequence for such case: Reversed > Refunded
It seems to me that the IPN with payment_status = Canceled_Reversal is missing. I need it for financial purposes.
What is wrong? Am I misunderstanding anything?

Paypal IPN's payment status

I set up a recurring payment within my website. Of course Paypal is the payment method.
So, when a customer have an empty paypal account, the automatic payment will not be performed.
In this case what's the value of payment_status field ?
And how can I identify the failure of payment ?
The docs for IPN are here.
Per the docs:
payment_status == The status of the payment:
Canceled_Reversal: A reversal has been canceled. For example, you won a dispute with the customer, and the funds for the transaction that was reversed have been returned to you.
Completed: The payment has been completed, and the funds have been added successfully to your account balance.
Created: A German ELV payment is made using Express Checkout.
Denied: The payment was denied. This happens only if the payment was
previously pending because of one of the reasons listed for the
pending_reason variable or the Fraud_Management_Filters_x variable.
Expired: This authorization has expired and cannot be captured.
Failed: The payment has failed. This happens only if the payment was
made from your customer's bank account.
Pending: The payment is pending. See pending_reason for more
information.
Refunded: You refunded the payment.
Reversed: A payment was reversed due to a chargeback or other type of
reversal. The funds have been removed from your account balance and
returned to the buyer. The reason for the reversal is specified in the
ReasonCode element.
Processed: A payment has been accepted.
Voided: This authorization has been voided.

Paypal recurring payment enough money

I'm testing recurring payment on Sandbox of Paypal.
But I find out client's account is not enough money, but their own account is still recieved money.
If client 's account is not enough money, how does the paypal process?
This transaction will be suspend or cancel...
If client'account have enough money then the transaction become activate.
For initial payment, use FAILEDINITAMTACTION, Action you can specify when a payment fails. It is one of the following values:
ContinueOnFailure – By default, PayPal suspends the pending profile in the event that the initial payment amount fails. You can override this default behavior by setting this field to ContinueOnFailure. Then, if the initial payment amount fails, PayPal adds the failed payment amount to the outstanding balance for this recurring payment profile.
When you specify ContinueOnFailure, a success code is returned to you in the CreateRecurringPaymentsProfile response and the recurring payments profile is activated for scheduled billing immediately. You should check your IPN messages or PayPal account for updates of the payment status.
CancelOnFailure – If this field is not set or you set it to CancelOnFailure, PayPal creates the recurring payment profile, but places it into a pending status until the initial payment completes. If the initial payment clears, PayPal notifies you by IPN that the pending profile has been activated. If the payment fails, PayPal notifies you by IPN that the pending profile has been canceled.
Once you are into the regular billing cycle, Be sure to assign a value to MAXFAILEDPAYMENTS, which is the number of scheduled payments that can fail before the profile is automatically suspended. An IPN message is sent to the merchant when the specified number of failed payments is reached.
Then, AUTOBILLOUTAMT Indicates whether you would like PayPal to automatically bill the outstanding balance amount in the next billing cycle. The outstanding balance is the total amount of any previously failed scheduled payments that have yet to be successfully paid. It is one of the following values:
NoAutoBill – PayPal does not automatically bill the outstanding balance.
AddToNextBilling – PayPal automatically bills the outstanding balance.
it is up to you how to handle profiles that suspend.

PayPal Adaptive Payments: transactionStatus vs senderTransactionStatus

I am using PayPal adaptive payments. I am retrieving PaymentDetails details here https://developer.paypal.com/docs/classic/api/adaptive-payments/PaymentDetails_API_Operation/
What isn't clear to me is the difference between senderTransactionStatus and transactionStatus?
What's even more strange is I can have the following scenario:
status: COMPLETED
paymentInfoList.paymentInfo.transactionStatus: null
paymentInfoList.paymentInfo.senderTransactionStatus: PENDING
paymentInfoList.paymentInfo.pendingReason: SOME REASON
How can it be that status is COMPLETE, but senderTransactionStatus is PENDING, and transactionStatus if null?
I have no idea which status I should use, or even how to use them in combination to report correct status back to my users.
Ive read the documentation, but still none the wiser.
status has to do with the payment being submitted. This will show completed as long as the payment has moved into processing (ie; funds are moving or pending move and the transaction was not declined).
senderTransactionStatus has to do with the funds leaving the senders account. It would show completed if it is an INSTANT payment (that completed): creditcard, instant transfer, balance transfer. Pending would show if the funds are on hold because of eCheck, Sending Limits, Risk Review, etc. There are a list of pendingReasons on the PaymentDetails API page. OTHER may mean something that is not disclosed to either party due to privacy policy: it could be compliance related, Remittance Transfer Rule, etc.
transactionStatus should be completed once the receiver has the funds in their account. Though, this can change depending on what is happening with the transaction. IE: refunds, holds because of chargebacks, reversals due to risk or unauthorized account access. Edit: This will be NULL if the email address of the receiver is NOT VALID. pendingReason will say UNILATERAL because this email address does not exist in the system and is UNCLAIMED
If the transactionStatus is not NULL, it and senderTransactionStatus will always be the same. This includes being pending for Payment Review, Manually accepting currency, eCheck, Instant Bank Transfer. Everything.

What happens when credit card expires on recurring paypal payment?

On recurring paypal payment, what happens when CC expires?
Will it send IPN notification?
Will it send email to seller and buyer?
Will it be stopped till CC is not updated and continues when it get updated?
what exactly will happen, many thing is dependent on payment on sites.
When a credit card is going to expire the buyer needs to update their billing information. They buyer will get an e-mail from PayPal saying it is going to expire and asks the user to update their billing information.
If the buyer does not update their billing details the payment will probably fail. The reason it may not fail is because they may have money in their PayPal account or another funding source. And IPN post would be sent for the failed payment.
If the buyer does update their credit or debit card information before the Recurring Profile bills you should receive the payment successfully.