skip to Main Content

Paypal api – PayPal chectout returns UNPROCESSABLE_ENTITY

My checkout code let ORDERPRICE = 2; paypal.Buttons({ createOrder: function(data, actions) { return actions.order.create({ application_context: { shipping_preference: "NO_SHIPPING", brand_name: "MYCOMP", user_action: 'PAY_NOW', payment_method: { payee_preferred: 'IMMEDIATE_PAYMENT_REQUIRED' } }, payer: { name: { given_name: 'NAME' }, email_address: '[email protected]' }, purchase_units: [{…

VIEW QUESTION

Magento 2: Add "autocomplete" attribute to checkout fields

We're running our site on Magento CE2.4.1. Currently, checkout fields have the following attributes: <input class="input-text" type="text" data-bind=" value: value, valueUpdate: 'keyup', hasFocus: focused, attr: { name: inputName, placeholder: placeholder, 'aria-describedby': getDescriptionId(), 'aria-required': required, 'aria-invalid': error() ? true : 'false',…

VIEW QUESTION
Back To Top
Search