Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Integrating E-Junkie with Aquatic Prime or Shine



mindersoftworks
member
Posts: 3


I'm trying to get E-Junkie's notifications to work with my backend and I can't seem to get it working. (And yes, I've read the documentation page "Integrating E-junkie With 3rd-Party & Custom Services": http://www.e-junkie.com/ej/help.integration.htm)

My software application is using the open source Aquatic Prime framework for registration (http://www.aquaticmac.com). The long and short of it is that the Aquatic Prime PHP code accepts an IPN notification, then churns out a secure license file which gets emailed to the user. Shine (http://clickontyler.com/blog/2009/08/shine-an-indie-mac-dashboard) implements the Aquatic Prime stuff and adds a bunch of other features to it.



I have my E-Junkie account set up to send the Payment Variable Information to the correct URL. I've gotten E-Junkie properly implemented on my website and my server logs show a 200 response from my server when placing an order, so I know that E-Junkie is working properly. I can manually get my backend to send off a valid license file, so I know the PHP email is working. I can't, however, get the E-Junkie notification to trigger the license generation code automatically.

Does anyone have any experience integrating E-Junkie with Aquatic Prime or Shine that can point me in the right direction?


#
POSTED ON: September 2, 2009 @ 09:20 GMT -7
MODIFIED ON: September 2, 2009 @ 10:14 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4354


Offhand, I can think of two reasons your registration script might not accept our IPN-style Integration submissions: either it's trying/expecting to validate the IPN with PayPal (which would fail since we are not PayPal, and we already validate the original IPN with PayPal in the first place anyway), or it may be getting confused by the extra fields we add to the basic IPN data set, to pass certain order data we collect that PayPal does not.

I would suggest sending my speculations above to the Aquatic Prime tech support staff, along with a link to our Integration page, for them to consider (or just send them a link to this forum thread). They might be able to provide you with a modified PHP script, or give instructions for modifying it yourself, to workaround the issues I described or any other issues they may identify about using our Integration with their script.


#
POSTED ON: September 2, 2009 @ 14:38 GMT -7




mindersoftworks
member
Posts: 3


Bingo, that was it. The provided PHP script was checking back to PayPal for verification. Once I took that out and just had it work with the POST data from E-Junkie, it worked just fine


#
POSTED ON: September 3, 2009 @ 07:50 GMT -7




NimbleHost
member
Posts: 6


mindersoftworksBingo, that was it. The provided PHP script was checking back to PayPal for verification. Once I took that out and just had it work with the POST data from E-Junkie, it worked just fine


Hi mindersoftworks, first of all, thanks for asking this question as it's something I'm working on as well. I've removed the portion of the PHP script checking back to PayPal, and now need to start working on it to recognize the POST data from e-junkie and return the generated codes.

I'm wondering if you'd be willing to share how you did this. PHP is not my strong point, though with enough time I'm confident I'd eventually get it working. Would you consider posting a "template" of sorts? I think it would be a great help to many people (including myself).

Best,

Jonathan


#
POSTED ON: April 10, 2010 @ 02:38 GMT -7




mindersoftworks
member
Posts: 3


1) Grab the latest Aquatic Prime code from maccode.googlecode.com

2) In the file AquaticPrimepayPal.php remove lines 13-73 and replace them with the following:

// get POST data
$product = $_POST['item_name'];
$name = $_POST['first_name']." ".$_POST['last_name'];
$email = $_POST['payer_email'];
$amount = $_POST['mc_gross'];
$count = $_POST['quantity'];
// RFC 2822 formatted date
$timestamp = date("r", strtotime($_POST['payment_date']));
$transactionID = $_POST['txn_id'];

3) Profit! :)


#
POSTED ON: April 10, 2010 @ 09:33 GMT -7




NimbleHost
member
Posts: 6


mindersoftworks1) Grab the latest Aquatic Prime code from maccode.googlecode.com

2) In the file AquaticPrimepayPal.php remove lines 13-73 and replace them with the following:

...

3) Profit! :)


Many thanks!! This was a great help to get everything working. Appreciate your generosity~

Best,

Jonathan
NimbleHost.com


#
POSTED ON: April 11, 2010 @ 07:21 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam