• Resolved terrybase

    (@terrybase)


    I have the problem with my Cart Order.
    When buyer pay the order with paypal account, then I can get the IPN from paypal and get the data save in my cart order.
    However, if the buyer choose to use the credit card option in paypal to pay their order, then I see of the transaction is in the trash only. And I only know that because of the date stamp. So there is nothing in Cart Order. And when I check my paypal IPN database, it does send out normally.
    So it seems that the plugin cannot resolve the Paypal IPN data if payment is from credit card only.
    Is there anyone can help?

    Thanks

    https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author mra13

    (@mra13)

    PayPal sends the IPN to the plugin for ALL transactions (credit card, paypal everything).

    If the plugin is not getting IPN from PayPal then that means there is an issue in your PayPal account.

    Enable the debug option in the plugin and check to see if the plugin receives the IPN message from PayPal after the payment. If it doesn’t receive the IPN then thats where the issue is.

    First make sure, your IPN is enabled in your PayPal account:
    https://www.tipsandtricks-hq.com/ecommerce/how-to-setup-paypal-ipn-notification-2796

    Thread Starter terrybase

    (@terrybase)

    Hi,
    Thanks for your quick reply.
    I have checked that my paypal IPN is enabled.
    Second, when people pay money through their own PayPal account(not credit card), it Work!. I can see all data in cart orders in work press.
    But if they choose credit card option in PayPal, then problem occur. The cart orders is remain empty and no data return.
    That seems strange.
    Thanks

    Thread Starter terrybase

    (@terrybase)

    On the other hand, I have set the coupon code for my items.
    After checking the debug code, the error seems occur with the discount price. (this is using credit card through paypal)

    And my debug code is as follow:

    [12/02/2015 7:57 AM] – SUCCESS :Item Quantity: 1
    [12/02/2015 7:57 AM] – SUCCESS :Item Total: 0.01
    [12/02/2015 7:57 AM] – SUCCESS :Item Currency: HKD
    [12/02/2015 7:57 AM] – SUCCESS :Custom values
    [12/02/2015 7:57 AM] – SUCCESS :
    Array
    (
    [wp_cart_id] => 1760
    [ip] => 60.15.246.21
    [coupon_code] => xxxxxx
    )
    [12/02/2015 7:57 AM] – SUCCESS :Order post id: 1760
    [12/02/2015 7:57 AM] – SUCCESS :Checking price. Original price: 1250. Paid price: 0.01
    [12/02/2015 7:57 AM] – FAILURE :Error! Post payment price validation failed. The price amount may have been altered. This transaction will not be processed.
    [12/02/2015 7:57 AM] – FAILURE :Original total price: 1250. Paid total price: 0.01
    [12/02/2015 7:57 AM] – FAILURE :IPN product validation failed.

    [12/02/2015 7:57 AM] – SUCCESS :Paypal class finished.

    Thread Starter terrybase

    (@terrybase)

    Follow is the debug code with Paypal Account payment(Not credit card) which is successful. And this kind payment method, no price checking need!

    [12/02/2015 8:32 AM] – SUCCESS :Item Quantity: 1
    [12/02/2015 8:32 AM] – SUCCESS :Item Total: 0.01
    [12/02/2015 8:32 AM] – SUCCESS :Item Currency: HKD
    [12/02/2015 8:32 AM] – SUCCESS :Custom values
    [12/02/2015 8:32 AM] – SUCCESS :
    Array
    (
    [wp_cart_id] => 1759
    [ip] => 60.15.246.21
    [coupon_code] => xxxxxx
    )
    [12/02/2015 8:32 AM] – SUCCESS :Order post id: 1759
    [12/02/2015 8:32 AM] – SUCCESS :Paypal class finished.

    Plugin Author mra13

    (@mra13)

    Please update the plugin. We have just applied an improvement for this in the plugin.

    Thread Starter terrybase

    (@terrybase)

    Hi mra13,
    Thanks for your updated.
    I have update the plugin today.
    But after running the test, the error still occur:
    Here is the latest debug test:

    [12/03/2015 10:21 AM] – SUCCESS :Order post id: 1760
    [12/03/2015 10:21 AM] – SUCCESS :Checking price. Original price: 1250. Paid price: 0.01
    [12/03/2015 10:21 AM] – FAILURE :Error! Post payment price validation failed. The price amount may have been altered. This transaction will not be processed.
    [12/03/2015 10:21 AM] – FAILURE :Original total price: 1250. Paid total price: 0.01
    [12/03/2015 10:21 AM] – FAILURE :IPN product validation failed.

    [12/03/2015 10:21 AM] – SUCCESS :Paypal class finished.

    Plugin Author mra13

    (@mra13)

    Are you sure you updated the plugin? Please post a link to your site so I can inspect a couple of things.

    Thread Starter terrybase

    (@terrybase)

    Hi,
    Yes and you can check from here for my version:
    http://gbmat.com/wp-content/uploads/2015/09/WP416.jpg

    And my site is as follow:
    http://gbmat.com/3m-water-filtration-system/

    Thanks so much

    Plugin Author mra13

    (@mra13)

    Have you done a brand new transaction from a NEW browser (so nothing is cached) for that item? The log is showing that the price of the item is 1250 but when I go to your site, I see the item price to be 680. So that tells me that you have recently changed the price? Also, if I try the coupon “dindin2”, it says the coupon doesn’t exist.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @terrybase, is your issue resolved?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, I am marking this thread as resolved. No replies in 3 months.

    Thank you

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Cannot resolve IPN from paypal credit card payment, Nothing show in Cart Order’ is closed to new replies.