Skip to content

Notice: Array to string conversion when using order rest API #8312

Closed
@fxdegroot

Description

@fxdegroot

Preconditions

Magento EE 2.1.2 / Magento CE 2.1.2

Steps to reproduce

  1. Make an order using PayPal Express as a payment method and then pay by entering credit card information within Paypal
  2. Try to access this particular order via Magento REST api : /rest/V1/orders

Expected result

  1. The API returns a JSON response of corresponding order

Actual result

  1. You get the following error : Notice: Array to string conversion in vendor/magento/framework/Reflection/TypeCaster.php on line 34

PR : #8311

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions