Paypal-Express payment error - incorrect ID The 2019 Stack Overflow Developer Survey Results Are InPaypal express shipping methodsMagento PayPal Express incorrect countryPxFusion DPS Payment ExpressMagento Paypal Express ErrorMagento 2 - PayPal Express Checkout > Difference between Payment ActionMagento 2: When Paypal Express will generate Payment Id?Magento 2 getAllStatusHistory() after Paypal Express paymentMagento 2 : Add Custom Fee to Paypal Express CheckoutMagento 2 wrong paypal express checkout token specifiedMagento 2.2.6- After Migration all default Payment Methods are not working fine

What is the accessibility of a package's `Private` context variables?

When should I buy a clipper card after flying to OAK?

Loose spokes after only a few rides

Pokemon Turn Based battle (Python)

Can you compress metal and what would be the consequences?

How to support a colleague who finds meetings extremely tiring?

One word riddle: Vowel in the middle

Why isn't airport relocation done gradually?

What is the most effective way of iterating a std::vector and why?

Right tool to dig six foot holes?

Am I thawing this London Broil safely?

Delete all lines which don't have n characters before delimiter

Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?

How come people say “Would of”?

How to type this arrow in math mode?

How to save as into a customized destination on macOS?

How are circuits which use complex ICs normally simulated?

Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?

Geography at the pixel level

How to answer pointed "are you quitting" questioning when I don't want them to suspect

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

Is bread bad for ducks?

Have you ever entered Singapore using a different passport or name?

Are spiders unable to hurt humans, especially very small spiders?



Paypal-Express payment error - incorrect ID



The 2019 Stack Overflow Developer Survey Results Are InPaypal express shipping methodsMagento PayPal Express incorrect countryPxFusion DPS Payment ExpressMagento Paypal Express ErrorMagento 2 - PayPal Express Checkout > Difference between Payment ActionMagento 2: When Paypal Express will generate Payment Id?Magento 2 getAllStatusHistory() after Paypal Express paymentMagento 2 : Add Custom Fee to Paypal Express CheckoutMagento 2 wrong paypal express checkout token specifiedMagento 2.2.6- After Migration all default Payment Methods are not working fine



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm using Magento 2.3.1 with Vnecoms multi-vendor extension and I'm trying to pay with PayPal-Express - mode sale & sandbox.
I can log in in Paypal & it redirects me to the page to choose the shipment.



Arrived there exception.log & debug.log give me:




main.CRITICAL: The "3000000008" order ID is incorrect. Verify the ID
and try again. "exception":"[object] (Exception(code: 0): The
"3000000008" order ID is incorrect. Verify the ID and try again. at
/var/www/html/vendor/magento/module-paypal/Model/Ipn.php:143)" []




This doesn't happen in Authorization mode for some reason.



payment.log looks like this:



