def confirm_transaction(payer_id, token, amount, currency): """ Confirm the payment action. """ return do_txn(payer_id, token, amount, currency, action=_get_payment_action())