cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

Hello all,

 

     A client of mine is having an issue with paypal express after they have upgraded to 1.9.2.1. When a customer places an order with papal express, the order goes through but when they get to the review pay (ex: www.mysite.com/paypal/express/review/) it says 'Unable to Initialize Paypal Express Checkout'.

 

     Their order gets placed and the payment gets properly received even though they receive this error. I've traced the error down to "$this->_initCheckout();" in "public function reviewAction()" in the file /app/code/core/mage/paypal/Controllers/express/abstract.php.

 

     It's failing because when _initCheckout() is called there is no quote object, I believe it is because the order has already been placed, and the quote object has been destroyed. 

 

     Does anyone know how to resolve this issue?

8 REPLIES

Re: Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

Hello @Got_iT_Inc

Please go to /var/log directory and there is log file of express checkout.

Please share the error logs so that its better to enhance your error.

 

Thanks

Problem solved? Click Accept as Solution!
Magento Extension Developer | Facebook | Twitter

Re: Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

Thank you for your respone. Below is the log file from my testing:

 

2015-10-15T16:58:06+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[SetExpressCheckout] => Array
(
[PAYMENTACTION] => Authorization
[AMT] => 25.87
[CURRENCYCODE] => USD
[RETURNURL] => https://www.active-vision.com/paypal/express/return/
[CANCELURL] => https://www.active-vision.com/paypal/express/cancel/
[INVNUM] => 100084996
[SOLUTIONTYPE] => Mark
[GIROPAYCANCELURL] => https://www.active-vision.com/paypal/express/cancel/
[GIROPAYSUCCESSURL] => https://www.active-vision.com/checkout/onepage/success/
[BANKTXNPENDINGURL] => https://www.active-vision.com/checkout/onepage/success/
[LOCALECODE] => en_US
[ITEMAMT] => 25.87
[TAXAMT] => 0.00
[SHIPPINGAMT] => 0.00
[L_NUMBER0] => ABL-1P04-C
[L_NAME0] => ABL-1P04-C, Single Port Passive Video Balun
[L_QTY0] => 13
[L_AMT0] => 1.99
[BUSINESS] =>
[NOTETEXT] =>
[EMAIL] => rc@text.com
[FIRSTNAME] => Richard
[LASTNAME] => Cintorino
[MIDDLENAME] =>
[SALUTATION] =>
[SUFFIX] =>
[COUNTRYCODE] => US
[STATE] => NY
[CITY] => c*****
[STREET] => 9 a******n lane
[ZIP] => 11727
[PHONENUM] => 6315121213
[SHIPTOCOUNTRYCODE] => US
[SHIPTOSTATE] => NY
[SHIPTOCITY] => c***m
[SHIPTOSTREET] => 9 a******n lane
[SHIPTOZIP] => 11***
[SHIPTOPHONENUM] => 6315121213
[SHIPTOSTREET2] =>
[STREET2] =>
[SHIPTONAME] => Richard Cintorino
[ADDROVERRIDE] => 1
[METHOD] => SetExpressCheckout
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
[BUTTONSOURCE] => MojoCreative_SI_MagentoCE
)

[response] => Array
(
[TOKEN] => EC-8EM34499X5102354K
[TIMESTAMP] => 2015-10-15T16:58:06Z
[CORRELATIONID] => 329e16b944f37
[ACK] => Success
[VERSION] => 72.0
[BUILD] => 18308778
)

[__pid] => 23595
)

2015-10-15T16:58:22+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[GetExpressCheckoutDetails] => Array
(
[TOKEN] => EC-8EM34499X5102354K
[METHOD] => GetExpressCheckoutDetails
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
[BUTTONSOURCE] => MojoCreative_SI_MagentoCE
)

