Hi,
I have thoroughly reviewed the forum and found these two threads which were very helpful but I need some further explanation please, if possible. http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=85957 http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=5&t=16031
I will give you some screenshots and a URL to hopefully explain clearly what I have done and what I am trying to do. this might belong in how-to, I hope I picked right forum.
I am trying to offer a simple single page form to submit to paypal using paypal redirect. there are only a few fields and the main thing is the radio buttons which choose {amount} as either a one time payment of 1000 or 6 monthly payments of 200 each.



this is the test site:
http://accounthost.org/samples/Joomla_3.1.1/index.php/subscribe
If you could give me any advice on what to do there for the 6 recurring payments part I'd really appreciate it. I tried adding a custom code block before the paypal redirect but I am not sure what I have to do to get it to send the installment payment, right now of course it just goes like it is a single payment.
I started by looking here, https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_NVP/ but I wonder if you can offer any advice, if I missed some forum posts (doubtful - I looked very hard :mrgreen: ), or if this is even do-able? should I add a custom code block before the paypal call and do some re-writing on the 200 result?
also, on another note, I was hoping to wrap each radio object like: [label input][label input] with divs or spans to add the descriptive background images individually. I believe I can do this in advanced mode in the actual form once done with wizard but is there anywhere I could do that in a file to make it that way across all radio button sets? I'm sure you see the usefuleness of that in this example.
thanks for any help you can offer. I am using Chronoforms_V4_stable_J3.0 on a 3.1.1 Joomla site.
I have thoroughly reviewed the forum and found these two threads which were very helpful but I need some further explanation please, if possible. http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=85957 http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=5&t=16031
I will give you some screenshots and a URL to hopefully explain clearly what I have done and what I am trying to do. this might belong in how-to, I hope I picked right forum.
I am trying to offer a simple single page form to submit to paypal using paypal redirect. there are only a few fields and the main thing is the radio buttons which choose {amount} as either a one time payment of 1000 or 6 monthly payments of 200 each.



this is the test site:
http://accounthost.org/samples/Joomla_3.1.1/index.php/subscribe
If you could give me any advice on what to do there for the 6 recurring payments part I'd really appreciate it. I tried adding a custom code block before the paypal redirect but I am not sure what I have to do to get it to send the installment payment, right now of course it just goes like it is a single payment.
I started by looking here, https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_NVP/ but I wonder if you can offer any advice, if I missed some forum posts (doubtful - I looked very hard :mrgreen: ), or if this is even do-able? should I add a custom code block before the paypal call and do some re-writing on the 200 result?
also, on another note, I was hoping to wrap each radio object like: [label input][label input] with divs or spans to add the descriptive background images individually. I believe I can do this in advanced mode in the actual form once done with wizard but is there anywhere I could do that in a file to make it that way across all radio button sets? I'm sure you see the usefuleness of that in this example.
thanks for any help you can offer. I am using Chronoforms_V4_stable_J3.0 on a 3.1.1 Joomla site.
Hi webdev,
I'm not sure if it is possible to set up the PayPal ReDirect action to handle a subscription payment (you could ask Max through the Contact Us link above as he wrote the action). If you don't need IPN then you can do it through the standard ReDirect URL + ReDirect User actions where you have more control over the parameters used.
Bob
I'm not sure if it is possible to set up the PayPal ReDirect action to handle a subscription payment (you could ask Max through the Contact Us link above as he wrote the action). If you don't need IPN then you can do it through the standard ReDirect URL + ReDirect User actions where you have more control over the parameters used.
Bob
thanks for your reply.
can you think of some way to wrap the radio buttons though? is that more your area of expertise?
also, I noticed a typo in html_helper line 257 label. hope that helps.
thanks again.
can you think of some way to wrap the radio buttons though? is that more your area of expertise?
also, I noticed a typo in html_helper line 257 label. hope that helps.
thanks again.
Hi webdev,
I'm not clear what you need to do with the wrapping divs? Please see this FAQ which might help?
I also don't see 'label' in line 257 of the helper file> What exactly is the typo you found?
Bob
I'm not clear what you need to do with the wrapping divs? Please see this FAQ which might help?
I also don't see 'label' in line 257 of the helper file> What exactly is the typo you found?
Bob
hi,
this is the line:
in my ftp it is 257 but in notepad++ it is line 129, so who knows, lol.
as to the radios I mean instead of this:
I would like it to be this, where each set is wrapped like this:
could you tell me is there somewhere I can make that edit myself?
thank you
this is the line:
$fieldoptions['before'] = '<lable class="ccms_form_label">'.$fieldoptions['label']['text'].'</label>';
in my ftp it is 257 but in notepad++ it is line 129, so who knows, lol.
as to the radios I mean instead of this:
<div style="float:left; clear:none;">
<input type="radio" name="" id="" title="" value="" class="" />
<label for="">Label 1</label>
<input type="radio" name="" id="" title="" value="" class="" />
<label for="">Label 2</label>
</div>
I would like it to be this, where each set is wrapped like this:
<div class="myClass1">
<input type="radio" name="" id="" title="" value="" class="" />
<label for="">Label 1</label>
</div>
<div class="myClass2">
<input type="radio" name="" id="" title="" value="" class="" />
<label for="">Label 2</label>
</div>
could you tell me is there somewhere I can make that edit myself?
thank you
Hi webdev,
I can see the typo on line 129 - fortunately that block of code has been commented out. The difference in line numbers will be because long lines are being wrapped and counted as more than one line in your ftp.
The radio input is built around line 448 of that file. You could edit the code there, but that might lead to problems with a future upgrade. Better solutions are to use JavaScript to re-format (as in the BootStrap example); or to use a Custom Element element to replace the Radio Box element.
Bob
I can see the typo on line 129 - fortunately that block of code has been commented out. The difference in line numbers will be because long lines are being wrapped and counted as more than one line in your ftp.
The radio input is built around line 448 of that file. You could edit the code there, but that might lead to problems with a future upgrade. Better solutions are to use JavaScript to re-format (as in the BootStrap example); or to use a Custom Element element to replace the Radio Box element.
Bob
This topic is locked and no more replies can be posted.