https://staging.bwire.io/api/payments

Query Metrics

16 Database Queries
10 Different statements
26.57 ms Query time
1 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
4.65 ms
(17.52%)
1
WITH updated AS (
        UPDATE user_payment_info
        SET
            ip_address = COALESCE(?, ip_address),
            name       = COALESCE(?, name),
            updated_at = to_char(now(), 'YYYY-MM-DD"T"HH24:MI:SSOF')
        WHERE id = (
            SELECT id
            FROM user_payment_info
            WHERE payment_id = ?
            ORDER BY id DESC
            LIMIT 1
        )
        RETURNING id
    )
    INSERT INTO user_payment_info (payment_id, ip_address, name, created_at, updated_at)
    SELECT
        ?,
        ?,
        ?,
        to_char(now(), 'YYYY-MM-DD"T"HH24:MI:SSOF'),
        to_char(now(), 'YYYY-MM-DD"T"HH24:MI:SSOF')
    WHERE NOT EXISTS (SELECT 1 FROM updated);
Parameters:
[
  "49.205.38.85"
  null
  "d1cb92db-5cad-4f60-8d64-c1ba8bf075ce"
  "d1cb92db-5cad-4f60-8d64-c1ba8bf075ce"
  "49.205.38.85"
  null
]
3.86 ms
(14.51%)
2
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.description AS description_2, s0_.password AS password_3, s0_.secret AS secret_4, s0_.active AS active_5, s0_.created_at AS created_at_6, s0_.updated_at AS updated_at_7, s0_.billing_information_name AS billing_information_name_8, s0_.billing_information_country AS billing_information_country_9, s0_.billing_information_city AS billing_information_city_10, s0_.billing_information_street AS billing_information_street_11, s0_.billing_information_street_number AS billing_information_street_number_12, s0_.billing_information_postal_code AS billing_information_postal_code_13, s0_.billing_information_iban AS billing_information_iban_14, s0_.billing_information_is_bank_webhook AS billing_information_is_bank_webhook_15, s0_.payment_gateway_config_id AS payment_gateway_config_id_16, s0_.merchant_id AS merchant_id_17 FROM sites s0_ WHERE s0_.id = ?
Parameters:
[
  Symfony\Component\Uid\UuidV4 {#560
    __toString(): "297d4a3d-d5b8-41f2-b60e-a8f3c8864990"
  }
]
3.83 ms
(14.42%)
1
INSERT INTO payments (id, external_id, description, amount, currency, success_url, failure_url, pending_url, notification_url, customer_id, details, status, pisp_status, bank_status, mapping_id, payment_type, created_at, updated_at, site_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "d1cb92db-5cad-4f60-8d64-c1ba8bf075ce"
  "l6ndcxwz83nr7zbbuocdo8u8dd_12131"
  "l6ndcxwz83nr7zbbuocdo8u8dd23"
  100
  "EUR"
  "https://hr.iglulabs.com/"
  "https://google.com/"
  "https://iglulabs.com/"
  "https://bin.webhookrelay.com/v1/webhooks/5cd647fd-7c52-43ea-95fe-49aa29f7bd6e"
  "51e4ef9b-9929-4fb0-86a3-689348f18711f213"
  "{"backgroundImageUrl":"https:\/\/app.bwire.io\/static\/bg.jpg","logoImageUrl":"https:\/\/app.bwire.io\/static\/logo.png","creditorName":"Livepoint Trading Ltd","creditorStreet":"Mickiewicza","creditorStreetNumber":"19a","creditorCity":"Strovolos","creditorPostalCode":"11-111","creditorCountry":"PL","creditorIban":"PL92124049371831347560745013","redirectUrl":"https:\/\/staging.bwire.io\/payments\/d1cb92db-5cad-4f60-8d64-c1ba8bf075ce","countryId":"LV","bankId":"revolut-eu","debtorName":"Fi Fu"}"
  "initiated"
  "initiated"
  "initiated"
  "l6ndcxwz83nr7zbbuocdo8u8dd23"
  null
  "2026-10-23 14:57:54"
  null
  "297d4a3d-d5b8-41f2-b60e-a8f3c8864990"
]
2.97 ms
(11.17%)
1
INSERT INTO payment_logs (payment_id, status_code, logs) VALUES (?, ?, ?)
Parameters:
[
  Symfony\Component\Uid\UuidV4 {#1577
    __toString(): "d1cb92db-5cad-4f60-8d64-c1ba8bf075ce"
  }
  200
  ""{\"title\":\"Merchant requested for new payment\",\"details\":{\"paymentId\":\"l6ndcxwz83nr7zbbuocdo8u8dd_12131\",\"amount\":1,\"currency\":\"EUR\",\"creditorName\":\"Livepoint Trading Ltd\",\"creditorIban\":\"PL92124049371831347560745013\",\"redirectUrl\":\"https:\/\/staging.bwire.io\/payments\/d1cb92db-5cad-4f60-8d64-c1ba8bf075ce\",\"paymentProvider\":\"ibanxs\"}}""
]
2.93 ms
(11.03%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.first_name AS first_name_3, t0.last_name AS last_name_4, t0.password AS password_5, t0.role AS role_6, t0.payment_provider AS payment_provider_7, t0.active AS active_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10 FROM merchants t0 WHERE t0.id = ?
Parameters:
[
  "e97c9e1a-5829-4977-939f-a5921ea8f47c"
]
2.32 ms
(8.72%)
3
"COMMIT"
Parameters:
[]
2.21 ms
(8.32%)
2
INSERT INTO payment_tokens (hash, details, after_url, target_url, gateway_name) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  "SL6ECjlOSn7NDFuM-waYZ1lTPiO9i9aTaJyVIJyBU7g"
  "O:25:"Payum\Core\Model\Identity":2:{i:0;s:36:"d1cb92db-5cad-4f60-8d64-c1ba8bf075ce";i:1;s:32:"App\Domain\Payment\Model\Payment";}"
  null
  "https://staging.bwire.io/payments/d1cb92db-5cad-4f60-8d64-c1ba8bf075ce?payum_token=SL6ECjlOSn7NDFuM-waYZ1lTPiO9i9aTaJyVIJyBU7g"
  "livepoint_trading_ltd"
]
1.97 ms
(7.41%)
1
SELECT p0_.id AS id_0, p0_.external_id AS external_id_1, p0_.description AS description_2, p0_.amount AS amount_3, p0_.currency AS currency_4, p0_.success_url AS success_url_5, p0_.failure_url AS failure_url_6, p0_.pending_url AS pending_url_7, p0_.notification_url AS notification_url_8, p0_.customer_id AS customer_id_9, p0_.details AS details_10, p0_.status AS status_11, p0_.pisp_status AS pisp_status_12, p0_.bank_status AS bank_status_13, p0_.mapping_id AS mapping_id_14, p0_.payment_type AS payment_type_15, p0_.created_at AS created_at_16, p0_.updated_at AS updated_at_17, p0_.site_id AS site_id_18 FROM payments p0_ WHERE p0_.external_id = ? AND p0_.site_id = ?
Parameters:
[
  "l6ndcxwz83nr7zbbuocdo8u8dd_12131"
  Symfony\Component\Uid\UuidV4 {#546
    __toString(): "297d4a3d-d5b8-41f2-b60e-a8f3c8864990"
  }
]
1.12 ms
(4.21%)
3
"START TRANSACTION"
Parameters:
[]
0.71 ms
(2.68%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.factory_name AS factory_name_3, t0.gateway_name AS gateway_name_4, t0.config AS config_5, t0.active AS active_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8 FROM payment_gateway_configs t0 WHERE t0.id = ?
Parameters:
[
  "9fc2fe75-b87d-43e5-93d2-740916a7a409"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Domain\Site\Model\BillingInformation No errors.
App\Domain\Site\Model\Site No errors.
App\Domain\PaymentGateway\Model\PaymentGatewayConfig No errors.
App\Domain\Merchant\Model\Merchant No errors.
App\Domain\Payment\Model\Payment
  • The field App\Domain\Payment\Model\Payment#userPaymentInfo is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Domain\PaymentGateway\Model\UserPaymentInfo#payment does not contain the required 'inversedBy="userPaymentInfo"' attribute.
App\Domain\Merchant\Model\MerchantResetPasswordToken No errors.
App\Domain\Payment\Model\PaymentToken No errors.