[response] => Array
(
[TOKEN] => EC-8EM34499X5102354K
[BILLINGAGREEMENTACCEPTEDSTATUS] => 0
[CHECKOUTSTATUS] => PaymentActionNotInitiated
[TIMESTAMP] => 2015-10-15T16:58:21Z
[CORRELATIONID] => 97e229f8bd4a4
[ACK] => Success
[VERSION] => 72.0
[BUILD] => 18308778
[EMAIL] => t****@gmail.com
[PAYERID] => QD3K68AYGSYFC
[PAYERSTATUS] => verified
[FIRSTNAME] => Richard
[LASTNAME] => Cintorino
[COUNTRYCODE] => US
[SHIPTONAME] => Richard Cintorino
[SHIPTOSTREET] => 9 A******N LANE
[SHIPTOCITY] => C***m
[SHIPTOSTATE] => NY
[SHIPTOZIP] => 11***
[SHIPTOCOUNTRYCODE] => US
[SHIPTOPHONENUM] => 6315121213
[SHIPTOCOUNTRYNAME] => United States
[ADDRESSSTATUS] => Confirmed
[CURRENCYCODE] => USD
[AMT] => 25.87
[ITEMAMT] => 25.87
[SHIPPINGAMT] => 0.00
[HANDLINGAMT] => 0.00
[TAXAMT] => 0.00
[INVNUM] => 100084996
[INSURANCEAMT] => 0.00
[SHIPDISCAMT] => 0.00
[L_NAME0] => ABL-1P04-C, Single Port Passive Video Balun
[L_NUMBER0] => ABL-1P04-C
[L_QTY0] => 13
[L_TAXAMT0] => 0.00
[L_AMT0] => 1.99
[L_ITEMWEIGHTVALUE0] => 0.00000
[L_ITEMLENGTHVALUE0] => 0.00000
[L_ITEMWIDTHVALUE0] => 0.00000
[L_ITEMHEIGHTVALUE0] => 0.00000
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[PAYMENTREQUEST_0_AMT] => 25.87
[PAYMENTREQUEST_0_ITEMAMT] => 25.87
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0.00
[PAYMENTREQUEST_0_HANDLINGAMT] => 0.00
[PAYMENTREQUEST_0_TAXAMT] => 0.00
[PAYMENTREQUEST_0_INVNUM] => 100084996
[PAYMENTREQUEST_0_INSURANCEAMT] => 0.00
[PAYMENTREQUEST_0_SHIPDISCAMT] => 0.00
[PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED] => false
[PAYMENTREQUEST_0_SHIPTONAME] => Richard Cintorino
[PAYMENTREQUEST_0_SHIPTOSTREET] => 9 A******N LANE
[PAYMENTREQUEST_0_SHIPTOCITY] => C***m
[PAYMENTREQUEST_0_SHIPTOSTATE] => NY
[PAYMENTREQUEST_0_SHIPTOZIP] => 11***
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => US
[PAYMENTREQUEST_0_SHIPTOPHONENUM] => 6315121213
[PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME] => United States
[PAYMENTREQUEST_0_ADDRESSSTATUS] => Confirmed
[L_PAYMENTREQUEST_0_NAME0] => ABL-1P04-C, Single Port Passive Video Balun
[L_PAYMENTREQUEST_0_NUMBER0] => ABL-1P04-C
[L_PAYMENTREQUEST_0_QTY0] => 13
[L_PAYMENTREQUEST_0_TAXAMT0] => 0.00
[L_PAYMENTREQUEST_0_AMT0] => 1.99
[L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0] => 0.00000
[L_PAYMENTREQUEST_0_ITEMLENGTHVALUE0] => 0.00000
[L_PAYMENTREQUEST_0_ITEMWIDTHVALUE0] => 0.00000
[L_PAYMENTREQUEST_0_ITEMHEIGHTVALUE0] => 0.00000
[PAYMENTREQUESTINFO_0_ERRORCODE] => 0
)

[__pid] => 23598
)

2015-10-15T16:58:26+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[DoExpressCheckoutPayment] => Array
(
[TOKEN] => EC-8EM34499X5102354K
[PAYERID] => QD3K68AYGSYFC
[PAYMENTACTION] => Authorization
[AMT] => 25.87
[CURRENCYCODE] => USD
[BUTTONSOURCE] => MojoCreative_SI_MagentoCE
[NOTIFYURL] => https://www.active-vision.com/paypal/ipn/
[RETURNFMFDETAILS] => 1
[ITEMAMT] => 25.87
[TAXAMT] => 0.00
[SHIPPINGAMT] => 0.00
[L_NUMBER0] => ABL-1P04-C
[L_NAME0] => ABL-1P04-C, Single Port Passive Video Balun
[L_QTY0] => 13
[L_AMT0] => 1.99
[METHOD] => DoExpressCheckoutPayment
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
)

