Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate param in PayTrace gateway #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion gateways/paytrace/do_transaction.php
Expand Up @@ -97,7 +97,7 @@ function espresso_process_paytrace($payment_data) {
$state = $_POST['state'];


$response = $cls_paytrace->do_transaction($amount_pd, $discount, $line_item, $cc, $csc, $exp_month, $exp_year, $csc, $bname, $baddress, $bcity, $state, $bzip, $email);
$response = $cls_paytrace->do_transaction($amount_pd, $discount, $line_item, $cc, $csc, $exp_month, $exp_year, $bname, $baddress, $bcity, $state, $bzip, $email);
if (!empty($response)) {
$payment_data['txn_details'] = serialize($response);
if (isset($response['status'])) {
Expand Down
2 changes: 1 addition & 1 deletion gateways/paytrace/paytrace.class.php
Expand Up @@ -46,7 +46,7 @@ function send_paytrace_api_request($param_list)
return $result;
}

function do_transaction($amount,$discount,$line_item,$cc,$csc,$exp_month,$exp_year,$csc,$bname="",$baddress="",$bcity="",$bstate="",$bzip="",$email="")
function do_transaction($amount,$discount,$line_item,$cc,$csc,$exp_month,$exp_year,$bname="",$baddress="",$bcity="",$bstate="",$bzip="",$email="")
{
$paytrace_settings = get_option('event_espresso_paytrace_settings');

Expand Down