Dangerous Prototypes

Dirty Services => DirtyPCBs support => Topic started by: kliment on October 12, 2016, 12:44:21 pm

Title: New site PCB price weirdness
Post by: kliment on October 12, 2016, 12:44:21 pm
Just tried ordering a PCB with the new site - I tried to order 10pcs of a 10.5x5.6cm PCB with ENIG and stencil. It showed the price as 55 on the order page, but when I added it to the cart the price suddenly went to 80. Any idea what's happening?
Title: Re: New site PCB price weirdness
Post by: TonyD on October 13, 2016, 01:25:26 pm
I just placed an order a few days ago and I didn't experience any weirdness like that.

Could it be postage & shipping being added to the PCB costs?
Title: Re: New site PCB price weirdness
Post by: ian on October 14, 2016, 04:51:29 pm
It could also be a bug in the price update backend. Something that stopped the price from being updated when you changed options. If anyone sees this again please let me know. There was a big bug with shipping, but that shouldn't effect this.
Title: Re: New site PCB price weirdness
Post by: trendy on October 19, 2016, 08:57:39 pm
Hey, i have big issues with the pricing. With every order (for test) i got another price :(  (same options)
Title: Re: New site PCB price weirdness
Post by: ian on October 26, 2016, 09:57:12 am
I dunno what to say ... What options, what site? Only real cause of this I can think of is laggy internet not getting quote updates promptly... Price is calculated on checkout and the value shown in cart or PayPal is the correct value.
Title: Re: New site PCB price weirdness
Post by: SpikedCola on November 10, 2016, 07:54:28 pm
Hey Ian,

I am having this issue as well, on the dev site only. The price in the cart is $25 higher than on the order page, if you include a steel stencil.

FR4 proto: 2 layers / 14.1x7.3cm / 1.6mm / ENIG / 1oz / Green / 10 / Stencil: Steel

On the dev site order page, the price I see is $66
In the cart, the price I see is $91
In PayPal, I see $91(+$10 shipping, so really $101)

Curiously, the "edit" feature shows the correct price (which is pretty cool! must be new, haven't noticed it before)

It specifically has to do with ordering a stencil - if I leave the stencil off, the price I see on the order page matches the cart.

This is a relatively recent issue. I ordered boards with stencils 4-5 months ago and things were totally normal. Then the next order I had this issue (maybe 2-3 months ago? I just used the old site)

I took a couple of screenshots to show the differences in price. I would include the images here, but don't want to be picked up by the spam filter. What's the best way of adding them? (I tried to post about this issue about a couple months ago, and I think I tripped the spam filter and got banned)
Title: Re: New site PCB price weirdness
Post by: ian on November 28, 2016, 01:02:01 pm
Thanks for the detailed report. I fixed it, but have not yet applied to the site. This has to do with handling of prices when Custom size is chosen and also with the handling of protopacks, I was blasting out those variables in a hack to make libraries more generic.
Title: Re: New site PCB price weirdness
Post by: SpikedCola on December 02, 2016, 12:46:13 am
Ian,

Thanks very much for taking the time to read my report & ultimately for fixing the issue.

DirtyPCBs (and the team that makes it all possible) is the best! :)

Cheers,
Jordan

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00922056560session_write_close ( )...(null):0
20.00952188136ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00952188912Database_MySQL->query( ).../DatabaseHandler.php:119
40.05442327632Database_MySQL->error( ).../Db-mysql.class.php:273