[response] => Array
(
[TOKEN] => EC-8EM34499X5102354K
[SUCCESSPAGEREDIRECTREQUESTED] => false
[TIMESTAMP] => 2015-10-15T16:58:25Z
[CORRELATIONID] => 847c7c91b9521
[ACK] => Success
[VERSION] => 72.0
[BUILD] => 18308778
[TRANSACTIONID] => 02093488WS521584R
[TRANSACTIONTYPE] => cart
[PAYMENTTYPE] => instant
[ORDERTIME] => 2015-10-15T16:58:25Z
[AMT] => 25.87
[TAXAMT] => 0.00
[CURRENCYCODE] => USD
[PAYMENTSTATUS] => Pending
[PENDINGREASON] => authorization
[REASONCODE] => None
[PROTECTIONELIGIBILITY] => Eligible
[INSURANCEOPTIONSELECTED] => false
[SHIPPINGOPTIONISDEFAULT] => false
[PAYMENTINFO_0_TRANSACTIONID] => 02093488WS521584R
[PAYMENTINFO_0_TRANSACTIONTYPE] => cart
[PAYMENTINFO_0_PAYMENTTYPE] => instant
[PAYMENTINFO_0_ORDERTIME] => 2015-10-15T16:58:25Z
[PAYMENTINFO_0_AMT] => 25.87
[PAYMENTINFO_0_TAXAMT] => 0.00
[PAYMENTINFO_0_CURRENCYCODE] => USD
[PAYMENTINFO_0_PAYMENTSTATUS] => Pending
[PAYMENTINFO_0_PENDINGREASON] => authorization
[PAYMENTINFO_0_REASONCODE] => None
[PAYMENTINFO_0_PROTECTIONELIGIBILITY] => Eligible
[PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE] => ItemNotReceivedEligible,UnauthorizedPaymentEligible
[PAYMENTINFO_0_SECUREMERCHANTACCOUNTID] => 7ZSHJCEZ8373J
[PAYMENTINFO_0_ERRORCODE] => 0
[PAYMENTINFO_0_ACK] => Success
)

[__pid] => 23598
)

2015-10-15T17:12:18+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[SetExpressCheckout] => Array
(
[PAYMENTACTION] => Authorization
[AMT] => 37.97
[CURRENCYCODE] => USD
[RETURNURL] => https://www.active-vision.com/paypal/express/return/
[CANCELURL] => https://www.active-vision.com/paypal/express/cancel/
[INVNUM] => 100084998
[SOLUTIONTYPE] => Mark
[GIROPAYCANCELURL] => https://www.active-vision.com/paypal/express/cancel/
[GIROPAYSUCCESSURL] => https://www.active-vision.com/checkout/onepage/success/
[BANKTXNPENDINGURL] => https://www.active-vision.com/checkout/onepage/success/
[LOCALECODE] => en_US
[ITEMAMT] => 37.97
[TAXAMT] => 0.00
[SHIPPINGAMT] => 0.00
[L_NUMBER0] => APS-1209-7M
[L_NAME0] => APS-1209-7M, UL Listed Modular 9 Channel 12vDC, 7 Amp Distributed CCTV Security Camera Power Supply with Individually (Smart)Fused Outputs
[L_QTY0] => 1
[L_AMT0] => 37.97
[BUSINESS] =>
[NOTETEXT] =>
[EMAIL] => rc@text.com
[FIRSTNAME] => Richard
[LASTNAME] => Cintorino
[MIDDLENAME] =>
[SALUTATION] =>
[SUFFIX] =>
[COUNTRYCODE] => US
[STATE] => NY
[CITY] => c***m
[STREET] => 9 a******n lane
[ZIP] => 11***
[PHONENUM] => 6315121213
[SHIPTOCOUNTRYCODE] => US
[SHIPTOSTATE] => NY
[SHIPTOCITY] => c***m
[SHIPTOSTREET] => 9 a******n lane
[SHIPTOZIP] => 11***
[SHIPTOPHONENUM] => 6315121213
[SHIPTOSTREET2] =>
[STREET2] =>
[SHIPTONAME] => Richard Cintorino
[ADDROVERRIDE] => 1
[METHOD] => SetExpressCheckout
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
[BUTTONSOURCE] => MojoCreative_SI_MagentoCE
)

