-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DCC orders randomly failing (505) #503
Comments
@Dinamiko - Did you find any solution for this? |
Hello @lankathilina, the fix is included in the latest release 1.7.0. |
@Dinamiko Thanks for the reply. Don't know what's going on, I'm facing the exact same issue on 1.7.0. I tried on the default woocommerce theme and all plugins were disabled; PHP 7.4 environment. Still facing the issue. I need to keep digging this. Thanks for the update. |
I get update 1.7.0. version but the error is still there. |
@lankathilina @TrailovicLuka do you still see the same error "No PayPal order found in the current WooCommerce session"? if so, please let me know the steps to reproduce it, thanks. |
@Dinamiko I still have the same error, after I click on place order, I get that error message. https://prnt.sc/SWgh57Ecm6n- |
@TrailovicLuka That behavior is not directly related to this issue though and the error message is actually expected in that case. For any remaining questions please open a support request from here: https://paypal.inpsyde.com/docs/request-support/ |
@InpsydeNiklas Okay, I'll try. Thanks |
@Dinamiko - It was on the live site so I deactivated the "WooCommerce PayPal Payments - 1.7.0" and installed "WooCommerce PayPal Checkout Gateway - 2.1.3" - Because we needed to carry on with the orders. These are the conditions and steps I followed to reproduce the error.
I added the item to the cart, went to the checkout and Paypal is the default one selected. I can see the default Proceed to checkout button as well as the Golden Paypal button too. When I click the default Proceed to checkout button it gives me the No PayPal order found in the current WooCommerce session error. If I click the Golden Paypal button this proceeds to checkout without an issue. Then I set the Payment methods order as below.
When we take the product to checkout default payment method selected was the Card option from Paypal. Now I select Paypal and proceed as same steps as above. same error. I'm not sure if my below finding is correct or not. But after I installed the WooCommerce PayPal Checkout Gateway - 2.1.3 I went to checkout; my default payment method was Paypal. Now I can not see the default Proceed to checkout button. Instead, I saw only the Golden Paypal button. Then I selected the Card payment (stripe option). As soon as I selected that, the PayPal Golden button disappeared and the default Proceed to checkout button appeared. But that does not happen with the WooCommerce PayPal Payments - 1.7.0. No matter what payment method we selected it shows the default Proceed to checkout as well as the Golden Paypal button both. Is that supposed to hide the default Proceed to checkout button when we select Paypal? Because let's say if I click the Golden PayPal button I can proceed to checkout without an error. Thanks. |
Same issue here. Order notes: Had to switch back to WooCommerce PayPal Checkout Gateway 2.1.3 to allow orders to process |
Background: Fix:
this will start the session no matter if the person is logged in or not (will just need cookies to be enabled) |
Describe the Bug
This issue is about cases where the PayPal Card Processing would fail.
Following update 1.7.0, we got a new error message that occurs when the behavior occurs:
No PayPal order found in the current WooCommerce session
The above error message is displayed because for some reason “Place order” button does not call create order endpoint but WC process checkout.
It seems like switching other payment gateways and then switching back to PayPal Card Processing results in some kind of reload, and then our event listeners are not added (https://github.com/woocommerce/woocommerce-paypal-payments/blob/trunk/modules/ppcp-button/resources/js/modules/Renderer/CreditCardRenderer.js#L125) because
formSubmissionSubscribed
is true.To Reproduce
Expected Behavior
Order processes properly.
Actual Behavior
Order instantly fails with error above.
Environment
The text was updated successfully, but these errors were encountered: