Page 1 of 10

Future store updates planned (backend)

Posted: Fri Apr 19, 2019 2:43 pm
by exxos
There is some new nonsense coming into play into very soon...

Strong Customer Authentication (SCA), a new rule coming into effect on September 14, 2019 as part of PSD2 regulation in Europe, will require changes to how your European customers authenticate online payments. Card payments will require a different user experience, namely 3D Secure, in order to meet SCA requirements. Transactions that don’t follow the new authentication guidelines may be declined by your customers’ banks.

So I plan to attempt to implement these changes in very small steps over the next few weeks or months.

The first thing to do will be updating the stripe libraries, where they assure me updating will not break the current install (We shall see). I have no planed date in mind when I will do this, but I will give people a heads up now about what is going on shortly (I may try and do this next week sometime).

The worst thing that can happen is payments will fail or the script will fail with errors. Though the first step in updating the libraries, does not require any actual code changes in my store scripts, so this should not break anything. However later there will be code changes needed in the payment system scripts which I coded, so this is likely the point where things will start going wrong. I will however try and do these updates on a backup copy first... But during those tests, my main web store will still have to be taken off-line as I need to set up my account into "test mode".

I will post news here when the changes are going on and done etc, then people can expect things to break.. As mentioned, I will be doing updates and changes in very small steps. So of course step one is to update the libraries, and then I will not do any more updates until I know the store is still running correctly after those updates.

Meanwhile, if anyone wants to order things in my store, they should probably do it sometime soon, as my store may be broken in the near future :lol: :roll:

Re: Future store updates planned (backend)

Posted: Fri Apr 19, 2019 3:01 pm
by PhilC
Ok boss, time to order my blitters

Re: Future store updates planned (backend)

Posted: Fri Apr 19, 2019 4:11 pm
by PaulJ
Harry looked a little hungry so I feed him.. :) :) :)

Re: Future store updates planned (backend)

Posted: Fri Apr 19, 2019 4:50 pm
by exxos
:bravo: Harry going hungry these past days as well :cheers:

Re: Future store updates planned (backend)

Posted: Thu May 09, 2019 10:07 am
by exxos
store updates have started.. the libraries should have updated, but they don't seem to have done.. so onto tech support.... :roll:

Re: Future store updates planned (backend)

Posted: Thu May 09, 2019 11:38 am
by exxos
Still waiting for a reply, but something has updated, but no idea what....

EDIT:

I have done a order myself and the store is still running.. but while 2 things say they have updated, the libs on my server still showing 2016 dates.. so waiting for stripe to confirm whats going on there....

Re: Future store updates planned (backend)

Posted: Thu May 09, 2019 2:26 pm
by exxos
okay so I got fed up waiting for a reply, I just downloaded all the libraries of paininthearsehub, and just dumped them on my server directly, so now the libraries should be all up-to-date... I just did another order and all seems fine still....

Stripe use a program called composer, which I'm not really sure what this is supposed to do, it just seems to update the version number in the stripe folder and does not seem to do anything else, this is supposed to be a automatic install of the things I think, but I have just given up with it, it is just a lot quicker and easier just to copy paste files across rather than these fancy auto installer things which don't work right :roll:

Re: Future store updates planned (backend)

Posted: Fri May 10, 2019 7:52 pm
by exxos
Finally got a reply from stripe. They seem to have no idea why the automatic update thing is not working.. Though I guess as it is a third-party tool, they do not really know much about it anyway.

However after dumping the updated files manually on my server ( which took like 5 seconds) They said my server is sending requests using the latest libraries, thankfully this first update seem to have gone basically okay.

I am dreading to think what mess things will get in when this 3-D secure thing gets added to my store.. I need to look into this a lot more before I consider making code changes to things...

Re: Future store updates planned (backend)

Posted: Thu May 30, 2019 7:35 pm
by exxos
I'm doing some changes to the database and store script.. so will likely be broken for the next hour or so :lol: 8-) :twisted:

EDIT:
OK changes are done .. mostly..