[response] => Array
(
[TOKEN] => EC-5J0705401U272761T
[TIMESTAMP] => 2015-10-15T17:12:18Z
[CORRELATIONID] => a84f208db2b25
[ACK] => Success
[VERSION] => 72.0
[BUILD] => 18308778
)

[__pid] => 23884
)

2015-10-15T17:12:34+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[GetExpressCheckoutDetails] => Array
(
[TOKEN] => EC-5J0705401U272761T
[METHOD] => GetExpressCheckoutDetails
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
[BUTTONSOURCE] => MojoCreative_SI_MagentoCE
)

[response] => Array
(
[TOKEN] => EC-5J0705401U272761T
[PHONENUM] => 6315121213
[BILLINGAGREEMENTACCEPTEDSTATUS] => 0
[CHECKOUTSTATUS] => PaymentActionNotInitiated
[TIMESTAMP] => 2015-10-15T17:12:34Z
[CORRELATIONID] => d73a7f78603aa
[ACK] => Success
[VERSION] => 72.0
[BUILD] => 18308778
[EMAIL] => t***@gmail.com
[PAYERID] => QD3K68AYGSYFC
[PAYERSTATUS] => verified
[FIRSTNAME] => Richard
[LASTNAME] => Cintorino
[COUNTRYCODE] => US
[SHIPTONAME] => Richard Cintorino
[SHIPTOSTREET] => 9 A******N LANE
[SHIPTOCITY] => C***m
[SHIPTOSTATE] => NY
[SHIPTOZIP] => 11***
[SHIPTOCOUNTRYCODE] => US
[SHIPTOPHONENUM] => 6315121213
[SHIPTOCOUNTRYNAME] => United States
[ADDRESSSTATUS] => Confirmed
[CURRENCYCODE] => USD
[AMT] => 37.97
[ITEMAMT] => 37.97
[SHIPPINGAMT] => 0.00
[HANDLINGAMT] => 0.00
[TAXAMT] => 0.00
[INVNUM] => 100084998
[INSURANCEAMT] => 0.00
[SHIPDISCAMT] => 0.00
[INSURANCEOPTIONOFFERED] => false
[L_NAME0] => APS-1209-7M, UL Listed Modular 9 Channel 12vDC, 7 Amp Distributed CCTV Security Camera Power Supply with Individually (Smart)Fused Outputs
[L_NUMBER0] => APS-1209-7M
[L_QTY0] => 1
[L_TAXAMT0] => 0.00
[L_AMT0] => 37.97
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[PAYMENTREQUEST_0_AMT] => 37.97
[PAYMENTREQUEST_0_ITEMAMT] => 37.97
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0.00
[PAYMENTREQUEST_0_HANDLINGAMT] => 0.00
[PAYMENTREQUEST_0_TAXAMT] => 0.00
[PAYMENTREQUEST_0_INVNUM] => 100084998
[PAYMENTREQUEST_0_INSURANCEAMT] => 0.00
[PAYMENTREQUEST_0_SHIPDISCAMT] => 0.00
[PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID] => payments@active-vision.com
[PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED] => false
[PAYMENTREQUEST_0_SHIPTONAME] => Richard Cintorino
[PAYMENTREQUEST_0_SHIPTOSTREET] => 9 A******N LANE
[PAYMENTREQUEST_0_SHIPTOCITY] => C***m
[PAYMENTREQUEST_0_SHIPTOSTATE] => NY
[PAYMENTREQUEST_0_SHIPTOZIP] => 11***
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => US
[PAYMENTREQUEST_0_SHIPTOPHONENUM] => 6315121213
[PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME] => United States
[PAYMENTREQUEST_0_ADDRESSSTATUS] => Confirmed
[L_PAYMENTREQUEST_0_NAME0] => APS-1209-7M, UL Listed Modular 9 Channel 12vDC, 7 Amp Distributed CCTV Security Camera Power Supply with Individually (Smart)Fused Outputs
[L_PAYMENTREQUEST_0_NUMBER0] => APS-1209-7M
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_TAXAMT0] => 0.00
[L_PAYMENTREQUEST_0_AMT0] => 37.97
[PAYMENTREQUESTINFO_0_ERRORCODE] => 0
)

[__pid] => 23762
)

