Paypal payment method - Update Order Status

Anh Jarvis asked on June 19, 2017 05:46

Hi guys,

I follow the instruction here : https://docs.kentico.com/k10/e-commerce-features/configuring-your-store/configuring-payment-methods/configuring-paypal

But now when customer completed the payment, my order still have status as 'New'. I understand that it happened due to Payment was pending to verified from Paypal side.

I checked Order data and see that we have 'Payment result' data equals 'N/A' How can I configure Paypal to send the response immediately to my site so that I can know that whether payment is successful or not.

Please advice me on this case.

Thanks for your time

Jarvis

Recent Answers


Antti Eikonsalo answered on June 19, 2017 14:05

Hi Jarvis,

In order to get the payment result immediately from PayPal you must configure the PayPal Instant Payment Notification (IPN) URL in the Setting application under E-commerce > Payment gateways > PayPal. The default URL is: ~/CMSModules/Ecommerce/CMSPages/PayPalIPN.aspx

Additionally check that you have defined the preferred order status for successful payments by setting the property Order status if payment succeeds in Store configuration application under Payment methods > [edit PayPal payment method].

0 votesVote for this answer Mark as a Correct answer

vaibhav Patni answered on April 19, 2018 07:39

We configure like you mention but it still give order status 'NEW' and payment not confirm. and in event log it gives error like:- Event ID: 98320 Event type: Error Event time: 4/19/2018 1:21:10 PM Source: PayPal IPN Event code: IPNNotificationValidation User ID: 65 User name: public IP address: 173.0.81.1 Description: ORDER ID: 4443 TRANSACTION ID: 4V3791489Y2058051 PAYMENT STATUS: Completed IPN notification validity check failed. Machine name: WIN-0NBJHVBEQ5C Event URL: /CMSModules/Ecommerce/CMSPages/PayPalIPN.aspx URL referrer: User agent: PayPal IPN ( https://www.paypal.com/ipn )

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.