| @@ -159,9 +159,10 @@ | ||
| 159 | 159 | |
| 160 | 160 | return array( |
| 161 | 161 | 'amount' => (float) $data['amount'], |
| 162 | 162 | 'order_id' => (string) $data['bp_order_id'], |
| 163 | - 'payment_date' => current_time( 'mysql' ), | |
| 163 | + // UTC, like every other writer of this table (see Classes\PaymentDateMigration). | |
| 164 | + 'payment_date' => gmdate( 'Y-m-d H:i:s' ), | |
| 164 | 165 | 'source' => 'stripe', |
| 165 | 166 | 'transaction_id' => ! empty( $session->payment_intent ) ? sanitize_text_field( $session->payment_intent ) : '', |
| 166 | 167 | 'customer_info' => maybe_serialize( $session ), |
| 167 | 168 | 'form_fields_info' => maybe_serialize( $form_fields_info ), |