customer_info); //obj
?>
form_fields_info); //array
?>
currency) . ' ' . esc_html( floatval( $bp_transaction->amount ) ); ?>
transaction_id); ?>
Copied!
source ), $allowed_sources ) ){
$td_source_image_url = strtolower( $bp_transaction->source ) == 'paypal' ? BETTER_PAYMENT_ASSETS . '/img/paypal.png' : BETTER_PAYMENT_ASSETS . "/img/{$bp_transaction->source}.svg";
$td_source_image_alt = strtolower( $bp_transaction->source ) == 'paypal' ? 'PayPal' : ucfirst( $bp_transaction->source );
}
?>
status ? sanitize_text_field($bp_transaction->status) : '';
$bp_helper_obj = new Helper();
$bp_transaction_status_color = $bp_helper_obj->get_color_by_transaction_status($bp_transaction_status_for_color, 'v2');
$td_status_btn_text_v2 = $bp_helper_obj->get_type_by_transaction_status($bp_transaction_status_for_color, 'v2');
$bp_transaction_status = $bp_transaction->status ? sanitize_text_field($bp_transaction->status) : esc_html__('N/A', 'better-payment');
?>