Most of this updates backend changes again. Basically as my girlfriend packs up the orders, she is getting confused what can ship in a jiffy bag, and what needs to be shipped in a box.. With so many items in my store now, the issue is just getting more complicated. As pointed out a couple of days ago by a forum member, things are getting shipped in jiffy bags which should not have been. So the new store changes are basically to tag "box or jiffy" into the database which is then emailed to her along with the order. Currently everything defaults to a box which is signed for ( which is basically standard practice currently anyway) Until I can make individual changes to each item in my store.

HOWEVER:

As talked about some time last year ( viewtopic.php?f=13&t=1295) , I was contemplating allowing some orders to be shipped without being signed for, which was basically deemed by everyone as a bad idea overall (and I agree since 50% of my packages I sold on evilbay went missing when not going signed for).

With the new system which is in place now, allows me to ship some items signed for or not. Basically these would be items under about £5 value (not decided yet). Simply because the default UK shipping is in a box signed for which is £5. obviously if someone wanted to order a switch (£1 value) the postage ends up being £5. I think this situation actually occurred a few days ago in fact. Of course the switch can go in a jiffy bag, and will be cheaper postage than a box. But of course, having this signed for as little pointless due to the value of the switch.. So I may add "not signed for" as a option in some cases.

Basically this means people could actually order low value items, such as switches or header pins without having to pay for a "signed for box". these would default to a "jiffy not signed for". There could be a scenario where some more may actually want the item signed for, but I think everyone would pretty much agree that is pointless, especially for any potential overseas orders whether post is just becomes silly for low value items.. But then again nobody is likely to order low value items overseas anyway. Items over about £10 value will automatically switch over to signed for, as I am not willing to take the risk of those orders going missing. Of course if I start getting aggravation from people about orders going missing then this system will just simply be revoked.

There is a scenario that, if someone orders 10 switches, Then it will default to a signed for package anyway as the value is £10. But there is also another scenario which I have not totally figured out yet, that those 10 switches would have to be shipped in a box.. Basically because if the jiffy bag went through the 20mm shipping slot.. And that was paid for at the post office, if those switches happen to go one on top of another, it would actually make it larger than 20mm and the shipping cost would actually be incorrect, and the buyer would actually get billed for incorrect postage paid (this has actually happened before). So there may have to be also a clause that if more than 2 items in total are ordered, will simply have to default back to a box again.. But I will look into that more in depth another time.

Please note this system is not fully set up yet. The first changes will just be simply to make sure there is no confusion over what can go in a jiffy bag, and what needs to go in a box during shipping. Working out items which can go "not signed for" will come in the future.

EDIT2:
UK,EU,USA POSTAGE has been adjusted to reflect a "large letter" (jiffy bag) price now on some items.. Mostly ROM chips.. anything with pins still goes in a box as before. Basically "jiffy post" is £2 cheaper for people now. All items still currently go signed for.

Re: Future store updates planned (backend)

Posted: Fri May 31, 2019 11:50 am
by DrF
Basically because if the jiffy bag went through the 20mm shipping slot.. And that was paid for at the post office, if those switches happen to go one on top of another, it would actually make it larger than 20mm and the shipping cost would actually be incorrect, and the buyer would actually get billed for incorrect postage paid (this has actually happened before)
Yeah that happens to me ALOT,causes right grief as the items vanish for a week while Royal Mail then fail to deliver the red card too :lol:
I tried taping things in place end to end and on bits of card, but the added time and cost of adding this stuff then trying to squeeze it down did not work out.

What about 2nd class large letter? you got more height to play with then 2.5cm, I think the problem is sending stuff as letters thats 0.5cm and nothing and I mean nothing ever makes it through :lol:

Then there's that upto 2kg small parcel thats 2nd class only £3.05 I think now, might be worth a look for smaller items lots of them in a box, cant be more than 16cm in height.

Adding recorded onto this stuff will drive it up.

All in all its a total pain in the ass, makes no sense and gets in the way of standardising things costing time and money in 1 go :lol: