How to handle authentication such as OTP in 2C2P
The bounty expires in 5 days. Answers to this question are eligible for a +500 reputation bounty. Sanzeeb Aryal is looking for a canonical answer. I’m using the 2C2P payment gateway. public function process_payment( $order_id ) { $result = $this->request->result( $order ); error_log( print_r( $result, true ) ); if ( in_array( $result->response->ApiResponse->ResponseCode, array( ‘PC-B050000’, ‘PC-B050001’, […]