Impacted versions: 10.0

Steps to reproduce:

Login to front-end website. From user menu, select My Account.

In Your Invoices and Payments, click on Pay Now link (next to invoice).

(Payment method is wire transfer)

Click on Pay Now

Current behavior:

There's error:

"Oops! There was a problem with your payment."

Expected behavior:

Payment should be done.

![odoo-payment-wire-transfer-error](https://user-images.githubusercontent.com/29296648/26960392-f6300cbe-4d00-11e7-83a5-1f2c7879bae4.jpg)


Video/Screenshot link (optional):


partner_id = request.env.user.partner_id.id if request.env.user.partner_id != request.website.partner_id else False
        values = {
            'acquirer_id': int(acquirer_id),
            'reference': reference,
            'amount': float(amount),
            'currency_id': int(currency_id),
            'partner_id': partner_id,
        }
        tx = request.env['payment.transaction'].sudo().create(values)
        request.session['website_payment_tx_id'] = tx.id
        return tx.id
    @http.route(['/website_payment/confirm'], type='http', auth='public', website=True)
    def confirm(self, **kw):
        tx_id = request.session.pop('website_payment_tx_id', False)
        if tx_id:
            tx = request.env['payment.transaction'].browse(tx_id)
            status = (tx.state == 'done' and 'success') or 'danger'
            message = (tx.state == 'done' and _('Your payment was successful! It may take some time to be validated on our end.')) or _('Oops! There was a problem with your payment.')
            return request.render('website_payment.confirm', {'tx': tx, 'status': status, 'message': message})
        else:
            return request.redirect('/my/home')