attributes['merchant_accounts'];
$ach_accounts = $merchant->attributes['ach_accounts'];
$errors = $api_test_errors;
$result_test_public = ($public_key_results instanceof AffiniPay_Token ? 'PASS' : 'FAIL');
$result_test_secret = ($secret_key_results instanceof AffiniPay_Merchant ? 'PASS' : 'FAIL');
$result_test_account = ( true === $account_id_results ? 'PASS' : 'FAIL');
$reason_public = (array_key_exists( 'public', $errors ) ? $errors['public'] : null);
$reason_secret = (array_key_exists( 'secret', $errors ) ? $errors['secret'] : null);
$reason_account = (array_key_exists( 'account', $errors ) ? $errors['account'] : null);
?>
Test Results:
Merchant Information
attributes['name'] ); ?>
attributes['address1'] ) . ' ' . esc_html( $merchant->attributes['address2'] ); ?>
attributes['city'] ) . ', ' . esc_html( $merchant->attributes['state'] ) . ' ' . esc_html( $merchant->attributes['postal_code'] ); ?>
Merchant Accounts
0 ) {
?>
| Name |
Status |
Primary |
Trust |
|
|
|
|
No Merchant Accounts Found
0 ) {
?>
ACH Accounts