Shopping cart and stock management

I am currently building an ecommerce site with PHP/MySQL. Recently, I have been working on the Shopping Cart integration. The client wanted to ensure that stock was available to potential...

Invalid Security Header when adding SSL to Web Service

We have a web application that is comprised of various web services that are exposed to our front end development team. We are a small shop so security has never been a concern for us, but we...

how to get the most accurate location using GPS and AGPS with given time in android?

I have a below requirement. Find location of user from GPS and AGPS. (we are going to use Samsung Galaxy ACE mobile phone) Note: For every transaction first location will be the reference location...

Server side processing or client side processing?

I have developed a comparison website for comparing any product sold online in India. Currently, the site is completely client side :- Accepts user input. Makes 20-30 AJAX requests and fetches...

Configure Spring MVC with AngularJS

I would like to be able to use Spring MVC as REST server and AngularJS on client side. I have several urls for REST : /rest/products /rest/products/{id} And i have several urls for the UI...

Is Http Session contradicted with Http Stateless?

As we all know, HTTP is stateless. That means, the server side will not store any information about the client side. But when we write code with C#, we may use Http Session to store some data for...

Dog Racing Game algorithm logic

This is a dog racing game, there are videos and the first 3 winners are known for each video, the players choose the winners within a X limit time. Based on their betting the algorithm chooses...

Bootstrap glyphicons show wrong icon

I have seen this happen while developing my site, sometimes my glyphicons don't render correctly and show different icons. I have recently got some reports of my shopping cart and search button...

How to force Apache 2.2 to send the full certificate chain?

We are using Apache 2.2.25 with mod_ssl in the reverse proxy mode using mod_proxy. It has a server certificate we use for testing purposes, issued by GoDaddy. There are 3 certificates in the...

REST Shopping cart

Can a shopping cart be implemented using REST architecture constraints? I would like to focus my question with respect to session state. In a typical MVC application implementing a shopping cart,...

PayPal Guest Checkout without paypal account

I have a prestashop site, with the official PayPal for Europe addon. I want my customers to be able to pay with their credit card without a paypal account. What I can see is that PayPal behaves...

Identifying and persisting guest users in Laravel

I am building an online store website as a side project with Laravel 5.3. My goal is to implement anonymous and authenticated shopping. Here are the Customer, Cart, and CartItem tables so far: //...

php google ads api - unauthorized_client

I'm using 'Google_Client' class to authenticate access to adwords api so: $REDIRECT_URI = 'http://localhost/GoogleAdwords/auth.php'; $client = new Google_Client(); $client->setApplicationName("App...

Single Sign On between Wordpress and a Custom Website

I am building an e-commerce website with Wordpress. And I have list of emails and names. My website need to be accessed only by people with those emails when they click on a link on another...

Working with nested maps using Stream API

My current approach exploiting Streams API in conjunction with forEach loop: public Map<String, Client> clientsWithMostPurchasesInEachCategory(Map<Client, Map<Product,Integer>> shopping) { ...

Google Pay PHP integration explanation

I want to integrate Google payments with my online shop and I am looking for any examples how to do it with PHP. I have already used javascript one and it was pretty simple. I was wondering what...

How to implement a sitemap.xml file for a single page app using Firebase?

I was reading Google's guidelines about SEO and I found this. Help Google find your content The first step to getting your site on Google is to be sure that Google can find it. The best way to do...

How to make loop command in discord.js?

I'm trying to make a discord.js bot that plays music and runs the looping command. I'm now stuck trying to use it as it's not working. My code: Server.js const http = require('http'); const...

Unable to connect VendHQ (POS) to WooCommerce (WP)

I have spent many days on trying to figure this out, and does it appears to be a common issue. I have read many other posts on the same issue. I have tried all the solutions that I could find,...

Relational Data Model for Double-Entry Accounting

Assume there is a bank, a large shop, etc, that wants the accounting to be done correctly, for both internal accounts, and keeping track of customer accounts. Rather than implementing that which...

Google Ads / Analytics / Tag Manager: E-Commerce transaction not set in relation to Ad Click

We have a problem with E-Commerce transactions sometimes not beeing set in relation to an ad click ("cpc"). They appear instead with the Channel/Medium "direct". This is a problem as we cannot...

Angular Shopping Cart App - Page needs to be refreshed for DOM to pick up changes

I am developing an online store for a client using Angular/Spring Boot. To keep things simple and to the point, I am storing the users shopping cart data in localStorage which is working fine....

Hexo cannot display "next" theme

Noob here. I want to build a personal blog using Hexo with theme next, but I met some problems (no problems with other themes, e.g. landscape). I typed hexo s -g Cmd line returns INFO Validating...

Error redirect when authen with IdentityServer4

After authentication in the client i get the error: Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler Message contains error: '', error_description: 'error_description is null',...

How to stop Stripe from over-writing client's session cookie after a successful purchase

Environment: Express, express-session, Stripe In the following simplified example when a user requests the home page express-session assigns the user a session cookie. Refreshing the page retains...

Changing permissions discord.js

Ok so I've been working on a bot that creates channel overrides using discord.js. I'm kind of new to discord.js but I checked the documentary and it seems that the correct method to use when...

Significant failure rate while using WebClient to make non-blocking REST calls

I'm writing application that scans one of online shops and it's looking for new offers there. I'm using official REST API that allows up to 9000 requests per second (per clientId) and I've been...

Domain and subdomain routing in NodeJS or ReactJs

General idea of the web page: domain.com : leads to login page for admin and seller. shop.domain.com : leads to the shop of the seller. Planning to use React.js as frontend and Nodejs (Express...

Preserving Source IP in NGINX Ingress Controller

We're running an NGINX Ingress Controller as the 'front door' to our EKS cluster. Our upstream apps need the client IP to be preserved, so I've had my ingress configmap configured to use the proxy...

How do i get the correct redirect url for my shopify app?

I am learning how to make Shopify apps right but I am in trouble because even after following every single line of code correctly I can't seem to figure out what I have done wrong. Error - It says...