--
Get 10% off of the regular price for this years CFCamp in Munich, Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-2016/discount/Lucee@cfcamp
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/f1df4647-461f-475e-b53b-c13078bc60f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/028a6675-1295-4084-b3ac-f8d3ec6585eb%40googlegroups.com.
What's in CGI.REQUEST_METHOD and getHTTPRequestData().method?
On Tue, Aug 2, 2016 at 1:15 PM, <computer...@gmail.com> wrote:
I'm trying to get paypal integration to work. In the past the method below worked if I remember correctly:
Paypal would make a request to an ipn.cfm page on the server as follows:
https://www.domain.tld/ipn/ipn.cfm?transaction_subject=Product Name&payment_date=15:32:25 Aug 01, 2016 PDT&txn_type=subscr_payment&subscr_id=I-123456789&last_name=Smith&residence_country=US&item_name=Product name&payment_gross=10.00&mc_currency=USD&business=someone@somedomain.tld&payment_type=instant&protection_eligibility=Ineligible&verify_sign=123456789&payer_status=unverified&payer_email=som...@somedomain.tld&txn_id=123456789&receiver_email=som...@somedomain.tld&first_name=John&payer_id=123456789&receiver_id=1234567898&payment_status=Completed&payment_fee=10.00&mc_fee=10.00&mc_gross=10.00&custom=123456789&charset=windows-1252¬ify_version=3.8&ipn_track_id=123456789
CGI Request method: GET
HTTP Request Data method: GET
They are both GET. I can't control what method Paypal uses as far as I know. Like it said before, this method worked.
On Tuesday, August 2, 2016 at 1:37:37 PM UTC-4, Joseph Gooch wrote:
What's in CGI.REQUEST_METHOD and getHTTPRequestData().method?
On Tue, Aug 2, 2016 at 1:15 PM, <computer...@gmail.com> wrote:
I'm trying to get paypal integration to work. In the past the method below worked if I remember correctly:
Paypal would make a request to an ipn.cfm page on the server as follows:
https://www.domain.tld/ipn/ipn.cfm?transaction_subject=Product Name&payment_date=15:32:25 Aug 01, 2016 PDT&txn_type=subscr_payment&subscr_id=I-123456789&last_name=Smith&residence_country=US&item_name=Product name&payment_gross=10.00&mc_currency=USD&business=som...@somedomain.tld&payment_type=instant&protection_eligibility=Ineligible&verify_sign=123456789&payer_status=unverified&payer_email=som...@somedomain.tld&txn_id=123456789&receiver_email=som...@somedomain.tld&first_name=John&payer_id=123456789&receiver_id=1234567898&payment_status=Completed&payment_fee=10.00&mc_fee=10.00&mc_gross=10.00&custom=123456789&charset=windows-1252¬ify_version=3.8&ipn_track_id=123456789
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/26c89a10-1450-4dc7-ac0c-e4682afdaf41%40googlegroups.com.
So if during GET getHTTPRequestData() is always empty, how would I get the submitted data by Paypal?
CGI Request method: GET
HTTP Request Data method: GET
They are both GET. I can't control what method Paypal uses as far as I know. Like it said before, this method worked.
On Tuesday, August 2, 2016 at 1:37:37 PM UTC-4, Joseph Gooch wrote:
What's in CGI.REQUEST_METHOD and getHTTPRequestData().method?
On Tue, Aug 2, 2016 at 1:15 PM, <computer...@gmail.com> wrote:
I'm trying to get paypal integration to work. In the past the method below worked if I remember correctly:
Paypal would make a request to an ipn.cfm page on the server as follows:
https://www.domain.tld/ipn/ipn.cfm?transaction_subject=Product Name&payment_date=15:32:25 Aug 01, 2016 PDT&txn_type=subscr_payment&subscr_id=I-123456789&last_name=Smith&residence_country=US&item_name=Product name&payment_gross=10.00&mc_currency=USD&business=som...@somedomain.tld&payment_type=instant&protection_eligibility=Ineligible&verify_sign=123456789&payer_status=unverified&payer_email=som...@somedomain.tld&txn_id=123456789&receiver_email=som...@somedomain.tld&first_name=John&payer_id=123456789&receiver_id=1234567898&payment_status=Completed&payment_fee=10.00&mc_fee=10.00&mc_gross=10.00&custom=123456789&charset=windows-1252¬ify_version=3.8&ipn_track_id=123456789
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/d44b1d50-7eff-4bde-a060-a9dc8c4e97fa%40googlegroups.com.
It worked... when?GetHTTPRequestData has never returned anything in content for a GET request. It can't. GET requests by HTTP definition do not have a content body.If you want the parameters passed from a GET request - see CGI.QUERY_STRINGIf you're going from samples here:Notice how all the variables are pulled from FORM scope. (assuming a POST request)You either need to modify your code to use a method to pull the appropriate data from the appropriate place, or determine why paypal is now using GET instead of POST.-G
On Tue, Aug 2, 2016 at 1:53 PM, <computer...@gmail.com> wrote:
CGI Request method: GET
HTTP Request Data method: GET
They are both GET. I can't control what method Paypal uses as far as I know. Like it said before, this method worked.
On Tuesday, August 2, 2016 at 1:37:37 PM UTC-4, Joseph Gooch wrote:
What's in CGI.REQUEST_METHOD and getHTTPRequestData().method?
On Tue, Aug 2, 2016 at 1:15 PM, <computer...@gmail.com> wrote:
I'm trying to get paypal integration to work. In the past the method below worked if I remember correctly:
Paypal would make a request to an ipn.cfm page on the server as follows:
https://www.domain.tld/ipn/ipn.cfm?transaction_subject=Product Name&payment_date=15:32:25 Aug 01, 2016 PDT&txn_type=subscr_payment&subscr_id=I-123456789&last_name=Smith&residence_country=US&item_name=Product name&payment_gross=10.00&mc_currency=USD&business=someone@somedomain.tld&payment_type=instant&protection_eligibility=Ineligible&verify_sign=123456789&payer_status=unverified&payer_email=som...@somedomain.tld&txn_id=123456789&receiver_email=som...@somedomain.tld&first_name=John&payer_id=123456789&receiver_id=1234567898&payment_status=Completed&payment_fee=10.00&mc_fee=10.00&mc_gross=10.00&custom=123456789&charset=windows-1252¬ify_version=3.8&ipn_track_id=123456789
<form method="post">
<input type="text" name="myvar" value="SomeValue" />
<input type="submit" name='Submit' value="Go" />
</form>
<cfdump var="#GetHTTPRequestData()#" />
<cfdump var="#GetHTTPRequestData().content#" />
box server start cfengine=lucee@5
https://www.domain.tld/ipn/ipn.cfm?transaction_subject=Product Name&payment_date=15:32:25 Aug 01, 2016 PDT&txn_type=subscr_payment&subscr_id=I-123456789&last_name=Smith&residence_country=US&item_name=Product name&payment_gross=10.00&mc_currency=USD&business=someone@somedomain.tld&payment_type=instant&protection_eligibility=Ineligible&verify_sign=123456789&payer_status=unverified&payer_email=someone@somedomain.tld&txn_id=123456789&receiver_email=someone@somedomain.tld&first_name=John&payer_id=123456789&receiver_id=1234567898&payment_status=Completed&payment_fee=10.00&mc_fee=10.00&mc_gross=10.00&custom=123456789&charset=windows-1252¬ify_version=3.8&ipn_track_id=123456789
--
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/86928d68-5953-43e6-9289-0fe30f4cd37a%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/A9E1B760-E66D-4FF5-916E-2FC5BE2A6C38%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
|
|
CONFIDENTIAL AND PRIVILEGED - This e-mail and any attachment is intended solely for the addressee, is strictly confidential and may also be subject to legal, professional or other privilege or may be protected by work product immunity or other legal rules. If you are not the addressee please do not read, print, re-transmit, store or act in reliance on it or any attachments. Instead, please email it back to the sender and then immediately permanently delete it. Pixl8 Interactive Ltd Registered in England. Registered number: 04336501. Registered office: 8 Spur Road, Cosham, Portsmouth, Hampshire, PO6 3EB |
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAC_5Voqsp3WvwnKY0z1Q3Jnp18wWO2H%3DwWO5h13dme9AbLKXFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.