473,390 Members | 1,273 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,390 software developers and data experts.

How do i use paypal.cfc for recurring payment?

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?
Jan 21 '09 #1
23 6308
KevinADC
4,059 Expert 2GB
@CFFAN
Wrong forum. I assume you want to ask in the coldfusion forum.
Jan 21 '09 #2
CFFAN
29
yes but i didn't see new thread button in coldfusion............
Jan 22 '09 #3
KevinADC
4,059 Expert 2GB
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.
Jan 22 '09 #4
acoder
16,027 Expert Mod 8TB
@CFFAN
It's in the Answers section.
Jan 22 '09 #5
acoder
16,027 Expert Mod 8TB
@CFFAN
Which cfc are you referring to? Also, what exactly do you want to do in Paypal?
Jan 22 '09 #6
CFFAN
29
i want to do paypal recurring in my site. how can i start?Me want to do in coldfusion.
Jan 22 '09 #7
acoder
16,027 Expert Mod 8TB
Is this what you're talking about?
Jan 22 '09 #8
CFFAN
29
how can i create createrecurringpayymentprofile? How to implement recurring using website payment pro in my website?
Feb 6 '09 #9
acoder
16,027 Expert Mod 8TB
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.
Feb 7 '09 #10
CFFAN
29
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..?
Feb 9 '09 #11
acoder
16,027 Expert Mod 8TB
You still haven't posted what you've done so far.

If you haven't yet started, check the APIs.
Feb 9 '09 #12
CFFAN
29
Can i download API (coldfusion) from any sites?
Feb 9 '09 #13
acoder
16,027 Expert Mod 8TB
I'm not sure, you'd have to look. However, you may find this useful.
Feb 9 '09 #14
CFFAN
29
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?
Feb 9 '09 #15
acoder
16,027 Expert Mod 8TB
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.
Feb 9 '09 #16
CFFAN
29
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?
Feb 9 '09 #17
acoder
16,027 Expert Mod 8TB
A quick search produced this.
Feb 9 '09 #18
CFFAN
29
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??
Feb 9 '09 #19
acoder
16,027 Expert Mod 8TB
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.
Feb 9 '09 #20
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
Apr 28 '09 #21
acoder
16,027 Expert Mod 8TB
Hi jasminkaur, welcome to Bytes! :)

Have you tried the code/links already posted?
Apr 29 '09 #22
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
Apr 29 '09 #23
acoder
16,027 Expert Mod 8TB
Check out post nos. 12 and 14 in this thread for the API and guide to handling recurring payments.
Apr 30 '09 #24

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Stuart | last post by:
Hi, Can some one point me to a resource (if there is one) that describes if a value is sent back to my site from PAyPal once the payment has been process. The reason is that I want to perform...
5
by: Vinod | last post by:
Hi I am having a payment website which needs to be integrated, i am having the following code which is not working fine. I am having the following script and my notifyurl is not working i...
3
by: Stephane | last post by:
Hi, I'm trying to use PayPal and its Instant Payment Notification. In short, when a payment is made, PayPal send a post to my server and I post it back to PayPal. I'm using WebRequest to do...
4
by: Mark | last post by:
Hi all, I have an ASP.NET application which I use to call paypal. I pass in the success URL as http://www.somedomain.com/success.aspx I go right through the paypal process and I finally get...
7
by: Alan Silver | last post by:
Hello, I've just been looking at the free PayPal component from ComponentOne and am somewhat amazed how insecure it is. They include all the transaction details in plain text in the querystring,...
3
by: ykhamitkar | last post by:
Hi I tried the notify_url but it didnt work can you see if I am doing any error. or do i need to change any any setting in paypal site to activate notify_url Here is my html code for the form...
2
by: TriAdmin | last post by:
I am shopping for a payment processor for a subscription-based (recurring payment) website. I need it to be easy to implement and automate the recurring charges. I've review the details of...
0
by: yuwenwu006 | last post by:
5% paypal handling charge supports the online payment! PayPal cheap Guess wallet Dear friend welcome to shopping on www.Shoes-paypal.cn 1.5% paypal handling charge supports the online payment!...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.