frappe / webshop

Open Source eCommerce Platform
GNU General Public License v3.0
108 stars 120 forks source link

Payment error #208

Open princessfrombabylon99 opened 1 month ago

princessfrombabylon99 commented 1 month ago

Have you guys got any alternative to webshop? @NagariaHussain . It's been almost 1.5 years that this repository has been left unattended. Yaar Khuda ka wasta hai, please give us some proper robust solution for webshop. Poora kaam rukha pada hai webshop ki wajjah se. Please problem ko samjo.

NagariaHussain commented 1 month ago

Ok, first thing, is your name for real? 🤣

You might find your answer/solution here:

princessfrombabylon99 commented 1 month ago

Ok, first thing, is your name for real? 🤣

You might find your answer/solution here: I tried using Go 1 Commerce, but unfortunately, it doesn’t work with my ERPNext instance. Tridots is recommending that I uninstall ERPNext to use it, which I can't afford.

Regarding the Frappe-Webshop group you suggested on Telegram, I'm actually the owner of that group.

If I use Go1-Webshop, it still has the same backend issues, which are full of bugs. I watch your live videos where you create apps on YouTube, and if you could develop a native webshop with a better UI and frictionless sales, that would be great. I've been waiting since November 2023 and haven’t made a single sale on my webshop due to these errors. I swear by Allah.

princessfrombabylon99 commented 1 month ago

@NagariaHussain and regarding Go1 Commerce, they are advising to uninstall ERPNext or create a separate instance. I can't afford to uninstall ERPNext.

princessfrombabylon99 commented 1 month ago

@NagariaHussain I have corrected the name. Now , I requested you to please provide some solution for webshop. We are really not able to sell anything using it , however, at the same time we need to use ERPNext. Please understand. Hope you will help. I trust you

NagariaHussain commented 1 month ago

What is the biggest blocker right now? I mean what is the error in flow that is preventing the customers from ordering?

princessfrombabylon99 commented 4 weeks ago

What is the biggest blocker right now? I mean what is the error in flow that is preventing the customers from ordering?

   •    The webshop platform has bugs when creating variants (number).
•   The product page does not show the price until variants are selected.
•   It does not allow the use of multiple payment gateways.
•   The product page looks very basic and does not even support adding the affordability widget provided by payment gateways.
•   The address page appears unorganized when selecting or saving an address. The logic is not intuitive compared to other marketplaces, e.g., Magento.
•   The payment page looks very amateurish.
•   The transaction is split into two parts: first creating a Sales Order (SO) and then making a payment, which creates unnecessary friction in the sales process.
•   The homepage (all-products) shows an ‘explore’ option for products, making users believe the product is out of stock.
•   The “Incl. Tax” and “Exclusive Tax” options are unavailable.
•   The product description page does not offer much dynamic block functionality and could be made more aesthetically pleasing (perhaps by integrating Frappe Builder).
•   Swatches are completely absent from the product page.
•   The wallet feature is not available (optional).
•   On mobile, there are CSS and icon-wrapping issues.
•   For example, if I sell in both domestic and international markets, I want to keep multiple payment gateways available. For Indian customers, I could use Razorpay or Stripe, but I also want PayPal and Binance Pay visible to buyers simultaneously.
•   If a product has 10 variants, it needs to be published 10 times on the website, as the product template does not show the price or buy option.
    There are many more issues. If you could help, I would be really grateful. As you’re a developer, this should be a piece of cake for you.
princessfrombabylon99 commented 3 weeks ago

@NagariaHussain kuch kar sakty ho aap?

princessfrombabylon99 commented 3 weeks ago

@NagariaHussain Telegram group delete kar diya maine. mai tou kehti hu, ye repo b delete kardo or archive it. Because this is misleading. Better is to archive it. Thanks

NagariaHussain commented 3 weeks ago

For the bugs part, @rohitwaghchaure passively looks into it. But they should be replicable: create an issue, share steps to replicate.

For feature requests, we are looking for an owner who can take webshop forward.

princessfrombabylon99 commented 3 weeks ago

@NagariaHussain It will take a day to hire a person , however, frappe seems to be priortizing others apps which is absolutely okay but still webshop is the app that will act as a frontend and push leads and sales orders into ERPNext, and then ERPNext can be process those orders. Now , I would have used Magento , then it gets difficut to integrate things. I'll advise , add few people with @surajshetty3416 who can build ecommerce components. Give him a small team to handle. Suraj is also doing a good job , but woh akela kitna karega. @rohitwaghchaure is already handling other repository, there has to a full time maintainer. Sometimes , I feel, how come you(frappe) is overlooking webhsop. Either you guys have some surprise for users or I don't know what's in the box? I did try to install Tridots Go-1 commerce, don't ask how I recovered my erpnext instance . I had to seek help from people to recover it. There was such a bad DB issue. You don't know, since I was promoting webshop on Telegram , people used to find bugs and problems, they used to abuse me in DM. I was so fed up with their behavior. If it has to do something with funds @rmehta , let's run an e-campaign. If we startups can contribute 10K each , it will be a decent amount. Kamse kam webshop toh theek hoga.

princessfrombabylon99 commented 3 weeks ago

Could we pick some ideas from here https://medusajs.com/

NagariaHussain commented 3 weeks ago

I have been following the development and Medusa 2.0 is 🔥

How about an integration with ERPNext?

