| @@ -13,9 +13,9 @@ | ||
| 13 | 13 | 'active' => true, |
| 14 | 14 | // After user registration. |
| 15 | 15 | 'priority' => 45, |
| 16 | 16 | 'event' => array( 'create' ), |
| 17 | - 'color' => 'var(--green)', | |
| 17 | + 'color' => '#3fac25', | |
| 18 | 18 | ); |
| 19 | 19 | |
| 20 | 20 | $this->FrmFormAction( 'payment', __( 'Collect a Payment', 'formidable' ), $action_ops ); |
| 21 | 21 | } |
| @@ -86,8 +86,14 @@ | ||
| 86 | 86 | 'gateway' => array(), |
| 87 | 87 | 'credit_card' => '', |
| 88 | 88 | 'billing_first_name' => '', |
| 89 | 89 | 'billing_last_name' => '', |
| 90 | + 'billing_address' => '', | |
| 91 | + 'shipping_email' => '', | |
| 92 | + 'shipping_first_name' => '', | |
| 93 | + 'shipping_last_name' => '', | |
| 94 | + 'shipping_address' => '', | |
| 95 | + 'entry_data_sync' => 'overwrite', | |
| 90 | 96 | ); |
| 91 | 97 | return (array) apply_filters( 'frm_pay_action_defaults', $defaults ); |
| 92 | 98 | } |
| 93 | 99 | |
| @@ -205,8 +211,9 @@ | ||
| 205 | 211 | |
| 206 | 212 | if ( 'name' === $field->type && isset( $field_atts['name'] ) ) { |
| 207 | 213 | switch ( $field_atts['name'] ) { |
| 208 | 214 | case 'billing_first_name': |
| 215 | + case 'shipping_first_name': | |
| 209 | 216 | echo ' ('; |
| 210 | 217 | esc_html_e( 'First', 'formidable' ); |
| 211 | 218 | echo ')'; |
| 212 | 219 | break; |
| @@ -211,8 +218,9 @@ | ||
| 211 | 218 | echo ')'; |
| 212 | 219 | break; |
| 213 | 220 | |
| 214 | 221 | case 'billing_last_name': |
| 222 | + case 'shipping_last_name': | |
| 215 | 223 | echo ' ('; |
| 216 | 224 | esc_html_e( 'Last', 'formidable' ); |
| 217 | 225 | echo ')'; |
| 218 | 226 | break; |