SMFHacks.com

SMF Store => Support => Topic started by: Xtreme4U2NV on April 12, 2008, 10:12:45 am

Title: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 10:12:45 am
SMF: 1.1.4
Portal: TinyPortal 0.93 I think (The latest)
SMF Store: 1.2

Okay, so originally I had the store set so when they made a purchase for a Select membership on my site, they had to fill in their Real Name, and Forum Name.

The two optional fields were set to text, and that was their titles: Real Name, Forum Name.

And they worked great.

Well, recently I realized that their Real Name will show up in the PayPal transaction, and their Forum Name will show up in the Transactions page in the Store Configuration.  So, seeing as I also needed them to fill in their Car Info, and their Decal Colour Choice, I changed the two optional fields.

I left the first one as a text field, renaming it to Car Year/Model/Colour, and changed the second to a drop down menu, for the Decal Choice, with 10 options (the max):

Please Choose
Black
White
Blue
Yellow
Silver
Gunmetal
Sparkling Pink (Sold Out)
Chrome
Red

Well, ever since I changed the two optional fields, they have stopped working.  I did the sandbox testing for hours, well, maybe only 2 and a half hours.  In the end, I even reverted back to the way it originally was, Real Name and Forum Name text fields, and they still do not work.

Would it have anything to do with the Field being named Car Year/Model/Colour (with the /'s) or when they respond, the majority of people use SS/SC when describing their car.  Can you have a / in your answer?

That still doesn't explain why the drop down menu option isn't working.

Any help would be appreciated.  I will be watching this post, and have them sent to my BlackBerry, so if you need any information to help find the solution, I can answer ASAP.

Thank you
Title: Re: Custom Fields Disappeared
Post by: SMFHacks on April 12, 2008, 03:34:31 pm
Are the custom fields displayed on the product/item page?

If they are not please provide a link to the page where they are not showing.

It could be do to the / I would try changing maybe to a , instead.


What happens when you revert to the original field names? Are the transactions appearing inside the Store's transactions area?
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 03:39:16 pm
Yes the custom fields are displayed.

I also did to the , instead of the / but it still didn't work

Like I said, after the NEW fields didn't work, I tried to revert to the old ones that originally DID work, but now they don't either.

And no, when I check the transactions page, they no longer appear there either
Title: Re: Custom Fields Disappeared
Post by: SMFHacks on April 12, 2008, 04:11:11 pm
Are you getting any failed notifications in your email?

I would try under payment modules to "Disable IPN price check security" and see if that makes a difference in sandbox mode.
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 04:13:24 pm
Are you getting any failed notifications in your email?

I would try under payment modules to "Disable IPN price check security" and see if that makes a difference in sandbox mode.

I do know that now since I have tried to edit everything and put it in Sandbox mode, I am getting emails saying "INVALID iPN DETECTED" and the body of the email says:

INVALID
 cmd=_notify-validate

I never got that before I tried to use it in sandbox mode this morning
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 04:14:58 pm
I do know that if I go to www.mysite.com/community/storeipn.php, and hit go, i instantly get that email, but the page that comes up itself only says verified on it
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 04:16:40 pm
Well, I tried what you suggested, "Disable IPN price check security", and I still get the INVALID iPN email
Title: Re: Custom Fields Disappeared
Post by: SMFHacks on April 12, 2008, 04:39:43 pm
You shouldn't get the email if you have sandbox enabled.
Attached a changed storeipn.php file


Make sure file permission is at least 755
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 04:42:37 pm
You shouldn't get the email if you have sandbox enabled.
Attached a changed storeipn.php file

I am no longer in Sandbox mode.  And I only got that email AFTER I got OUT of Sandbox mode.

Like I said before, I put it in to Sandbox mode, couldn't do what I needed to do, and reverted it back to the way it originally was when it WAS working.

I will install the new storeipn, and see what happens
Title: Re: Custom Fields Disappeared
Post by: SMFHacks on April 12, 2008, 04:45:25 pm
Are you getting the "INVALID IPN DETECTED" email or a different one there a couple different ones that you can get
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 04:47:12 pm
Yes, ever since I put it in Sandbox mode, then took it out of sandbox mode, I have been getting the "INVALID IPN DETECTED" emails
Title: Re: Custom Fields Disappeared
Post by: SMFHacks on April 12, 2008, 05:05:39 pm
What does the body of the email say exactly copied and paste please. Because that has the request information.
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 05:07:17 pm
What does the body of the email say exactly copied and paste please. Because that has the request information.

I pasted it already a few posts back


the body of the email is as follows

INVALID
 cmd=_notify-validate
Title: Re: Custom Fields Disappeared
Post by: SMFHacks on April 12, 2008, 05:19:32 pm
hmm haven't seen that happen before only in the sandbox mode.

Does it happen for all items or just this item?
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 05:30:57 pm
hmm haven't seen that happen before only in the sandbox mode.

Does it happen for all items or just this item?

I had no idea it was item specific.  I know I would get it if I typed www.mysite.com/community/storeipn.php right now in my address bar
Title: Re: Custom Fields Disappeared
Post by: SMFHacks on April 12, 2008, 05:40:08 pm
It could be item specific I haven't seen that error happen before with out sandbox mode and did read sometimes it could be caused by different variables that are passed to paypal.

Yeah that error when entering the ipn file in the address bar will occur since no transaction information was passed.
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 05:45:32 pm
Okay, so with the new storeipn.php file, I should be able to edit the custom fields and have them work now?
Title: Re: Custom Fields Disappeared
Post by: SMFHacks on April 12, 2008, 06:21:10 pm
I thought the issue was the invalid ipn problem when placing an order and nothing appearing in the transaction logs.
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 07:32:42 pm
I thought the issue was the invalid ipn problem when placing an order and nothing appearing in the transaction logs.

That very well might be it, but why would I get it out of no where for no reason?
Title: Re: Custom Fields Disappeared
Post by: SMFHacks on April 12, 2008, 09:40:14 pm
Could be a change in the hosting environment or PayPal broke something on their side.
Title: Re: Custom Fields Disappeared
Post by: Xtreme4U2NV on April 12, 2008, 09:45:56 pm
okay, well, i just got in the door, so I will be editing things soon, and letting you know what the results are