Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

489 B
Raw Blame
-- Your SQL goes here
ALTER TABLE payment_attempt 
ADD COLUMN authentication_data JSON, 
ADD COLUMN encoded_data TEXT;

UPDATE payment_attempt 
SET (authentication_data, encoded_data) = (connector_response.authentication_data, connector_response.encoded_data) 
from connector_response 
where payment_attempt.payment_id = connector_response.payment_id 
    and payment_attempt.attempt_id = connector_response.attempt_id
    and payment_attempt.merchant_id = connector_response.merchant_id;