Magento : REST API integration with paypal payment method Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Notice: Array to string conversion in Magento 2Magento 2 Rest api POST JSON TypeProcessor errorMagento2: Unable to post 2D Array from REST ApiError on image upload with REST apiPLacing Order Magento 2.1 REST APIMagento 2.2.2 REST API - I need to change the customer password using REST API“Class mixed does not exist” with only one array param in the body in Magento 2Rest API - magento 1.9 - Return 403 Access denied - MagentoFrameworkWebapiException::HTTP_FORBIDDEN - format - https://abc.in/api/rest/customersCheckout create issue after Upgradation in Magento 2.2.6magento 2 trace payment page issue array to string conversion
Do I really need to have a message in a novel to appeal to readers?
Did Deadpool rescue all of the X-Force?
How do I find out the mythology and history of my Fortress?
Is there any word for a place full of confusion?
Hangman Game with C++
A term for a woman complaining about things/begging in a cute/childish way
Multiple OR (||) Conditions in If Statement
Using et al. for a last / senior author rather than for a first author
Performance gap between bool std:vector and array
What was the first language to use conditional keywords?
How does light 'choose' between wave and particle behaviour?
How to write the following sign?
Is it fair for a professor to grade us on the possession of past papers?
As a beginner, should I get a Squier Strat with a SSS config or a HSS?
What does it mean that physics no longer uses mechanical models to describe phenomena?
Source for Esri sample data from 911 Hot Spot Analysis
How do I make this wiring inside cabinet safer?
Why wasn't DOSKEY integrated with COMMAND.COM?
Do wooden building fires get hotter than 600°C?
How does the math work when buying airline miles?
Generate an RGB colour grid
Take 2! Is this homebrew Lady of Pain warlock patron balanced?
How come Sam didn't become Lord of Horn Hill?
Disembodied hand growing fangs
Magento : REST API integration with paypal payment method
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Notice: Array to string conversion in Magento 2Magento 2 Rest api POST JSON TypeProcessor errorMagento2: Unable to post 2D Array from REST ApiError on image upload with REST apiPLacing Order Magento 2.1 REST APIMagento 2.2.2 REST API - I need to change the customer password using REST API“Class mixed does not exist” with only one array param in the body in Magento 2Rest API - magento 1.9 - Return 403 Access denied - MagentoFrameworkWebapiException::HTTP_FORBIDDEN - format - https://abc.in/api/rest/customersCheckout create issue after Upgradation in Magento 2.2.6magento 2 trace payment page issue array to string conversion
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
We are using REST API for mobile app from magento 2. We are try to place order using paypal express checkout method. But we get error. Check detail bellow.
API call.
Call Type : PUT
API URL : https://example.com/index.php/rest/V1/carts/302/order
Request Body
"paymentMethod":
"method": "paypal_express",
"additional_data":
"paypal_express_payment_payload":
"create_time":"2019-04-15T23:13:52Z",
"id":"PAY-6RV70583SB702805EKEYSZ6Y",
"intent":"sale",
"state":"approved"
Response of API call :
"message": "Internal Error. Details are available in Magento log file. Report ID: webapi-5cb8df18c6197"
Magento Error log
[2019-04-18 20:33:28] main.CRITICAL: Report ID: webapi-5cb8df18c6197; Message: Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473
"exception":"[object] (Exception(code: 0): Report ID: webapi-5cb8df18c6197; Message: Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473
at /vendor/magento/framework/Webapi/ErrorProcessor.php:206, Exception(code: 0): Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473 at /vendor/magento/framework/App/ErrorHandler.php:61)" []
magento2 rest rest-api paypal-express
add a comment |
We are using REST API for mobile app from magento 2. We are try to place order using paypal express checkout method. But we get error. Check detail bellow.
API call.
Call Type : PUT
API URL : https://example.com/index.php/rest/V1/carts/302/order
Request Body
"paymentMethod":
"method": "paypal_express",
"additional_data":
"paypal_express_payment_payload":
"create_time":"2019-04-15T23:13:52Z",
"id":"PAY-6RV70583SB702805EKEYSZ6Y",
"intent":"sale",
"state":"approved"
Response of API call :
"message": "Internal Error. Details are available in Magento log file. Report ID: webapi-5cb8df18c6197"
Magento Error log
[2019-04-18 20:33:28] main.CRITICAL: Report ID: webapi-5cb8df18c6197; Message: Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473
"exception":"[object] (Exception(code: 0): Report ID: webapi-5cb8df18c6197; Message: Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473
at /vendor/magento/framework/Webapi/ErrorProcessor.php:206, Exception(code: 0): Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473 at /vendor/magento/framework/App/ErrorHandler.php:61)" []
magento2 rest rest-api paypal-express
add a comment |
We are using REST API for mobile app from magento 2. We are try to place order using paypal express checkout method. But we get error. Check detail bellow.
API call.
Call Type : PUT
API URL : https://example.com/index.php/rest/V1/carts/302/order
Request Body
"paymentMethod":
"method": "paypal_express",
"additional_data":
"paypal_express_payment_payload":
"create_time":"2019-04-15T23:13:52Z",
"id":"PAY-6RV70583SB702805EKEYSZ6Y",
"intent":"sale",
"state":"approved"
Response of API call :
"message": "Internal Error. Details are available in Magento log file. Report ID: webapi-5cb8df18c6197"
Magento Error log
[2019-04-18 20:33:28] main.CRITICAL: Report ID: webapi-5cb8df18c6197; Message: Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473
"exception":"[object] (Exception(code: 0): Report ID: webapi-5cb8df18c6197; Message: Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473
at /vendor/magento/framework/Webapi/ErrorProcessor.php:206, Exception(code: 0): Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473 at /vendor/magento/framework/App/ErrorHandler.php:61)" []
magento2 rest rest-api paypal-express
We are using REST API for mobile app from magento 2. We are try to place order using paypal express checkout method. But we get error. Check detail bellow.
API call.
Call Type : PUT
API URL : https://example.com/index.php/rest/V1/carts/302/order
Request Body
"paymentMethod":
"method": "paypal_express",
"additional_data":
"paypal_express_payment_payload":
"create_time":"2019-04-15T23:13:52Z",
"id":"PAY-6RV70583SB702805EKEYSZ6Y",
"intent":"sale",
"state":"approved"
Response of API call :
"message": "Internal Error. Details are available in Magento log file. Report ID: webapi-5cb8df18c6197"
Magento Error log
[2019-04-18 20:33:28] main.CRITICAL: Report ID: webapi-5cb8df18c6197; Message: Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473
"exception":"[object] (Exception(code: 0): Report ID: webapi-5cb8df18c6197; Message: Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473
at /vendor/magento/framework/Webapi/ErrorProcessor.php:206, Exception(code: 0): Notice: Array to string conversion in /vendor/magento/framework/Reflection/TypeProcessor.php on line 473 at /vendor/magento/framework/App/ErrorHandler.php:61)" []
magento2 rest rest-api paypal-express
magento2 rest rest-api paypal-express
asked 2 mins ago
Jalpesh PatelJalpesh Patel
320319
320319
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270718%2fmagento-rest-api-integration-with-paypal-payment-method%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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270718%2fmagento-rest-api-integration-with-paypal-payment-method%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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