|
|
|
Rank: Starting Member
Groups: Registered
Joined: 11/6/2004 Posts: 2 Location: ,
|
Hello,
I'm having a problem with updating my database after the IPN return is made. The error is an Invalid transaction returned.#CFHTTP.FileContent#
Why I would get a CFHTTP error when the IPN is returned to my site? I’m at my wits end I hope someone can help thanks.
This generates the error to the shopper
<cfelse>
<!--- log for investigation --->
<cfset logmess = "#DateStamp# Invalid transaction returned.#CFHTTP.FileContent#">
<cfset message = "There was a problem processing your order. Please contact technical support.">
<cfset attributes.step = "error">
</cfif>
This is the form I'm submitting to PayPal.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="rm" value="0">
<input type="hidden" name="bn" value="shop.MusicianMP3">
<input type="hidden" name="business" value="#GetSettings.CCMerchantPassword#">
<input type="hidden" name="item_name" value="#Request.AppSettings.SiteName# Order">
<input type="hidden" name="currency_code" value="#Left(LSCurrencyFormat(10, "international"),3)#">
<input type="hidden" name="amount" value="#Total#">
<input type="hidden" name="custom" value="#attributes.BasketNum#^#Session.User_ID#">
<cflock scope="SESSION" timeout="15" type="READONLY">
</cflock>
<input type="hidden" name="notify_url" value="#Request.AppSettings.StoreURL#index.cfm?fuseaction=shopping.checkout&step=ipn">
<input type="hidden" name="return" value="#Request.AppSettings.StoreURL#index.cfm?fuseaction=shopping.checkout&step=ipn&PayPalCust=Yes">
<input type="hidden" name="cancel_return" value="#Request.AppSettings.StoreURL#index.cfm?fuseaction=shopping.basket">
<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
MUSICIANMP3
|
|
|
|
|
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 11/6/2004 Posts: 2 Location: ,
|
My problem is posting back to the IPN. My server does not seem to be allowing me to use CFHTTP to post back to the IPN system after a successful transaction to my cart. I even tried posting with my firewall off, has anybody dealt with this issue using coldfusion MX?
Thanks,
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by MUSICIANMP3 [br]Hello,
I'm having a problem with updating my database after the IPN return is made. The error is an Invalid transaction returned.#CFHTTP.FileContent#
Why I would get a CFHTTP error when the IPN is returned to my site? I’m at my wits end I hope someone can help thanks.
This generates the error to the shopper
<cfelse> <!--- log for investigation ---> <cfset logmess = "#DateStamp# Invalid transaction returned.#CFHTTP.FileContent#"> <cfset message = "There was a problem processing your order. Please contact technical support."> <cfset attributes.step = "error">
</cfif>
This is the form I'm submitting to PayPal.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="rm" value="0"> <input type="hidden" name="bn" value="shop.MusicianMP3"> <input type="hidden" name="business" value="#GetSettings.CCMerchantPassword#"> <input type="hidden" name="item_name" value="#Request.AppSettings.SiteName# Order"> <input type="hidden" name="currency_code" value="#Left(LSCurrencyFormat(10, "international"),3)#"> <input type="hidden" name="amount" value="#Total#"> <input type="hidden" name="custom" value="#attributes.BasketNum#^#Session.User_ID#"> <cflock scope="SESSION" timeout="15" type="READONLY"> </cflock> <input type="hidden" name="notify_url" value="#Request.AppSettings.StoreURL#index.cfm?fuseaction=shopping.checkout&step=ipn"> <input type="hidden" name="return" value="#Request.AppSettings.StoreURL#index.cfm?fuseaction=shopping.checkout&step=ipn&PayPalCust=Yes"> <input type="hidden" name="cancel_return" value="#Request.AppSettings.StoreURL#index.cfm?fuseaction=shopping.basket"> <input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> </form>
MUSICIANMP3 <hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
MUSICIANMP3
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 12/6/2004 Posts: 3 Location: ,
|
i ran into the same problem with the CFHTTP command.. are you hosting the IPN yourself, or going through another company for hosting ?
-- Eric
|
|
|
|
Guest
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.271 seconds.