File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,8 @@ function wpt_form_data() {
338338 if ($ currency == "" ) {$ currency = 'NGN ' ;}
339339 // Echo out the field
340340 echo '<p>Currency:</p> ' ;
341- echo '<input type="text" name="_currency" value=" ' . $ currency . '" class="widefat" /> ' ;
341+ echo '<input type="text" name="_currency" value=" ' . $ currency . '" class="widefat" />
342+ <small>We currently support only payments in Naira(NGN).</small> ' ;
342343 echo '<p>Amount to be paid(Set 0 for customer input):</p> ' ;
343344 echo '<input type="number" name="_amount" value=" ' . $ amount . '" class="widefat pf-number" /> ' ;
344345 echo '<p>Pay button Description:</p> ' ;
Original file line number Diff line number Diff line change @@ -165,11 +165,11 @@ function cf_shortcode($atts) {
165165 echo '<input type="hidden" name="pf-id" value=" ' . $ id . '" /> ' ;
166166 echo '<input type="hidden" name="pf-user_id" value=" ' . $ user_id . '" /> ' ;
167167 echo '<p> ' ;
168- echo 'Email(required)<br /> ' ;
168+ echo 'Email (required)<br /> ' ;
169169 echo '<input type="email" name="pf-pemail" class="form-control" id="pf-email" required/> ' ;
170170 echo '</p> ' ;
171171 echo '<p> ' ;
172- echo 'Amount <br /> ' ;
172+ echo 'Amount ( ' . $ currency . ' ) <br /> ' ;
173173 if ($ amount == 0 ) {
174174 echo '<input type="number" name="pf-amount" class="form-control pf-number" id="pf-amount" required/> ' ;
175175 }else {
You can’t perform that action at this time.
0 commit comments