[2019-04-09 08:04:25] main.DEBUG: array (
'url' => 'https://api-3t.sandbox.paypal.com/nvp',
'DoExpressCheckoutPayment' =>
array (
'TOKEN' => 'EC-1Y3185946J772174S',
'PAYERID' => 'D2Q6ZYP2U59WA',
'PAYMENTACTION' => 'Sale',
'AMT' => '16.89',
'CURRENCYCODE' => 'EUR',
'BUTTONSOURCE' => 'Magento_Cart_Community',
'NOTIFYURL' => 'https://shop.2mazing.com/paypal/ipn/',
'RETURNFMFDETAILS' => 1,
'SHIPPINGAMT' => '0.90',
'ITEMAMT' => '15.99',
'TAXAMT' => '0.00',
'L_NUMBER0' => NULL,
'L_NAME0' => 'Autositzauflage -Gray',
'L_QTY0' => 1,
'L_AMT0' => '15.99',
'L_NUMBER1' => 'store_credit',
'L_NAME1' => 'Shop-Guthaben',
'L_QTY1' => 1,
'L_AMT1' => '0.00',
'BUSINESS' => NULL,
'EMAIL' => 'kauf@2mazing.com',
'FIRSTNAME' => 'Simon Schmidt',
'LASTNAME' => NULL,
'MIDDLENAME' => NULL,
'SALUTATION' => NULL,
'SUFFIX' => NULL,
'COUNTRYCODE' => 'DE',
'STATE' => 'Empty',
'CITY' => 'Freiburg',
'STREET' => 'ESpachstr. 1',
'ZIP' => '79111',
'PHONENUM' => NULL,
'SHIPTOCOUNTRYCODE' => 'DE',
'SHIPTOSTATE' => 'Empty',
'SHIPTOCITY' => 'Freiburg',
'SHIPTOSTREET' => 'ESpachstr. 1',
'SHIPTOZIP' => '79111',
'SHIPTOPHONENUM' => NULL,
'SHIPTOSTREET2' => '',
'STREET2' => '',
'SHIPTONAME' => 'Simon Schmidt ',
'ADDROVERRIDE' => 1,
'METHOD' => 'DoExpressCheckoutPayment',
'VERSION' => '72.0',
'USER' => '****',
'PWD' => '****',
'SIGNATURE' => '****',
),
'response' =>
array (
'TOKEN' => 'EC-1Y3185946J772174S',
'SUCCESSPAGEREDIRECTREQUESTED' => 'false',
'TIMESTAMP' => '2019-04-09T08:04:25Z',
'CORRELATIONID' => '23b2aead9b48f',
'ACK' => 'Success',
'VERSION' => '72.0',
'BUILD' => '52346509',
'TRANSACTIONID' => '70R244159E137901D',
'TRANSACTIONTYPE' => 'cart',
'PAYMENTTYPE' => 'instant',
'ORDERTIME' => '2019-04-09T08:04:24Z',
'AMT' => '16.89',
'FEEAMT' => '0.67',
'TAXAMT' => '0.00',
'CURRENCYCODE' => 'EUR',
'PAYMENTSTATUS' => 'Pending',
'PENDINGREASON' => 'paymentreview',
'REASONCODE' => 'None',
'PROTECTIONELIGIBILITY' => 'Ineligible',
'INSURANCEOPTIONSELECTED' => 'false',
'SHIPPINGOPTIONISDEFAULT' => 'false',
'PAYMENTINFO_0_TRANSACTIONID' => '70R244159E137901D',
'PAYMENTINFO_0_TRANSACTIONTYPE' => 'cart',
'PAYMENTINFO_0_PAYMENTTYPE' => 'instant',
'PAYMENTINFO_0_ORDERTIME' => '2019-04-09T08:04:24Z',
'PAYMENTINFO_0_AMT' => '16.89',
'PAYMENTINFO_0_FEEAMT' => '0.67',
'PAYMENTINFO_0_TAXAMT' => '0.00',
'PAYMENTINFO_0_CURRENCYCODE' => 'EUR',
'PAYMENTINFO_0_PAYMENTSTATUS' => 'Pending',
'PAYMENTINFO_0_PENDINGREASON' => 'paymentreview',
'PAYMENTINFO_0_REASONCODE' => 'None',
'PAYMENTINFO_0_PROTECTIONELIGIBILITY' => 'Ineligible',
'PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE' => 'None',
'PAYMENTINFO_0_SELLERPAYPALACCOUNTID' => 'merchant@2mazing.com',
'PAYMENTINFO_0_SECUREMERCHANTACCOUNTID' => 'TCH52AZ5XS3HG',
'PAYMENTINFO_0_ERRORCODE' => '0',
'PAYMENTINFO_0_ACK' => 'Success',
),
) [] []


If I try to pay PHP gives me the following error:




Fatal error: Uncaught TypeError: Argument 1 passed to
MagentoSalesModelOrderAddressRenderer::format() must be an
instance of MagentoSalesModelOrderAddress, null given, called in
/var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php
on line 148 and defined in
/var/www/html/vendor/magento/module-sales/Model/Order/Address/Renderer.php:51
Stack trace: #0
/var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php(148):
MagentoSalesModelOrderAddressRenderer->format(NULL, 'html') #1
/var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender/OrderSender.php(137):
VnecomsVendorsSalesModelOrderEmailSender->getFormattedShippingAddress(Object(MagentoSalesModelOrderInterceptor))



2 /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php(82):



VnecomsVendorsSalesModelOrderEmailSenderOrderSender->prepareTemplate(Object(VnecomsVendorsSalesModelOrder))



3 /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sen



in
/var/www/html/vendor/magento/module-sales/Model/Order/Address/Renderer.php
on line 51




These errors are only occurring in Paypal Sale mode.



Also if I don't allow multiple payments per invoice ID in Paypal, I get the PayPal gateway rejected request - duplicate invoice issue.



