Magento2 authentication

Hi everyone, I have started building an online store in magento2 and i have gone through modules and folder structure and APIs. One thing i am not able to understand is how magento2 is authenticating every request from web frontend. Is there any middleware which is intercepting every request and authenticating or any other way ? I have to add some functionality while authenticating. My front end is mobile application and i will get JWT and need to decode and verify that.

Any help will be appreciated.

submitted by /u/NetImmediate
[link] [comments]

REST api : inventory/get-product-salable-quantity/{sku}/{stockId} – where to obtain sourceId… or is it actually {sourceId}

the API documentation says the 2nd parameter iis stockId
https://magento.redoc.ly/2.4.5-admin/tag/inventoryget-product-salable-quantityskustockId

This tutorial says it’s sourceId
https://developer.adobe.com/commerce/webapi/rest/tutorials/inventory/create-cart-add-products/

IF it’s sourceId, where do I obtain sourceIds ??

Seems like if anything would return a sourceId, it would be
https://magento.redoc.ly/2.4.5-admin/tag/inventorysources#operation/PostV1InventorySources

which seems to return everything but an id.

{ "items": [ { "source_code": "default", "name": "Default Source", "enabled": true, "description": "Default Source", "latitude": 0, "longitude": 0, "country_id": "US", "postcode": "00000", "use_default_carrier_config": true, "carrier_links": [], "extension_attributes": { "is_pickup_location_active": false, "frontend_name": "" } } ], "search_criteria": { "filter_groups": [] }, "total_count": 1 } 

This is so painful

https://magento.redoc.ly/2.4.5-admin/tag/inventorystocks
Why is sku not a field that I can use to search??

How do I get stock qty for a sku for each of my warehouses?

With Magento V!, this was /multiwhse/id/sku1,sku2,sku3…

submitted by /u/bkdotcom
[link] [comments]

Migrating from Magento 1 to 2 – Can anyone recommend a freelancer or company to do this?

I am currently running magento 1.9.4.5. I want to migrate to magento 2. Can anyone recommend a freelancer or company to do this without it costing a small fortune?

I am getting quotes in the region of £2000 which is way too much.

An Indian company called magecomp is advertising the service for just $348:

https://magecomp.com/magento-1-to-magento-2-migration.html

Has anyone tried the ‘do it yourself’ methods such as cart2cart:

https://cart2cart.net/

Any advice would be appreciated.

submitted by /u/BrokenEggYoke
[link] [comments]

Magento default frontend deprecated?

I read that in just a few years the default frontend will be deprecated?https://training.yireo.com/courseware/course/cf549f55-5272-4d6a-a684-85fd34a9fe1f/lesson/ee1ef791-8ef4-483c-ac28-4afa36768393

https://www.jajuma.de/en/blog/magento-luma-frontend-deprecated-what-now-what-next-alternatives

I guess these are our options:

  • Magento Luma
  • Hyvä Themes
  • Magento PWA Studio
  • Vue Storefront

Currently weighing all our options before diving in too deep. I’ve already been playing around the Luma theme for a month+ now

submitted by /u/WasabiSpider
[link] [comments]

Payment integration: how do you implement PCI DSS? How to store payment token?

Let say our magento need to integrate with a payment gateway and we have mobile app(as FE) where Customer use to purchase product. We need to build credit card form and in the form we have a checkbox to “Save card” info for later use. I would like to ask your experience on how do you do this.

  1. How do we implement PCI DSS compliance in this case with Magento? Just high level advise is very appreciated.
  2. Save card: when we get payment token from gateway: how do you store it in db? Do you encrypt it? If yes, what is secure enough way to encrypt?

Thank you for reading and appreciated all your comment.

submitted by /u/noobiesofteng
[link] [comments]

Best online course to take for Magento frontend?

I’m wondering if some of you know the best online courses for magento for building themes.

I saw this course https://www.thecoachsmb.com/blog/magento2-theme/?wmc-currency=USD

Has anyone tried this? I’ve followed some of her youtube videos and they’re pretty decent. I found some from Mark Shust but they’re very short and just cover some parts of frontend.

submitted by /u/WasabiSpider
[link] [comments]

I need help with some magneto customer journey automation.

Hello folks. I would like ask the magneto users what are your needs in terms of customer data acquisition and customer journey automation. I would like to write an extension for magneto and Tracardi. Tracardi is an open source project for automating customer journey and integration with other systems like marketing automation or customer data enhancement platforms

I was thing that maybe collecting customer behavioral data like product views and purchases and then using tracardi to send it to some open source ml tools for finding next products that the customer could buy and then sending this data to mailchimp or any other service could be a good start.

Do you have any ideas that I could use to increase customer engagement?

submitted by /u/zakamark
[link] [comments]

Timeline to build a fully custom theme from Luma?

I’m working for a b2b company and we’re trying to build a frontend for a magento website. I’m wondering how long it’ll take for me to build a fully custom theme extended from luma compared to if we get Hyva Themes? I’m extremely new to Magento and I’m struggling with how just one simple thing can be so complicated to move around from the product page alone. I’m wondering if this is the right way to go?

background from me – worked as a wordpress developer for 6+ years.

submitted by /u/WasabiSpider
[link] [comments]