In creating an order management system for Wordpress (Yes I am aware of FoxyShop and Order Desk), which includes Single Sign On with FC, I have the requirement of creating FC passwords with phpass hash to match WP.
The data posted to the datafeed url in the FoxyData POST variable contains the user's pasword after having been processes via phpass. In many cases, this includes the inclusion of characters such as decimals and dollar signs. When parsing the xml to retreive the customer_password value (among many other fields), I am finding that PHP is treating passwords with dollar signs in them as empty variables, up untli the point when they run into a decimal/period.
Thereby a password that Foxy is outputting as $P$BmkkB6LIcyUflD9A.ReYrWN92wuYwe0 is being interpreted by my PHP as: $empty_variable . $empty_variable . '.ReYrWN92wuYwe0'.
In discussing with @brett
, he mentioned that my data is coming in as a "heredoc" rather than a "nowdoc". However, try as I might to manipulate and hack at the FoxyData, I can't seem to get it to the point of parsing data from any node after the instance of a dollar sign.
I've come close to the human limits of frustration before spontaneous combustion with this issue and I'm hoping that someone ( @sparkweb
perhaps) has run into this in the past and has found a solution. Any and all help appreciated as always.