Connecting Tech Pros Worldwide Help | Site Map

How do i use paypal.cfc for recurring payment?

  #1  
Old January 21st, 2009, 07:14 AM
Newbie
 
Join Date: Dec 2008
Posts: 29
Is it possible recurring payment using PayPal Pro?
How to use paypal.cfc?
Is paypal java sdk needed for this?
can anyone gve detail description to applay paypal in coldfusion?

Last edited by CFFAN; January 21st, 2009 at 07:15 AM. Reason: hj
  #2  
Old January 21st, 2009, 06:49 PM
KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,097

re: How do i use paypal.cfc for recurring payment?


Quote:
Originally Posted by CFFAN View Post
Is it possible recurring payment using PayPal Pro?
How to use paypal.cfc?
Is paypal java sdk needed for this?
can anyone gve detail description to applay paypal in coldfusion?
Wrong forum. I assume you want to ask in the coldfusion forum.
  #3  
Old January 22nd, 2009, 04:04 AM
Newbie
 
Join Date: Dec 2008
Posts: 29

re: How do i use paypal.cfc for recurring payment?


yes but i didn't see new thread button in coldfusion............
  #4  
Old January 22nd, 2009, 05:10 AM
KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,097

re: How do i use paypal.cfc for recurring payment?


I see it "New Thread". I reported your post yesterday and thought it would have been moved to the coldfusion forum, but I guess no moderators are on the job.
  #5  
Old January 22nd, 2009, 12:18 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


Quote:
Originally Posted by CFFAN View Post
yes but i didn't see new thread button in coldfusion............
It's in the Answers section.
  #6  
Old January 22nd, 2009, 12:19 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


Quote:
Originally Posted by CFFAN View Post
Is it possible recurring payment using PayPal Pro?
How to use paypal.cfc?
Is paypal java sdk needed for this?
can anyone gve detail description to applay paypal in coldfusion?
Which cfc are you referring to? Also, what exactly do you want to do in Paypal?
  #7  
Old January 22nd, 2009, 12:44 PM
Newbie
 
Join Date: Dec 2008
Posts: 29

re: How do i use paypal.cfc for recurring payment?


i want to do paypal recurring in my site. how can i start?Me want to do in coldfusion.
  #8  
Old January 22nd, 2009, 06:26 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


Is this what you're talking about?
  #9  
Old February 6th, 2009, 05:19 AM
Newbie
 
Join Date: Dec 2008
Posts: 29

re: How do i use paypal.cfc for recurring payment?


how can i create createrecurringpayymentprofile? How to implement recurring using website payment pro in my website?
  #10  
Old February 7th, 2009, 12:39 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


Post what you've managed so far even if it's what you've researched and tried.

PS. merged threads. Please don't double post your questions.
  #11  
Old February 9th, 2009, 04:02 AM
Newbie
 
Join Date: Dec 2008
Posts: 29

re: How do i use paypal.cfc for recurring payment?


I wnd recurring payment in my coldfusion site. for that i have to create profile for users...how can i do in coldfusion?how can i get acknolgmt when each payment done through recurring..?
  #12  
Old February 9th, 2009, 08:46 AM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


You still haven't posted what you've done so far.

If you haven't yet started, check the APIs.
  #13  
Old February 9th, 2009, 08:50 AM
Newbie
 
Join Date: Dec 2008
Posts: 29

re: How do i use paypal.cfc for recurring payment?


Can i download API (coldfusion) from any sites?
  #14  
Old February 9th, 2009, 09:34 AM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


I'm not sure, you'd have to look. However, you may find this useful.
  #15  
Old February 9th, 2009, 09:40 AM
Newbie
 
Join Date: Dec 2008
Posts: 29

re: How do i use paypal.cfc for recurring payment?


I read the link you send but i didn't find API (coldfusion ) downloads in that pages...........i saw java and php etc.could you please help?
  #16  
Old February 9th, 2009, 10:12 AM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


You'd have to convert the Java or PHP to Coldfusion. Since there's no sample code for Coldfusion, you'll have to write it yourself using the guide/documentation.
  #17  
Old February 9th, 2009, 11:13 AM
Newbie
 
Join Date: Dec 2008
Posts: 29

re: How do i use paypal.cfc for recurring payment?


Ok thanks........one more doubt regarding recurring payment..if a user subscribe the payment done automatically ..the acknowlegment will be IPN and email..how can i test the IPN is valid in sanbox test environment..i am working in internal network system..so which url i can provide for testing?
  #18  
Old February 9th, 2009, 11:52 AM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


A quick search produced this.
  #19  