2015-10-15T17:12:38+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[DoExpressCheckoutPayment] => Array
(
[TOKEN] => EC-5J0705401U272761T
[PAYERID] => QD3K68AYGSYFC
[PAYMENTACTION] => Authorization
[AMT] => 37.97
[CURRENCYCODE] => USD
[BUTTONSOURCE] => MojoCreative_SI_MagentoCE
[NOTIFYURL] => https://www.active-vision.com/paypal/ipn/
[RETURNFMFDETAILS] => 1
[ITEMAMT] => 37.97
[TAXAMT] => 0.00
[SHIPPINGAMT] => 0.00
[L_NUMBER0] => APS-1209-7M
[L_NAME0] => APS-1209-7M, UL Listed Modular 9 Channel 12vDC, 7 Amp Distributed CCTV Security Camera Power Supply with Individually (Smart)Fused Outputs
[L_QTY0] => 1
[L_AMT0] => 37.97
[METHOD] => DoExpressCheckoutPayment
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
)

[response] => Array
(
[TOKEN] => EC-5J0705401U272761T
[SUCCESSPAGEREDIRECTREQUESTED] => false
[TIMESTAMP] => 2015-10-15T17:12:38Z
[CORRELATIONID] => 62bb006f3d635
[ACK] => Success
[VERSION] => 72.0
[BUILD] => 18308778
[TRANSACTIONID] => 9KC61937T3917414J
[TRANSACTIONTYPE] => cart
[PAYMENTTYPE] => instant
[ORDERTIME] => 2015-10-15T17:12:38Z
[AMT] => 37.97
[TAXAMT] => 0.00
[CURRENCYCODE] => USD
[PAYMENTSTATUS] => Pending
[PENDINGREASON] => authorization
[REASONCODE] => None
[PROTECTIONELIGIBILITY] => Eligible
[INSURANCEOPTIONSELECTED] => false
[SHIPPINGOPTIONISDEFAULT] => false
[PAYMENTINFO_0_TRANSACTIONID] => 9KC61937T3917414J
[PAYMENTINFO_0_TRANSACTIONTYPE] => cart
[PAYMENTINFO_0_PAYMENTTYPE] => instant
[PAYMENTINFO_0_ORDERTIME] => 2015-10-15T17:12:38Z
[PAYMENTINFO_0_AMT] => 37.97
[PAYMENTINFO_0_TAXAMT] => 0.00
[PAYMENTINFO_0_CURRENCYCODE] => USD
[PAYMENTINFO_0_PAYMENTSTATUS] => Pending
[PAYMENTINFO_0_PENDINGREASON] => authorization
[PAYMENTINFO_0_REASONCODE] => None
[PAYMENTINFO_0_PROTECTIONELIGIBILITY] => Eligible
[PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE] => ItemNotReceivedEligible,UnauthorizedPaymentEligible
[PAYMENTINFO_0_SECUREMERCHANTACCOUNTID] => 7ZSHJCEZ8373J
[PAYMENTINFO_0_ERRORCODE] => 0
[PAYMENTINFO_0_ACK] => Success
)

[__pid] => 23762
)

2015-10-15T17:13:17+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[SetExpressCheckout] => Array
(
[PAYMENTACTION] => Authorization
[AMT] => 25.87
[CURRENCYCODE] => USD
[RETURNURL] => https://www.active-vision.com/paypal/express/return/
[CANCELURL] => https://www.active-vision.com/paypal/express/cancel/
[INVNUM] => 100084999
[SOLUTIONTYPE] => Mark
[GIROPAYCANCELURL] => https://www.active-vision.com/paypal/express/cancel/
[GIROPAYSUCCESSURL] => https://www.active-vision.com/checkout/onepage/success/
[BANKTXNPENDINGURL] => https://www.active-vision.com/checkout/onepage/success/
[LOCALECODE] => en_US
[ITEMAMT] => 25.87
[TAXAMT] => 0.00
[SHIPPINGAMT] => 0.00
[L_NUMBER0] => ABL-1P04-C
[L_NAME0] => ABL-1P04-C, Single Port Passive Video Balun
[L_QTY0] => 13
[L_AMT0] => 1.99
[BUSINESS] =>
[NOTETEXT] =>
[EMAIL] => rc@text.com
[FIRSTNAME] => Richard
[LASTNAME] => Cintorino
[MIDDLENAME] =>
[SALUTATION] =>
[SUFFIX] =>
[COUNTRYCODE] => US
[STATE] => NY
[CITY] => c***m
[STREET] => 9 a******n lane
[ZIP] => 11***
[PHONENUM] => 6315121213
[SHIPTOCOUNTRYCODE] => US
[SHIPTOSTATE] => NY
[SHIPTOCITY] => c***m
[SHIPTOSTREET] => 9 a******n lane
[SHIPTOZIP] => 11***
[SHIPTOPHONENUM] => 6315121213
[SHIPTOSTREET2] =>
[STREET2] =>
[SHIPTONAME] => Richard Cintorino
[ADDROVERRIDE] => 1
[METHOD] => SetExpressCheckout
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
[BUTTONSOURCE] => MojoCreative_SI_MagentoCE
)

