I am trying to get the Payer Id to be used in setPaymentMethodOnCart mutation but don’t know how to get that. mutation { setPaymentMethodOnCart(input: { cart_id: "rMQdWEecBZr4SVWZwj2AF6y0dNCKQ8uH" payment_method: { code: "paypal_express" paypal_express: { payer_id: "<PayPal_PayerID>" token: "<PayPal_Token>" } } }) { cart { selected_payment_method { code title } } } […]
Magento
I can’t upload any file format images from CMS WYSIWYG editor also uploaded images not display but I can access images direct from URL I can upload products Images and categories etc just issue on CMS WYSIWYG editor
I’m trying to add a custom validation to some input fields in checkout address forms. The official guide works fine on addressbook and other forms, extending mage/validator and using addMethod is simply and clean. But for checkout address fields another library is used (why?!): Magento_Ui/js/lib/validation/validator which addRule lacks of many […]
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> <argument name="data" xsi:type="array"> <item name="js_config" xsi:type="array"> <item name="provider" xsi:type="string">Meetansi_Extension_post_listing.Meetansi_Extension_post_listing_data_source</item> <item name="deps" xsi:type="string">Meetansi_Extension_post_listing.Meetansi_Extension_post_listing_data_source</item> </item> <item name="spinner" xsi:type="string">spinner_columns</item> <item name="buttons" xsi:type="array"> <item name="add" xsi:type="array"> <item name="name" xsi:type="string">add</item> <item name="label" xsi:type="string" translate="true">Add New Post</item> <item name="class" xsi:type="string">primary</item> <item name="url" xsi:type="string">*/*/new</item> <- need controller? </item> </item> </argument> <dataSource name="nameOfDataSource"> <argument name="dataProvider" […]
I have products in my Magento 2.4.3 Community Edition with Special Price from march 2022 up until march 2023. I want to list, on Page Builder, using the conditions of Products component, the products that have that special price from another date, say today, to the end of this year. […]
I am working with the Magento2, I’ve configure the matrix shipping rate, also I’ve a requirement like, if there is no shipping method on checkout page for the guest customer, i need to add a button called “register”.
I am getting this error when I add custom tax amount programmatically: PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts (#10413: Transaction refused because of an invalid argument. See additional error messages for details). This is my code: class Tax extends […]
Magento 2.3.5-p2 This is whats happening: shipment is created and shipment mail is sent to rightcustomer@example.com mail is sent to rightcustomer@example.com again and also to wrongcustomer@example.com The shipments for the 2 were created close together, so maybe thats related. I disabled async mail sending already – did not help. Looking […]
i want to Create an automatic CSV export which is sent by email every tuesday. case This export should contains every product sold the past week. Each row should contains : Product SKU / Product Name / Product Sold Price / Quantity Sold / Order datetime So, for exemple, the […]