Categories
CMS Magento Mastering Development

How to pass the card details for the Magento API [POST]: V1/carts/mine/payment-information for the payment method stripe_payments_checkout_card

I have an iOS native app which communicates through Magento Rest APIs with my Magento Store, I would like to know how to pass the card details (Token, CVV, Exp Year, Exp Month, Last 4) in JSON format for the payment method "method":"stripe_payments_checkout_card" in the Magento API: [POST] V1/carts/mine/payment-information Note: I use the Stripe Official […]

Categories
CMS Magento Mastering Development

Magento 2 API invoice items showing as double

For some reason on a invoice more QTY is returned than what exists in the items array. It seems to only do this on configurable products however how should one handle this from the API? Full example: https://devdocs.magento.com/guides/v2.4/rest/tutorials/orders/order-create-invoice.html Short part in question: { "base_discount_tax_compensation_amount": 0, "base_price": 52, "base_price_incl_tax": 52, "base_row_total": 52, "base_row_total_incl_tax": 52, "base_tax_amount": 0, […]

Categories
CMS Magento Mastering Development

How to set data for my extension attribute Magento 2.3

I can’t set the value for my extension attribute , how to set the value for extension attribute using json array swagger. And i can’t show the data in the order grid. The below attribute and value can’t set. My attribute : customer_feedback Value : Hello My Module that created for extension attribute Sm\OrderFeedback\etc\di.xml <?xml […]