princessfrombabylon99 commented 3 weeks ago

@NagariaHussain If we use Medusa, we won't be able to use frappe-builder. Medusa does look exciting, but I'm not sure if I can install it on the same EC2 instance. I once tried to install Medusa 1.x; it looked decent, but then I thought about using webshop instead. Integration is still a concern. Medusa is currently #1 on GitHub, though. If you could guide me on how to go about integrating it, I would appreciate it. What makes Medusa hot? I think , they have an intuitive UI.

princessfrombabylon99 commented 2 weeks ago

@NagariaHussain I am waiting for your reply. Please thoda guide kardo . Karu Medusajs install? What about integration

NagariaHussain commented 2 weeks ago

Go ahead. I will also explore 😅

princessfrombabylon99 commented 2 weeks ago

@NagariaHussain I am planning to do it in this way Option 1. Deploy MedusaJS on a separate EC2 instance , and set a reverse proxy. Because , I wish to route the visitors to https://mydomain.in/store rather than to a sub-domain. This way the guest feel they are not being redirected to different domain or sub-domain. Option 2 Assign the primary domain(mydomain.in) to MedusaJS and create a subdomain erp.mydomain.in and assign that to ERPNext instance, which is already installed on EC2 instance, however, I don't know how to rename the bench sitenames, I checked forums also , as my primary domain is directing traffic to ERPNext instance. I can take care of Route53 re-configuration, but I am really not sure , how to rename my bench sitenames and if I need to make any changes in the existing Nginx file or what all changes I need to make in my bench.

MedusaJS seems to require managed resources , I am still trying to figure out how to manage Redis server on AWS. By the way , I wanted to ask you, Is it okay to install Postgres DB and Redis directly inside the instance , unmanaged? Because , for ERPNext also , I am not using managed resources, but its working fine.

You can either deploy the Medusa application fully (server with the admin), or deploy the Medusa Admin separately. The storefront is always deployed separately. Not sure, if frappe builder could be used to make front-end , that way , we won't need to make any changes in the footer and header.

image

Note: I am not a developer, I am learning. I love the frappe-ecosystem.

princessfrombabylon99 commented 2 weeks ago

@NagariaHussain Could you check these integrations , can we use them? https://github.com/prateekkaramchandani/erpnext_medusa_integration https://github.com/clayrisser/medusa-erpnext-sync

@shahednasser , is there any plugin available for ERPNext and MedusaJs?

NagariaHussain commented 2 weeks ago

but I am really not sure , how to rename my bench sitenames and if I need to make any changes in the existing Nginx file or what all changes I need to make in my bench.

You could create a new site with the required name and backup/restore?

princessfrombabylon99 commented 2 weeks ago

but I am really not sure , how to rename my bench sitenames and if I need to make any changes in the existing Nginx file or what all changes I need to make in my bench.

You could create a new site with the required name and backup/restore?

I will check how to backup and restore. Never done it actually.

I think API's could be used and frappe builder as frontend. https://docs.medusajs.com/resources/storefront-development

princessfrombabylon99 commented 2 weeks ago

@NagariaHussain Just finished installing Medusa on AWS at 1:50am . Will configure plugins tomorrow! Regarding Backup/Restore, I will read about it. Thank you

princessfrombabylon99 commented 2 weeks ago

@NagariaHussain Today's update: Whole day , I tried login Admin panel of Medusa, it kept throwing errors . I was able to access the login page , but then, it threw many error in console. I think , some problem with CORS configuration or Nginx conf. I followed instructions mentioned in this blog Blog . image image

user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

events {

   worker_connections 1024;
}

http {
   # Basic Settings
   sendfile on;
   tcp_nopush on;
   types_hash_max_size 2048;
   server_tokens off;

   include /etc/nginx/mime.types;
   default_type application/octet-stream;

   # SSL Settings
   ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
   ssl_prefer_server_ciphers on;

   # Logging Settings
   access_log /var/log/nginx/access.log;
   error_log /var/log/nginx/error.log;

   # Gzip Settings
   gzip off;

   server {

      listen [::]:443 ssl;
      listen 443 ssl;

      server_name shop.prodURL;
    ssl_certificate /etc/letsencrypt/live/shop.prodURL/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/shop.prodURL/privkey.pem; # managed by Certbot

      include /etc/letsencrypt/options-ssl-nginx.conf;
      ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

      location / {
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header Host $host;
         proxy_pass http://127.0.0.1:9000;
         proxy_http_version 1.1;
         proxy_cache_bypass $http_upgrade;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection "upgrade";
      }

}
}

Did you install it?

NagariaHussain commented 2 weeks ago

I am preparing for Riyadh bootcamp; top of my list once I am back.

Will do an episode on integration if it works out... I do have a friend at Medusa who I have pinged for an episode.

princessfrombabylon99 commented 2 weeks ago

@NagariaHussain Okay , all the best .

shahednasser commented 1 week ago

Hey @princessfrombabylon99 thanks for trying out Medusa! Did you manage to get it working?

princessfrombabylon99 commented 1 week ago

Hey @princessfrombabylon99 thanks for trying out Medusa! Did you manage to get it working?

Not really. I seriouly need some help.

princessfrombabylon99 commented 1 week ago

I am going to install Coolify on my AWS instance and see how things go; ideally, it should work, as Coolify is an alternative to Vercel.