Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
PhemcodeJay committed Nov 11, 2024
1 parent fd660b9 commit 5b56abb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
7 changes: 1 addition & 6 deletions pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -777,12 +777,7 @@ function updateTotalPrice(selectedPlan) {
});
</script>

<!-- HTML structure for displaying the details -->
<ul>
<li><strong>Bill Amount:</strong> <span id="bankAmountDisplay">$0.00</span></li>
<li><strong>Exchange Rate:</strong> <span id="Naira Equivalent">Loading...</span></li>
<li><strong>Total (NGN):</strong> <span id="totalAmountDisplay">Loading...</span></li>
</ul>


</body>
</html>
16 changes: 12 additions & 4 deletions pay2.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
session_start();
require 'config.php'; // Include your database configuration file

require __DIR__ . '/vendor/autoload.php'; // Include the Composer autoloader



use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
use PHPMailer\PHPMailer\SMTP;

// Define the plans and their corresponding prices for each cycle
$plans = [
'starter' => ['monthly' => 5],
Expand Down Expand Up @@ -331,7 +339,7 @@ function savePayment($amount, $method, $status, $extraData = []) {
/* Header Styling */
header {
background-color: lightgoldenrodyellow; /* Bright Blue */
color: lightgreen;
color: blue;
padding: 30px;
text-align: center;
}
Expand Down Expand Up @@ -411,16 +419,16 @@ function savePayment($amount, $method, $status, $extraData = []) {
}

.buy-btn:hover {
background-color: red;
background-color: blue;
}

.buy-btn.selected {
background-color: red; /* Keep the color red when selected */
background-color: blue; /* Keep the color red when selected */
}


.buy-btn:active {
background-color: red; /* Color stays on click */
background-color: blue; /* Color stays on click */
}


Expand Down
4 changes: 3 additions & 1 deletion sign-up.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
}

require __DIR__ . '/vendor/autoload.php'; // Include the Composer autoloader

require '../../PHPMailer/src/PHPMailer.php';
require '../../PHPMailer/src/SMTP.php';
require '../../PHPMailer/src/Exception.php';

use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
Expand Down

0 comments on commit 5b56abb

Please sign in to comment.