Skip to content

Commit 1ed9ce5

Browse files
committed
currency description
1 parent 92c9f6a commit 1ed9ce5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

admin/class-paystack-forms-admin.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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>';

public/class-paystack-forms-public.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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{

0 commit comments

Comments
 (0)