From: Sam White Date: Sun, 10 Mar 2024 18:12:03 +0000 (-0700) Subject: Remove information about payment and membership pack from join page. X-Git-Url: https://git.dalvak.com/public/?a=commitdiff_plain;h=9ea42cce5c2b17a6233b0a7b46899d1e949ccf30;p=ycra.git Remove information about payment and membership pack from join page. --- diff --git a/public_html/join.php b/public_html/join.php index 1c7cd29..0655667 100644 --- a/public_html/join.php +++ b/public_html/join.php @@ -39,15 +39,14 @@ function confirm_sent_data($data) {?> }?> - - +

Join the YCRA

-

Your PayPal payment has been cancelled and you will not be charged.

-

Thank you for paying for your YCRA membership via PayPal. Congratulations - on becoming a YCRA member!

} else $params = $_POST; } - else if (array_key_exists('paypal', $_POST)) { - if (validate_member_data($errors, $_POST)) - $errors[] = 'Error occurred redirecting to PayPal. Please try again.'; - $params = $_POST; - } - else if (array_key_exists('other-payment', $_POST)) { + else if (array_key_exists('confirm', $_POST)) { if (validate_member_data($errors, $_POST)) { store_member_data($_POST);?> -

We have received your data. You will become a member of the YCRA after - you have paid the membership fee of £15.00.

- -

If you wish to pay via bank transfer, our bank details are:

- - - - - - - - - -
Sort code:30-99-50
Account number:00235588
-

Please use YCRA as the - payment reference.

We have received your registration data.

Please use the form below to either join the YCRA, or express interest in joining the YCRA.

-

You will become a member of the YCRA if you enter your details below and - then subsequently pay for membership. The membership fee is currently - £15.00 for one year.

-

Please view our >privacy policy for information on how we will process your data.

@@ -134,10 +101,7 @@ function content() {?> text_field($params, 'surname', 'Surname', ['required'=>'']); email_field($params, 'email_address', 'Email address', ['required'=>'']);?> -

When you join the YCRA, we will send you a membership pack. We will need your address so that we can send this to you. -

Optionally, give your address below:

1])); - $fields = [ 'cmd' => '_cart', - 'business' => 'treasurer@ycra.org.uk', - 'upload' => '1', - 'currency_code' => 'GBP', - 'item_name_1' => 'One year YCRA membership', - 'item_number_1' => 'YCRA-MEM-1', - 'quantity_1' => 1, - 'amount_1' => 15, - 'no_shipping' => 2, - 'no_note' => 1, - 'cancel_return' => 'https://ycra.org.uk/join.php?paypal-cancel=1', - 'return' => 'https://ycra.org.uk/join.php?paypal-paid=1', - ]; - $url_fields = []; - foreach ($fields as $field=>$value) - $url_fields[] = urlencode($field) . '=' . urlencode($value); - - $url = 'https://www.paypal.com/cgi-bin/webscr?' . implode('&', $url_fields); - header("Location: $url"); - return; - } -} - require_once('includes/template.php'); ?>