#1  
Old 08-10-2011, 11:42 AM
Tyler Tolman's Avatar
Tyler Tolman Tyler Tolman is offline
 
Join Date: Aug 2011
Posts: 6
Default ION API issue

Hi

I'm trying to use ION API, so I filled URL of my callback script in API Settings. It works fine when I'm doing test endpoint from your interface, but it doesn't in real transaction.

Just for testing I added following debugging code:

PHP Code:
$handle fopen("request.txt""w");
$out print_r($_REQUEST,1);
fwrite($handle$out);
fclose($handle); 
When I'm doing test endpoint it creates text file with parameters so everything is ok, but when I'm buying something using shopping card it doesn't create file.

Could you please check what I'm doing wrong? Thanks!
Reply With Quote
  #2  
Old 08-10-2011, 01:14 PM
Qetzal's Avatar
Qetzal Qetzal is offline
Ecwid Team
 
Join Date: Sep 2009
Posts: 11,009
Default

Thank you for the report, investigating..
__________________
Eugene Kaznacheev
Ecwid Team

@ecwid | Facebook Page | Ecwid Knowledge Base
Reply With Quote
  #3  
Old 08-10-2011, 01:20 PM
Qetzal's Avatar
Qetzal Qetzal is offline
Ecwid Team
 
Join Date: Sep 2009
Posts: 11,009
Default

Tyler, we're going to place a test order in your store right now. Please ignore it.
__________________
Eugene Kaznacheev
Ecwid Team

@ecwid | Facebook Page | Ecwid Knowledge Base
Reply With Quote
  #4  
Old 08-10-2011, 01:40 PM
Qetzal's Avatar
Qetzal Qetzal is offline
Ecwid Team
 
Join Date: Sep 2009
Posts: 11,009
Default

We've placed a test order and the necessary notification has been sent successfully. So I assume that this problem is related to your script.

Please try to reproduce the problem using this service: http://www.postbin.org/
__________________
Eugene Kaznacheev
Ecwid Team

@ecwid | Facebook Page | Ecwid Knowledge Base
Reply With Quote
  #5  
Old 08-10-2011, 02:27 PM
Tyler Tolman's Avatar
Tyler Tolman Tyler Tolman is offline
 
Join Date: Aug 2011
Posts: 6
Default

It created request.txt file. I'll send details in your PM
Reply With Quote
  #6  
Old 08-10-2011, 02:36 PM
Qetzal's Avatar
Qetzal Qetzal is offline
Ecwid Team
 
Join Date: Sep 2009
Posts: 11,009
Default

Quote:
Originally Posted by Tyler Tolman View Post
It created request.txt file. I'll send details in your PM
Try these steps:

1. Set your endpoint URL to http://www.postbin.org/1c0fx2r

2. Place a new order.

3. Check the resutls on http://www.postbin.org/1c0fx2r
__________________
Eugene Kaznacheev
Ecwid Team

@ecwid | Facebook Page | Ecwid Knowledge Base
Reply With Quote
  #7  
Old 08-10-2011, 03:44 PM
Tyler Tolman's Avatar
Tyler Tolman Tyler Tolman is offline
 
Join Date: Aug 2011
Posts: 6
Default

There was no POST data when I purchased a product (real money transaction). I waited about 15 min. But when I used 'test endpoint' feature I got POST data appeared in postbin. Please take a look at this.
Reply With Quote
  #8  
Old 08-10-2011, 07:12 PM
Qetzal's Avatar
Qetzal Qetzal is offline
Ecwid Team
 
Join Date: Sep 2009
Posts: 11,009
Default

Quote:
Originally Posted by Tyler Tolman View Post
There was no POST data when I purchased a product (real money transaction). I waited about 15 min. But when I used 'test endpoint' feature I got POST data appeared in postbin. Please take a look at this.
Thank you for your help with this issue. Yes, we've reproduced the problem. For some reasons if the "Authorize.Net" payment method is used, then Ecwid doesn't send an ION message.

Our engineer is investigating the problem at this very moment. Meanwhile, please, report this issue to our bug-tracker and you will be able to track the ticket progress by email.
__________________
Eugene Kaznacheev
Ecwid Team

@ecwid | Facebook Page | Ecwid Knowledge Base
Reply With Quote
  #9  
Old 05-17-2012, 01:56 AM
Tosh Baird's Avatar
Tosh Baird Tosh Baird is offline
 
Join Date: May 2012
Posts: 6
Default

Hi there,

Sorry to resurrect an old thread but I am having a similar problem to the original poster, except that I am just trying to use DEMO PAYMENT method and still not getting the ION cannon firing.
I posted in the forums here:
http://www.ecwid.com/forums/showthread.php?t=12339

But any help you could give would be really great.
Thanks,

Tosh.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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. The time now is 10:14 AM.
Powered by vBulletin® Version 3.8.6. Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.