#StackBounty: #magento2.3 #checkout #session #payment-gateway #magento2ccavenue Magento 2 Session Expire after return from payment gate…

Bounty: 50

We are facing the session expire issue, while, return from payment gateway.

We are integrated CCavenue Magento 2.3.4 Toolkit,

we are tried following ways

  1. Cache => somebody told maybe problem of cache content checkout and cart pages, so we tried to disable full page cache, then tried.
  2. Cookie Domain Mismatch => we are given the right hostname in cookie configuration.
  3. Stickie Session => we follow this blog, they suggested to use SameSite=lax.

Still, the session expires, after return from the payment gateway. we debug our toolkit, the session is there, before redirected to the payment gateway. after return from payment gateway only. session expires.

Suggest me, what is the issue and how to fix this.

Get this bounty!!!

#StackBounty: #magento2 #checkout Form validation not working

Bounty: 100

First of all, im using magento 2.4 here. Im building a new form via the LayoutProcessor. The form in the checkout that i have is depending on the products sold. In my case im selling virtual exams which means in the checkout i need to request extra candidate info for each item sold.

In general i have all the fields on the page which works however the validation somehow is not. The fields are added like below:

                'component' => 'Magento_Ui/js/form/element/abstract',
                'config' => [
                    'customScope' => 'extraCheckoutForm',
                    'template' => 'ui/form/field',
                    'elementTmpl' => 'ui/form/element/input',
                'provider' => 'checkoutProvider',
                'dataScope' => 'extraCheckoutForm['.$attributeSet.'][' . $item->getId() . '][' . $i . '][' . $f['name'] . ']',
                'label' => $f['label'],
                'sortOrder' => $this->sortOrderPointer,
                'validation' => [
                    'required-entry' => (bool) $f['required'],

Even all this works and the form field is rendered in the UI like this:

<input class="input-text valid" 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',
        id: uid,
        disabled: disabled
    }" name="extraCheckoutForm[elearning][30][0][firstname]" aria-required="true" aria-invalid="false" id="M477C2H">

The problem now actually is that when i validate the form with my JS it is not validating anything since there are no validation rules on the generated input field. The validation method looks like:

validateFields: function () {
    var formSelector = '#extra-checkout-form';
    var valid = true;
    $(formSelector + ' input').each(function () {
        if (!Boolean($(this).valid())) {
            valid = false;
    if (!valid) {
        return false;
    return true;

Hope that someone has an idea


Get this bounty!!!

#StackBounty: #magento2 #checkout #payment-methods #grand-total #order-totals Coupons are applied but payment decting only one coupon i…

Bounty: 50

I’m using the Multiple coupons for magento2. in this module coupons are applied but amount is decting wrong. if I applied 2 coupons to the product those are applied when I pay the amount only one coupon amount is reduced.

example. product price is €239.96
I applied two coupons each one for € 30.00 total €60.00 reduced and the Grand total is €179.96

when I pay the amount is € 209,96 means only one coupon amount is dected.

below I attached the screenshot please check

enter image description here

in the network tab grand total and base grand total values are different

enter image description here

Get this bounty!!!

#StackBounty: #magento2 #checkout Magento2 Expand Apply Coupon Code on Luma Checkout page

Bounty: 300

on Magento 2.3 I have edited the Apply Coupon text box in the file I moved to


I altered the above file so that the coupon code box would be expanded by default which works on the view cart page.

However when I go to the checkout page (I am using default Luma child theme) the Apply Discount code box is not expanded by default like it is on the view cart page.

What is the path to the file that controls this on the actual checkout page?

Get this bounty!!!

#StackBounty: #magento2 #checkout #shipping-address #magento-upgrade Shipping Region ID is missing in checkout after upgrading from Mag…

Bounty: 150

After i upgrade from Magento 2.3.4 to Magento 2.4.1 after choosing the shipping address in the checkout page, i got this error:

Please specify regionId in shipping address

then i see the region is missing from the address in checkout page:

enter image description here

after i add new address, the region was not there either
enter image description here

before in Magento 2.3.4 it’s showing fine like this:

enter image description here

Get this bounty!!!

#StackBounty: #magento2 #checkout #popup #authentication how to show customer authentication popup when clicking on checkout button in …

Bounty: 50

I want to check if a user is logged in before proceeding to checkout. On the basis of customer login condition, i want to show the login popup if not login, and redirect to checkout if logged in already.

IMPORTANT: I have guest checkout enabled in the configuration. Because I want user to checkout with guest account

I am able to redirect user to login page when not logged in. But not able to use popup instead of redirecting it to login page.

to redirect user to login page, I did the following changes in my minicart.js file:

var cc = customerData.get('customer');
    var urls = window.checkout.checkoutUrl; 
    $( document.body ).removeClass( "logedin" );
    var urls = window.checkout.customerLoginUrl;

please help me find out how to use popup login instead redirecting to login page.

Get this bounty!!!