Any ideas on how to solve this?










share|improve this question









New contributor




Alicia Sch. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    I'm using Magento 2.3.1 with Vnecoms multi-vendor extension and I'm trying to pay with PayPal-Express - mode sale & sandbox.
    I can log in in Paypal & it redirects me to the page to choose the shipment.



    Arrived there exception.log & debug.log give me:




    main.CRITICAL: The "3000000008" order ID is incorrect. Verify the ID
    and try again. "exception":"[object] (Exception(code: 0): The
    "3000000008" order ID is incorrect. Verify the ID and try again. at
    /var/www/html/vendor/magento/module-paypal/Model/Ipn.php:143)" []




    This doesn't happen in Authorization mode for some reason.



    payment.log looks like this:



    [2019-04-09 08:04:25] main.DEBUG: array (
    'url' => 'https://api-3t.sandbox.paypal.com/nvp',
    'DoExpressCheckoutPayment' =>
    array (
    'TOKEN' => 'EC-1Y3185946J772174S',
    'PAYERID' => 'D2Q6ZYP2U59WA',
    'PAYMENTACTION' => 'Sale',
    'AMT' => '16.89',
    'CURRENCYCODE' => 'EUR',
    'BUTTONSOURCE' => 'Magento_Cart_Community',
    'NOTIFYURL' => 'https://shop.2mazing.com/paypal/ipn/',
    'RETURNFMFDETAILS' => 1,
    'SHIPPINGAMT' => '0.90',
    'ITEMAMT' => '15.99',
    'TAXAMT' => '0.00',
    'L_NUMBER0' => NULL,
    'L_NAME0' => 'Autositzauflage -Gray',
    'L_QTY0' => 1,
    'L_AMT0' => '15.99',
    'L_NUMBER1' => 'store_credit',
    'L_NAME1' => 'Shop-Guthaben',
    'L_QTY1' => 1,
    'L_AMT1' => '0.00',
    'BUSINESS' => NULL,
    'EMAIL' => 'kauf@2mazing.com',
    'FIRSTNAME' => 'Simon Schmidt',
    'LASTNAME' => NULL,
    'MIDDLENAME' => NULL,
    'SALUTATION' => NULL,
    'SUFFIX' => NULL,
    'COUNTRYCODE' => 'DE',
    'STATE' => 'Empty',
    'CITY' => 'Freiburg',
    'STREET' => 'ESpachstr. 1',
    'ZIP' => '79111',
    'PHONENUM' => NULL,
    'SHIPTOCOUNTRYCODE' => 'DE',
    'SHIPTOSTATE' => 'Empty',
    'SHIPTOCITY' => 'Freiburg',
    'SHIPTOSTREET' => 'ESpachstr. 1',
    'SHIPTOZIP' => '79111',
    'SHIPTOPHONENUM' => NULL,
    'SHIPTOSTREET2' => '',
    'STREET2' => '',
    'SHIPTONAME' => 'Simon Schmidt ',
    'ADDROVERRIDE' => 1,
    'METHOD' => 'DoExpressCheckoutPayment',
    'VERSION' => '72.0',
    'USER' => '****',
    'PWD' => '****',
    'SIGNATURE' => '****',
    ),
    'response' =>
    array (
    'TOKEN' => 'EC-1Y3185946J772174S',
    'SUCCESSPAGEREDIRECTREQUESTED' => 'false',
    'TIMESTAMP' => '2019-04-09T08:04:25Z',
    'CORRELATIONID' => '23b2aead9b48f',
    'ACK' => 'Success',
    'VERSION' => '72.0',
    'BUILD' => '52346509',
    'TRANSACTIONID' => '70R244159E137901D',
    'TRANSACTIONTYPE' => 'cart',
    'PAYMENTTYPE' => 'instant',
    'ORDERTIME' => '2019-04-09T08:04:24Z',
    'AMT' => '16.89',
    'FEEAMT' => '0.67',
    'TAXAMT' => '0.00',
    'CURRENCYCODE' => 'EUR',
    'PAYMENTSTATUS' => 'Pending',
    'PENDINGREASON' => 'paymentreview',
    'REASONCODE' => 'None',
    'PROTECTIONELIGIBILITY' => 'Ineligible',
    'INSURANCEOPTIONSELECTED' => 'false',
    'SHIPPINGOPTIONISDEFAULT' => 'false',
    'PAYMENTINFO_0_TRANSACTIONID' => '70R244159E137901D',
    'PAYMENTINFO_0_TRANSACTIONTYPE' => 'cart',
    'PAYMENTINFO_0_PAYMENTTYPE' => 'instant',
    'PAYMENTINFO_0_ORDERTIME' => '2019-04-09T08:04:24Z',
    'PAYMENTINFO_0_AMT' => '16.89',
    'PAYMENTINFO_0_FEEAMT' => '0.67',
    'PAYMENTINFO_0_TAXAMT' => '0.00',
    'PAYMENTINFO_0_CURRENCYCODE' => 'EUR',
    'PAYMENTINFO_0_PAYMENTSTATUS' => 'Pending',
    'PAYMENTINFO_0_PENDINGREASON' => 'paymentreview',
    'PAYMENTINFO_0_REASONCODE' => 'None',
    'PAYMENTINFO_0_PROTECTIONELIGIBILITY' => 'Ineligible',
    'PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE' => 'None',
    'PAYMENTINFO_0_SELLERPAYPALACCOUNTID' => 'merchant@2mazing.com',
    'PAYMENTINFO_0_SECUREMERCHANTACCOUNTID' => 'TCH52AZ5XS3HG',
    'PAYMENTINFO_0_ERRORCODE' => '0',
    'PAYMENTINFO_0_ACK' => 'Success',
    ),
    ) [] []


    If I try to pay PHP gives me the following error:




    Fatal error: Uncaught TypeError: Argument 1 passed to
    MagentoSalesModelOrderAddressRenderer::format() must be an
    instance of MagentoSalesModelOrderAddress, null given, called in
    /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php
    on line 148 and defined in
    /var/www/html/vendor/magento/module-sales/Model/Order/Address/Renderer.php:51
    Stack trace: #0
    /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php(148):
    MagentoSalesModelOrderAddressRenderer->format(NULL, 'html') #1
    /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender/OrderSender.php(137):
    VnecomsVendorsSalesModelOrderEmailSender->getFormattedShippingAddress(Object(MagentoSalesModelOrderInterceptor))



    2 /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php(82):



    VnecomsVendorsSalesModelOrderEmailSenderOrderSender->prepareTemplate(Object(VnecomsVendorsSalesModelOrder))



    3 /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sen



    in
    /var/www/html/vendor/magento/module-sales/Model/Order/Address/Renderer.php
    on line 51




    These errors are only occurring in Paypal Sale mode.



    Also if I don't allow multiple payments per invoice ID in Paypal, I get the PayPal gateway rejected request - duplicate invoice issue.



    Any ideas on how to solve this?










    share|improve this question









    New contributor




    Alicia Sch. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0


      0






      I'm using Magento 2.3.1 with Vnecoms multi-vendor extension and I'm trying to pay with PayPal-Express - mode sale & sandbox.
      I can log in in Paypal & it redirects me to the page to choose the shipment.



      Arrived there exception.log & debug.log give me:




      main.CRITICAL: The "3000000008" order ID is incorrect. Verify the ID
      and try again. "exception":"[object] (Exception(code: 0): The
      "3000000008" order ID is incorrect. Verify the ID and try again. at
      /var/www/html/vendor/magento/module-paypal/Model/Ipn.php:143)" []




      This doesn't happen in Authorization mode for some reason.



      payment.log looks like this:



      [2019-04-09 08:04:25] main.DEBUG: array (
      'url' => 'https://api-3t.sandbox.paypal.com/nvp',
      'DoExpressCheckoutPayment' =>
      array (
      'TOKEN' => 'EC-1Y3185946J772174S',
      'PAYERID' => 'D2Q6ZYP2U59WA',
      'PAYMENTACTION' => 'Sale',
      'AMT' => '16.89',
      'CURRENCYCODE' => 'EUR',
      'BUTTONSOURCE' => 'Magento_Cart_Community',
      'NOTIFYURL' => 'https://shop.2mazing.com/paypal/ipn/',
      'RETURNFMFDETAILS' => 1,
      'SHIPPINGAMT' => '0.90',
      'ITEMAMT' => '15.99',
      'TAXAMT' => '0.00',
      'L_NUMBER0' => NULL,
      'L_NAME0' => 'Autositzauflage -Gray',
      'L_QTY0' => 1,
      'L_AMT0' => '15.99',
      'L_NUMBER1' => 'store_credit',
      'L_NAME1' => 'Shop-Guthaben',
      'L_QTY1' => 1,
      'L_AMT1' => '0.00',
      'BUSINESS' => NULL,
      'EMAIL' => 'kauf@2mazing.com',
      'FIRSTNAME' => 'Simon Schmidt',
      'LASTNAME' => NULL,
      'MIDDLENAME' => NULL,
      'SALUTATION' => NULL,
      'SUFFIX' => NULL,
      'COUNTRYCODE' => 'DE',
      'STATE' => 'Empty',
      'CITY' => 'Freiburg',
      'STREET' => 'ESpachstr. 1',
      'ZIP' => '79111',
      'PHONENUM' => NULL,
      'SHIPTOCOUNTRYCODE' => 'DE',
      'SHIPTOSTATE' => 'Empty',
      'SHIPTOCITY' => 'Freiburg',
      'SHIPTOSTREET' => 'ESpachstr. 1',
      'SHIPTOZIP' => '79111',
      'SHIPTOPHONENUM' => NULL,
      'SHIPTOSTREET2' => '',
      'STREET2' => '',
      'SHIPTONAME' => 'Simon Schmidt ',
      'ADDROVERRIDE' => 1,
      'METHOD' => 'DoExpressCheckoutPayment',
      'VERSION' => '72.0',
      'USER' => '****',
      'PWD' => '****',
      'SIGNATURE' => '****',
      ),
      'response' =>
      array (
      'TOKEN' => 'EC-1Y3185946J772174S',
      'SUCCESSPAGEREDIRECTREQUESTED' => 'false',
      'TIMESTAMP' => '2019-04-09T08:04:25Z',
      'CORRELATIONID' => '23b2aead9b48f',
      'ACK' => 'Success',
      'VERSION' => '72.0',
      'BUILD' => '52346509',
      'TRANSACTIONID' => '70R244159E137901D',
      'TRANSACTIONTYPE' => 'cart',
      'PAYMENTTYPE' => 'instant',
      'ORDERTIME' => '2019-04-09T08:04:24Z',
      'AMT' => '16.89',
      'FEEAMT' => '0.67',
      'TAXAMT' => '0.00',
      'CURRENCYCODE' => 'EUR',
      'PAYMENTSTATUS' => 'Pending',
      'PENDINGREASON' => 'paymentreview',
      'REASONCODE' => 'None',
      'PROTECTIONELIGIBILITY' => 'Ineligible',
      'INSURANCEOPTIONSELECTED' => 'false',
      'SHIPPINGOPTIONISDEFAULT' => 'false',
      'PAYMENTINFO_0_TRANSACTIONID' => '70R244159E137901D',
      'PAYMENTINFO_0_TRANSACTIONTYPE' => 'cart',
      'PAYMENTINFO_0_PAYMENTTYPE' => 'instant',
      'PAYMENTINFO_0_ORDERTIME' => '2019-04-09T08:04:24Z',
      'PAYMENTINFO_0_AMT' => '16.89',
      'PAYMENTINFO_0_FEEAMT' => '0.67',
      'PAYMENTINFO_0_TAXAMT' => '0.00',
      'PAYMENTINFO_0_CURRENCYCODE' => 'EUR',
      'PAYMENTINFO_0_PAYMENTSTATUS' => 'Pending',
      'PAYMENTINFO_0_PENDINGREASON' => 'paymentreview',
      'PAYMENTINFO_0_REASONCODE' => 'None',
      'PAYMENTINFO_0_PROTECTIONELIGIBILITY' => 'Ineligible',
      'PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE' => 'None',
      'PAYMENTINFO_0_SELLERPAYPALACCOUNTID' => 'merchant@2mazing.com',
      'PAYMENTINFO_0_SECUREMERCHANTACCOUNTID' => 'TCH52AZ5XS3HG',
      'PAYMENTINFO_0_ERRORCODE' => '0',
      'PAYMENTINFO_0_ACK' => 'Success',
      ),
      ) [] []


      If I try to pay PHP gives me the following error:




      Fatal error: Uncaught TypeError: Argument 1 passed to
      MagentoSalesModelOrderAddressRenderer::format() must be an
      instance of MagentoSalesModelOrderAddress, null given, called in
      /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php
      on line 148 and defined in
      /var/www/html/vendor/magento/module-sales/Model/Order/Address/Renderer.php:51
      Stack trace: #0
      /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php(148):
      MagentoSalesModelOrderAddressRenderer->format(NULL, 'html') #1
      /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender/OrderSender.php(137):
      VnecomsVendorsSalesModelOrderEmailSender->getFormattedShippingAddress(Object(MagentoSalesModelOrderInterceptor))



      2 /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php(82):



      VnecomsVendorsSalesModelOrderEmailSenderOrderSender->prepareTemplate(Object(VnecomsVendorsSalesModelOrder))



      3 /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sen



      in
      /var/www/html/vendor/magento/module-sales/Model/Order/Address/Renderer.php
      on line 51




      These errors are only occurring in Paypal Sale mode.



      Also if I don't allow multiple payments per invoice ID in Paypal, I get the PayPal gateway rejected request - duplicate invoice issue.



      Any ideas on how to solve this?










      share|improve this question









      New contributor




      Alicia Sch. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I'm using Magento 2.3.1 with Vnecoms multi-vendor extension and I'm trying to pay with PayPal-Express - mode sale & sandbox.
      I can log in in Paypal & it redirects me to the page to choose the shipment.



      Arrived there exception.log & debug.log give me:




      main.CRITICAL: The "3000000008" order ID is incorrect. Verify the ID
      and try again. "exception":"[object] (Exception(code: 0): The
      "3000000008" order ID is incorrect. Verify the ID and try again. at
      /var/www/html/vendor/magento/module-paypal/Model/Ipn.php:143)" []




      This doesn't happen in Authorization mode for some reason.



      payment.log looks like this:



      [2019-04-09 08:04:25] main.DEBUG: array (
      'url' => 'https://api-3t.sandbox.paypal.com/nvp',
      'DoExpressCheckoutPayment' =>
      array (
      'TOKEN' => 'EC-1Y3185946J772174S',
      'PAYERID' => 'D2Q6ZYP2U59WA',
      'PAYMENTACTION' => 'Sale',
      'AMT' => '16.89',
      'CURRENCYCODE' => 'EUR',
      'BUTTONSOURCE' => 'Magento_Cart_Community',
      'NOTIFYURL' => 'https://shop.2mazing.com/paypal/ipn/',
      'RETURNFMFDETAILS' => 1,
      'SHIPPINGAMT' => '0.90',
      'ITEMAMT' => '15.99',
      'TAXAMT' => '0.00',
      'L_NUMBER0' => NULL,
      'L_NAME0' => 'Autositzauflage -Gray',
      'L_QTY0' => 1,
      'L_AMT0' => '15.99',
      'L_NUMBER1' => 'store_credit',
      'L_NAME1' => 'Shop-Guthaben',
      'L_QTY1' => 1,
      'L_AMT1' => '0.00',
      'BUSINESS' => NULL,
      'EMAIL' => 'kauf@2mazing.com',
      'FIRSTNAME' => 'Simon Schmidt',
      'LASTNAME' => NULL,
      'MIDDLENAME' => NULL,
      'SALUTATION' => NULL,
      'SUFFIX' => NULL,
      'COUNTRYCODE' => 'DE',
      'STATE' => 'Empty',
      'CITY' => 'Freiburg',
      'STREET' => 'ESpachstr. 1',
      'ZIP' => '79111',
      'PHONENUM' => NULL,
      'SHIPTOCOUNTRYCODE' => 'DE',
      'SHIPTOSTATE' => 'Empty',
      'SHIPTOCITY' => 'Freiburg',
      'SHIPTOSTREET' => 'ESpachstr. 1',
      'SHIPTOZIP' => '79111',
      'SHIPTOPHONENUM' => NULL,
      'SHIPTOSTREET2' => '',
      'STREET2' => '',
      'SHIPTONAME' => 'Simon Schmidt ',
      'ADDROVERRIDE' => 1,
      'METHOD' => 'DoExpressCheckoutPayment',
      'VERSION' => '72.0',
      'USER' => '****',
      'PWD' => '****',
      'SIGNATURE' => '****',
      ),
      'response' =>
      array (
      'TOKEN' => 'EC-1Y3185946J772174S',
      'SUCCESSPAGEREDIRECTREQUESTED' => 'false',
      'TIMESTAMP' => '2019-04-09T08:04:25Z',
      'CORRELATIONID' => '23b2aead9b48f',
      'ACK' => 'Success',
      'VERSION' => '72.0',
      'BUILD' => '52346509',
      'TRANSACTIONID' => '70R244159E137901D',
      'TRANSACTIONTYPE' => 'cart',
      'PAYMENTTYPE' => 'instant',
      'ORDERTIME' => '2019-04-09T08:04:24Z',
      'AMT' => '16.89',
      'FEEAMT' => '0.67',
      'TAXAMT' => '0.00',
      'CURRENCYCODE' => 'EUR',
      'PAYMENTSTATUS' => 'Pending',
      'PENDINGREASON' => 'paymentreview',
      'REASONCODE' => 'None',
      'PROTECTIONELIGIBILITY' => 'Ineligible',
      'INSURANCEOPTIONSELECTED' => 'false',
      'SHIPPINGOPTIONISDEFAULT' => 'false',
      'PAYMENTINFO_0_TRANSACTIONID' => '70R244159E137901D',
      'PAYMENTINFO_0_TRANSACTIONTYPE' => 'cart',
      'PAYMENTINFO_0_PAYMENTTYPE' => 'instant',
      'PAYMENTINFO_0_ORDERTIME' => '2019-04-09T08:04:24Z',
      'PAYMENTINFO_0_AMT' => '16.89',
      'PAYMENTINFO_0_FEEAMT' => '0.67',
      'PAYMENTINFO_0_TAXAMT' => '0.00',
      'PAYMENTINFO_0_CURRENCYCODE' => 'EUR',
      'PAYMENTINFO_0_PAYMENTSTATUS' => 'Pending',
      'PAYMENTINFO_0_PENDINGREASON' => 'paymentreview',
      'PAYMENTINFO_0_REASONCODE' => 'None',
      'PAYMENTINFO_0_PROTECTIONELIGIBILITY' => 'Ineligible',
      'PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE' => 'None',
      'PAYMENTINFO_0_SELLERPAYPALACCOUNTID' => 'merchant@2mazing.com',
      'PAYMENTINFO_0_SECUREMERCHANTACCOUNTID' => 'TCH52AZ5XS3HG',
      'PAYMENTINFO_0_ERRORCODE' => '0',
      'PAYMENTINFO_0_ACK' => 'Success',
      ),
      ) [] []


      If I try to pay PHP gives me the following error:




      Fatal error: Uncaught TypeError: Argument 1 passed to
      MagentoSalesModelOrderAddressRenderer::format() must be an
      instance of MagentoSalesModelOrderAddress, null given, called in
      /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php
      on line 148 and defined in
      /var/www/html/vendor/magento/module-sales/Model/Order/Address/Renderer.php:51
      Stack trace: #0
      /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php(148):
      MagentoSalesModelOrderAddressRenderer->format(NULL, 'html') #1
      /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender/OrderSender.php(137):
      VnecomsVendorsSalesModelOrderEmailSender->getFormattedShippingAddress(Object(MagentoSalesModelOrderInterceptor))



      2 /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sender.php(82):



      VnecomsVendorsSalesModelOrderEmailSenderOrderSender->prepareTemplate(Object(VnecomsVendorsSalesModelOrder))



      3 /var/www/html/vendor/vnecoms/module-vendors-sales/Model/Order/Email/Sen



      in
      /var/www/html/vendor/magento/module-sales/Model/Order/Address/Renderer.php
      on line 51




      These errors are only occurring in Paypal Sale mode.



      Also if I don't allow multiple payments per invoice ID in Paypal, I get the PayPal gateway rejected request - duplicate invoice issue.



      Any ideas on how to solve this?







      payment-methods payment paypal-express multi-vendor magento2.3.1






      share|improve this question









      New contributor




      Alicia Sch. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Alicia Sch. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 19 hours ago







      Alicia Sch.













      New contributor




      Alicia Sch. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      Alicia Sch.Alicia Sch.

      11




      11




      New contributor




      Alicia Sch. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Alicia Sch. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Alicia Sch. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Alicia Sch. is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269328%2fpaypal-express-payment-error-incorrect-id%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Alicia Sch. is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          Alicia Sch. is a new contributor. Be nice, and check out our Code of Conduct.












          Alicia Sch. is a new contributor. Be nice, and check out our Code of Conduct.











          Alicia Sch. is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269328%2fpaypal-express-payment-error-incorrect-id%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?