[response] => Array
(
[TOKEN] => EC-0TG133704C2014449
[TIMESTAMP] => 2015-10-15T17:13:17Z
[CORRELATIONID] => 12c34597b7171
[ACK] => Success
[VERSION] => 72.0
[BUILD] => 18308778
)

[__pid] => 23816
)

2015-10-15T17:14:02+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[DoVoid] => Array
(
[AUTHORIZATIONID] => 8G591452AM856200P
[METHOD] => DoVoid
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
[BUTTONSOURCE] => MojoCreative_SI_MagentoCE
)

[response] => Array
(
[AUTHORIZATIONID] => 8G591452AM856200P
[TIMESTAMP] => 2015-10-15T17:14:02Z
[CORRELATIONID] => a7ae785735e6f
[ACK] => Success
[VERSION] => 72.0
[BUILD] => 18308778
)

[__pid] => 23889
)

Re: Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

Hi,

 

I have had this same issue occur on several Magento installations all with different versions of Magento and all with different and sometimes no third party extensions installed.

 

I've contacted PayPal about this a couple of times now and they always respond with the same response which is to point fingers at the websites. 

 

We never modify core Magento functionality and PayPal is built into Magento. If there is a genuine Magento bug that is causing this issue to occur then I am surprised that this has not been resolved over the years that this issue has been occurring with this payment method and I'm more surprised that PayPal have not attempted to resolve this.

 

I would really like to see a response from Got_iT_Inc's most recent post on this as this is the exact same scenario that we experience.

Re: Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

Started to happen to me as well. Magento 1.9.0.1 and Magento 1.9.2.1. 

 

When I see that error, I do not see an order afterwards, so not sure how to recreate it or how the customers are getting that error. 

 

It doesn't happen often, but I would say I've seen 5+ occurrences in last month.

 

Will contact PayPal, but they are never really helpful.

 

Any ideas anyone?

Re: Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

Hi there,

I have checked your log file and i found there are major difference between [AMT] and [L_PAYMENTREQUEST_0_AMT0], these two must be same . 

Re: Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

We are seeing a similar issue with our 1.9.4 store.  

 


 

     It's failing because when _initCheckout() is called there is no quote object, I believe it is because the order has already been placed, and the quote object has been destroyed. 

     


 

I believe that you are correct in your analysis, because the order shows up in our Orders page, even though we got an email from Paypal with "Unable to Initialize Paypal Express Checkout" in it.

 

 

Re: Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

We never resolved this issue for the client, they didn't receive a lot of paypal orders, so it wasn't that important to them. I'm in the process of migrating to magento2 because I believe the issue could be from another payment module. I'll be starting from scratch with no modules in magento2 so I will be able to confirm if the problem exists (I'm betting it won't).

Re: Magento 1.9.2 'Unable to Initialize Paypal Express Checkout', reviewAction() Error

Just wanna give a heads up in case anyone Google this error.

I managed to find the solution. You won't find trace of it in the logs, since it's not directly related with Paypal itself.

 

In my case, I set up some redirections based on the country of the user, so an user from European countries would be redirected to domain.com/eu if he was coming from an external domain (eg. Google). The problem is that Paypal, after the payment, would try to redirect the user to domain.com to complete the order, but my website would redirect the user to domain.com/eu, and the purchase would fail.

 

Your case might be different, but check that the domain from where the Express checkout starts is the same when the user comes back to the website after the payment.