Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-19-2012, 10:45 PM   PM User | #1
racer3
New to the CF scene

 
Join Date: Sep 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
racer3 is an unknown quantity at this point
Posting Data - re: 1shoppingcart - Help

First, I am new here and looking for some help. This is my first post, so I hope I make it detailed enough to get some responses.

I have an affiliate partner that is adding our offer on their back end. So, if the client is interested in our service they will click "yes" on the affiliates site and it will push their info (name, email, etc) to our auto-responder which we have with 1shoppingcart through a ajax posting code. But since these will all be coming from their server (same ip) they have run into issues while testing.

From them:

“The problem with our server posting to yours in the first place was that your server seems to have issues dealing with multiple posts from the same ip address. Specifically, we would get various responses back from you. Sometimes a redirect. Sometimes a javascript submit form. Sometimes a captcha. Thus, I believe that
your current code would basically treat our leads as suspicious.

What I think we need to make it work is to ensure that your server allows us to send multiple, different leads to you from the same ip address. We would not be echoing your response to the user at all. Rather, we would simply post the form and consider the transaction done. For this to work, your system would have to treat these multiple submissions as separate leads / clicks / sales / etc (even if
they are all from our server's same ip address). Is this an option??”

So, I reached out to 1shoppingcart support and got this:

“I would like to thank you for the time you have taken out of your day to write in about the issues that you have noticed within your account. With regards to your question about submitting information repeatedly from the same IP address.

Unfortunately there really is no alternative option for this issue. It is a system security feature in-place to limit the number of submissions from a single IP. There is not work around that would allow for a White-listed IP to submit information multiple time.

If you have any further questions please feel free to reply back and I would be happy to clear anything up.

Kind Regards”

Is there ANY workaround this? A way to mask their IP? Or any work around? I am clueless and really need to make this work. Any help would be GRAETLY appreciated.
racer3 is offline   Reply With Quote
Old 09-20-2012, 12:31 AM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,248
Thanks: 59
Thanked 3,999 Times in 3,968 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Even if there is an answer--and I'm not sure there is--it wouldn't have anything to do with JavaScript. The only way to do any reasonable kind or amount of "spoofing" is with server-side code.

The obvious answer is for you to develop your own server-side system that you would use in place of 1shoppingcart.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 09-21-2012, 11:53 PM   PM User | #3
1SCguy
New to the CF scene

 
Join Date: Sep 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
1SCguy is an unknown quantity at this point
A Possible Solution or Two

Quote:
Originally Posted by racer3 View Post
First, I am new here and looking for some help. This is my first post, so I hope I make it detailed enough to get some responses.

I have an affiliate partner that is adding our offer on their back end. So, if the client is interested in our service they will click "yes" on the affiliates site and it will push their info (name, email, etc) to our auto-responder which we have with 1shoppingcart through a ajax posting code. But since these will all be coming from their server (same ip) they have run into issues while testing.

From them:

“The problem with our server posting to yours in the first place was that your server seems to have issues dealing with multiple posts from the same ip address. Specifically, we would get various responses back from you. Sometimes a redirect. Sometimes a javascript submit form. Sometimes a captcha. Thus, I believe that
your current code would basically treat our leads as suspicious.

What I think we need to make it work is to ensure that your server allows us to send multiple, different leads to you from the same ip address. We would not be echoing your response to the user at all. Rather, we would simply post the form and consider the transaction done. For this to work, your system would have to treat these multiple submissions as separate leads / clicks / sales / etc (even if
they are all from our server's same ip address). Is this an option??”

So, I reached out to 1shoppingcart support and got this:

“I would like to thank you for the time you have taken out of your day to write in about the issues that you have noticed within your account. With regards to your question about submitting information repeatedly from the same IP address.

Unfortunately there really is no alternative option for this issue. It is a system security feature in-place to limit the number of submissions from a single IP. There is not work around that would allow for a White-listed IP to submit information multiple time.

If you have any further questions please feel free to reply back and I would be happy to clear anything up.

Kind Regards”

Is there ANY workaround this? A way to mask their IP? Or any work around? I am clueless and really need to make this work. Any help would be GRAETLY appreciated.
Racer3,


Although not explicity stated, I can see from your post that your affiliate is using an API/jquery script method to auto populate the sign in form for the AR. This is not possible, as previously stated by that support rep due to the following two security limitations:

1. The 1SC API is read only and data cannot be written to the cart in any way using an API integration that is not already approved in the system (i.e. Shipping Carriers, CC processors, certain other things, etc).

2. The reason why that security limit is imposed is to prevent fraud/spamsters from being able to generate a super fast mailing list. This is also part of the reason why contact imports take 24 hours and must undergo approval before submission.


Fortunately, I can provide you with two alternatives to get around this. Neither are ideal, but they will suit your needs here. Also, this shouldn't require extensive development costs, (hopefully).


Firstly:

Your affiliate can simply have the customer initiate the form script from their own machine (aka their own IP address) or they can have the customer fill out the form automatically. This would require interaction from the client, but would eliminate the issue of multiple IP submits.

Secondly:


Your affiliate can create a system for automatically importing the contact details for their leads into one big CSV file. At the end of each day, that file could be submitted automatically to the merchant (you) and then simply imported into the system. Since the file would be preformatted, there would be no doctoring or adjustments required. This would require your affiliate to develop a method for autopopulating those fields, but I suspect that should be entirely doable.

Only downside there is that you must initate the contact upload (no way to automate the import submission) and specify the AR that you would like the imported contacts to be started on. This also assumes that each of the submitted leads are being subscribed to the same AR.


Please feel free to let me know if you have any questions or need more explanation.
1SCguy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:26 AM.


Advertisement
Log in to turn off these ads.