Skip to content
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

Normal PayPal Checkout Taking to Review Page with "We can't place the order." while Skip Review Page Has been Enabled #5327

Closed
s00071609 opened this issue Jun 29, 2016 · 19 comments
Assignees
Labels
Component: Payment Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Progress: needs update

Comments

@s00071609
Copy link

Steps to reproduce

  1. Install Magento 2.1
  2. Add any product to cart
  3. Hit Go TO Checkout
    Select Checkout with Paypal Option
    Login and Hit PayNow

Expected result

  1. After Hitting PayPal Pay Now button - success page should display (Skip Review Page is Enabled in PayPal Website Payment Method")
  2. There should be option to CREATE an account on success page

Actual result

  1. Takes to Review Page - with "We can't place the order." in RED
  2. Surprisingly - The Order will already been placed by now "Before you hit - Place Order at bottom of Rewiew Page. You can basically do nothing on this page as the order is already placed, and "we cant place the order continues"
  3. With Magento 2.1, the PayPal checkout does not provide option to create account - unsure if it would have provided this option if I could go beyond the Review Page -----to success page
@Nerogee
Copy link

Nerogee commented Jun 29, 2016

I have the same issue "We can't place the order". Need help.

@s00071609
Copy link
Author

Well, the order goes through when PayNow button is Hit, and order emails start to come from PayPal but the review page shows up with the error. If you submit order in review page, it does nothing just repeats the error. Also with magento 2.1 the cart items show up even after checkout. Hope someone out there is able to help

@Nerogee
Copy link

Nerogee commented Jun 29, 2016

I encountered this issue when upgrade from 2.0.7 to 2.1. Suspecting I do something wrong that causes this issue. Then I have a fresh installation via composer. but still there is error. Both Paypal and Braintree is not able to checkout.

magento 2.1
php 7.0.7
libcurl 7.49.1

@s00071609
Copy link
Author

Could it be issue with SSL - but when you have said "YES" to Skip Review Page,- doesnt make sense that paypal takes to Review Page. Even when you say NO to skip Review Page. It gives the same error. The only difference is - in the first case the error occurs before Review Page loads. In second case, Error Occurs when you hit Order Now - This will put off many from using 2.1. If its a bug, then it makes this release unusable if you rely on PayPal.

@s00071609
Copy link
Author

Looks like its the upgrade process from 2.0.7 to 2.1 that is causing the issue. Clean install in an unused domain works fine - Just added a test product and checked out as usual using paypal. It then goes to the success page without going to review page. Something from old install might that is causing issue in new install. Hope this gets fixed as there may be many moving from 2.0.7 to 2.1. Its upgrade issue...

@alena-marchenko
Copy link

Hi @s00071609

Please specify what Payment Action do you use for PayPal (Sale or Authorization) ?

@s00071609
Copy link
Author

I am using Sale as Payment Action at the moment. Either way they go through same steps. I am using exactly same setting as in the 2.1 version in another site with 2.0.7.
Please let me know if there is any fix for it - as its crucial to have working paypal checkout

@alena-marchenko
Copy link

Hi @s00071609 ,

thanks for reporting this issue. It is already being tracked by MAGETWO-54787 ticket and fix will be delivered soon.
This issue will be closed as duplicate of #4785.

@Nerogee
Copy link

Nerogee commented Jul 6, 2016

@alena-marchenko My case is not a simple ALTER query can fixed. btw, as I said my magento2.1 is fresh installed. There is no any error except that I found the PAYMENTREQUEST_0_INVNUM is always 000000001. So it means that order id is not auto increased. What a shame error it is! What should I do?

@LucScu
Copy link

LucScu commented Jan 13, 2017

REPLY AND FIX THIS ISSUE PLEASE!

@LucScu
Copy link

LucScu commented Jan 13, 2017

THERE IS AN ERROR WITH CONFIGURABLE PRODUCTS OR PRODUCTS WITH OPTIONS.
Please fix it!

@lfritsche
Copy link

@alena-marchenko please reopen ticket as same behaviour persists in 2.1.5.

Although PayPal Review Step is disabled, I get redirected to it and placing an order is not possible.
I could resolve the redirect issue by re-enabling some checkout fields, as I had them disabled previously. (Company, Telephone, Country = always DE)

I followed the official docs to completely remove checkout fields (JSON,...).
Is there a possibility to remove fields without braking the whole checkout process?

Thank you!

@almarchenko
Copy link

HI @lfritsche! I'm from the Magento docs team. Could you give us the link, which doc did you follow?If I got it right and it led you to having problems with checkout, we would like to verify the doc, thank you.

@lfritsche
Copy link

lfritsche commented May 15, 2017

Hi! I have read the following Issue: #4425
and wrote a Plugin according to: http://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_customize.html#remove-a-component

public function aroundProcess(
        \Magento\Checkout\Block\Checkout\LayoutProcessor $subject,
        \Closure $proceed, $jsLayout
    ) {
        $ret = $proceed($jsLayout);
        unset($ret['components']['checkout']['children']['steps']['children']['shipping-step']
            ['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['region_id']);
        unset($ret['components']['checkout']['children']['steps']['children']['shipping-step']
            ['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['region']);
        unset($ret['components']['checkout']['children']['steps']['children']['shipping-step']
            ['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['country_id']);
        unset($ret['components']['checkout']['children']['steps']['children']['shipping-step']
            ['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['prefix']);
        unset($ret['components']['checkout']['children']['steps']['children']['shipping-step']
            ['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['care_of']);
        return $ret;
    }

@almarchenko
Copy link

@lfritsche Thanks, we'll take a look at the doc (internal issue MAGETWO-69158)

@almarchenko
Copy link

@lfritsche We've verified the doc and it is correct, so there's something else that's causing the issue.
Thank you.

@jer23jk
Copy link

jer23jk commented Aug 1, 2017

Any solution for this bug?

Magento 2.1.7 > Order Variable product with custom option Date > Pay with Paypal

Transaction in successful, but after redirecting from paypal there is a red statement We can't place the order.

@ghost
Copy link

ghost commented Aug 16, 2017

We are on Magento 2.1.6 and have the same bug.
Any solutions yet?

@NiteshKuyate
Copy link

NiteshKuyate commented Nov 29, 2017

We are on Magento 2.1.5 but we get that exception sometimes.
Any solutions yet?

@magento-engcom-team magento-engcom-team added the Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed label Nov 29, 2017
magento-cicd2 pushed a commit that referenced this issue Apr 28, 2020
Fixed Issues:
- MC-30971: CSP policies must be defined in a single header
- MC-30981: CSP rules not enabled on first login to admin
- MC-30403: “What is this ?” button does not work correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Payment Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Progress: needs update
Projects
None yet
Development

No branches or pull requests

10 participants