How do i use paypal.cfc for recurring payment? | 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?
|  | Expert | | Join Date: Jan 2007 Location: Southern California USA
Posts: 4,091
| | | re: How do i use paypal.cfc for recurring payment? Quote:
Originally Posted by CFFAN 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.
| | 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............
|  | Expert | | Join Date: Jan 2007 Location: Southern California USA
Posts: 4,091
| | | 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.
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | re: How do i use paypal.cfc for recurring payment? Quote:
Originally Posted by CFFAN yes but i didn't see new thread button in coldfusion............ It's in the Answers section.
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | re: How do i use paypal.cfc for recurring payment? Quote:
Originally Posted by CFFAN 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?
| | 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.
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | re: How do i use paypal.cfc for recurring payment?
Is this what you're talking about?
| | 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?
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | 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.
| | 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..?
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | 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.
| | 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?
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | 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.
| | 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?
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | 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.
| | 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?
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | re: How do i use paypal.cfc for recurring payment?
A quick search produced this.
| | Newbie | | Join Date: Dec 2008
Posts: 29
| | | re: How do i use paypal.cfc for recurring payment?
ok thanks. - CFSET str="cmd=_notify-validate">
-
<!---<CFLOOP INDEX="TheField" list="#Form.FieldNames#">
-
<CFSET str = str & "&#LCase(TheField)#=#URLEncodedFormat(Form[TheField])#">
-
</CFLOOP>--->
-
-
<CFIF IsDefined("FORM.payment_date")>
-
<CFSET str = str & "&payment_date=#URLEncodedFormat(Form.payment_date)#">
-
</CFIF>
-
<CFIF IsDefined("FORM.subscr_date")>
-
<CFSET str = str & "&subscr_date=#URLEncodedFormat(Form.subscr_date)#">
-
</CFIF>
-
-
<!-- post back to PayPal system to validate -->
-
<CFHTTP URL="https://www.paypal.com/cgi-bin/webscr?#str#"
-
" METHOD="GET" RESOLVEURL="false">
-
</CFHTTP>
-
-
<!-- assign posted variables to local variables -->
-
<CFSET item_name=FORM.item_name>
-
<CFSET payment_status=FORM.payment_status>
-
<CFSET payment_amount=FORM.mc_gross>
-
<CFSET payment_currency=FORM.mc_currency>
-
<CFSET txn_id=FORM.txn_id>
-
<CFSET receiver_email=FORM.receiver_email>
-
<CFSET payer_email=FORM.payer_email>
-
<CFIF IsDefined("FORM.item_number")>
-
<CFSET item_number=FORM.item_number>
-
</CFIF>
-
-
<!-- check notification validation -->
-
<CFIF CFHTTP.FileContent is "VERIFIED">
-
<!-- check that payment_status=Completed -->
-
<!-- check that txn_id has not been previously processed -->
-
<!-- check that receiver_email is your Primary PayPal email -->
-
<!-- check that payment_amount/payment_currency are correct -->
-
<!-- process payment -->verify
-
<CFFILE action="append" file="C:\Inetpub\wwwroot\cf_nvp_samples\verify.txt" output="#str#">
-
</CFFILE>
-
-
<CFFILE action="append" file="C:\Inetpub\wwwroot\cf_nvp_samples\verify.txt" output="#CFHTTP.FileContent#">
-
</CFFILE>
-
-
<CFELSEIF #CFHTTP.FileContent# is "INVALID">
-
INVALID
-
<!-- log for investigation -->
-
<CFFILE action="append" file="C:\Inetpub\wwwroot\cf_nvp_samples\invalid.txt" output="#str#">
-
</CFFILE>
-
-
<CFFILE action="append" file="C:\Inetpub\wwwroot\cf_nvp_samples\invalid.txt" output="#CFHTTP.FileContent#">
-
</CFFILE>
-
<CFELSE>
-
<!-- error -->
-
</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??
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | 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.
| | 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
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | re: How do i use paypal.cfc for recurring payment?
Hi jasminkaur, welcome to Bytes! :)
Have you tried the code/links already posted?
| | 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
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,581
| | | 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.
|  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,501 network members.
|