Old February 9th, 2009, 01:39 PM
Newbie
 
Join Date: Dec 2008
Posts: 29

re: How do i use paypal.cfc for recurring payment?


ok thanks.
Expand|Select|Wrap|Line Numbers
  1. CFSET str="cmd=_notify-validate">
  2. <!---<CFLOOP INDEX="TheField" list="#Form.FieldNames#">
  3. <CFSET str = str & "&#LCase(TheField)#=#URLEncodedFormat(Form[TheField])#">
  4. </CFLOOP>--->
  5.  
  6. <CFIF IsDefined("FORM.payment_date")>
  7. <CFSET str = str & "&payment_date=#URLEncodedFormat(Form.payment_date)#">
  8. </CFIF>
  9. <CFIF IsDefined("FORM.subscr_date")>
  10. <CFSET str = str & "&subscr_date=#URLEncodedFormat(Form.subscr_date)#">
  11. </CFIF>
  12.  
  13. <!-- post back to PayPal system to validate -->
  14. <CFHTTP URL="https://www.paypal.com/cgi-bin/webscr?#str#"
  15. " METHOD="GET" RESOLVEURL="false">
  16. </CFHTTP>
  17.  
  18. <!-- assign posted variables to local variables -->
  19. <CFSET item_name=FORM.item_name>
  20. <CFSET payment_status=FORM.payment_status>
  21. <CFSET payment_amount=FORM.mc_gross>
  22. <CFSET payment_currency=FORM.mc_currency>
  23. <CFSET txn_id=FORM.txn_id>
  24. <CFSET receiver_email=FORM.receiver_email>
  25. <CFSET payer_email=FORM.payer_email>
  26. <CFIF IsDefined("FORM.item_number")>
  27. <CFSET item_number=FORM.item_number>
  28. </CFIF>
  29.  
  30. <!-- check notification validation -->
  31. <CFIF CFHTTP.FileContent  is "VERIFIED">
  32. <!-- check that payment_status=Completed -->
  33. <!-- check that txn_id has not been previously processed -->
  34. <!-- check that receiver_email is your Primary PayPal email -->
  35. <!-- check that payment_amount/payment_currency are correct -->
  36. <!-- process payment -->verify
  37. <CFFILE action="append" file="C:\Inetpub\wwwroot\cf_nvp_samples\verify.txt" output="#str#">
  38. </CFFILE>
  39.  
  40. <CFFILE action="append" file="C:\Inetpub\wwwroot\cf_nvp_samples\verify.txt" output="#CFHTTP.FileContent#">
  41. </CFFILE>
  42.  
  43. <CFELSEIF #CFHTTP.FileContent# is "INVALID">
  44. INVALID
  45. <!-- log for investigation -->
  46. <CFFILE action="append" file="C:\Inetpub\wwwroot\cf_nvp_samples\invalid.txt" output="#str#">
  47. </CFFILE>
  48.  
  49. <CFFILE action="append" file="C:\Inetpub\wwwroot\cf_nvp_samples\invalid.txt" output="#CFHTTP.FileContent#">
  50. </CFFILE>
  51. <CFELSE>
  52. <!-- error -->
  53. </CFIF>

i used this for processing IPN.......bt i want to test this code in local site ...how can i get IPN for test this??

Last edited by acoder; February 9th, 2009 at 02:33 PM. Reason: Changed [quote] to [code] tags
  #20  
Old February 9th, 2009, 02:34 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


Does it work with the sandbox? Even with a local site, as long as you have access to the Internet, the code should be the same.
  #21  
Old April 28th, 2009, 10:15 PM
Newbie
 
Join Date: Apr 2009
Posts: 2

re: How do i use paypal.cfc for recurring payment?


Is the recurring payment thing working in your site?I am also using coldfusion and want to do recurring payment.Please provide me some sample if you can
thanks
  #22  
Old April 29th, 2009, 10:37 AM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


Hi jasminkaur, welcome to Bytes! :)

Have you tried the code/links already posted?
  #23  
Old April 29th, 2009, 01:51 PM
Newbie
 
Join Date: Apr 2009
Posts: 2

re: How do i use paypal.cfc for recurring payment?


thanks for the reply,could you please give me the links or something?I am really not getting what to do and where to start?I am working in coldfusion.
i have sucessfully done the subscription thing,but not getting how to do recurring payment.Please help me on this.
Thanks
jasmine
  #24  
Old April 30th, 2009, 11:10 AM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

re: How do i use paypal.cfc for recurring payment?


Check out post nos. 12 and 14 in this thread for the API and guide to handling recurring payments.
Reply