Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ronin

    (@rpletcher)

    This was an issue with the code. It looks like paypal calculated the total on their side. I have updated the plugin so that the giftcard payment will be added to the Paypal cart as a discount.

    Let me know if you have any issues with this and I will be happy to take a look at it for you.

    Thread Starter thebizhelper

    (@thebizhelper)

    Thanks for the quick reply. The discount is applied on the PayPal checkout screen now.

    There was however this bit of extraneous code on the “order received” page I returned to after making the test purchase.

    array(0) { }

    In addition to this code, the “Gift Card Amount” showed as $0 even though the gift card I created was for $100. When I checked for the balance of the gift card from the WordPress admin area, it was still at $100, too (as if it had never been used).

    Once I marked the order as “complete” in the “Orders” section of the WooCommerce admin area, the balance of the gift card went to $0, the “Order Received” page indicated the “Gift Card Amount” was $100 (instead of $0 as before) and the extraneous bit of code I mentioned earlier disappeared.

    Was this supposed to happen this way or was the balance of the gift card supposed to update automatically? I’m just asking because I’m wrapping up a store for a client and want to be sure I advise them properly.

    Plugin Author Ronin

    (@rpletcher)

    Thanks for catching that. It was a mistake and I had left some code in when it should have been removed. I have fixed the issue.

    As for the way you have to process order, the funds will not be removed from the order until after you approve the order. It is done this way because if you process the order and go to PayPal your order is created. We dont want the card to be decreased as they could cancel out of the order. It could be different in the future but this was the only way I could get around it,

    Thread Starter thebizhelper

    (@thebizhelper)

    Okay, that makes sense. I’ll explain it to my client that way. Thanks a bunch!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PayPal Not Updating During Checkout’ is closed to new replies.