Payment Methods
Bloque Payments supports multiple payment methods to process transactions securely.
Available Payment Methods
Card Payments (card)
Accept credit and debit card payments from major card networks.
Supported Cards:
- Visa
- Mastercard
- American Express
- Diners Club
Features:
- Real-time authorization
- 3D Secure support
- Automatic card validation
- CVV verification
PSE (pse)
Accept bank transfer payments in Colombia through PSE (Pagos Seguros en LĂnea).
Features:
- Direct bank transfer
- Available for all banks in Colombia
- Real-time or pending confirmation depending on the bank
- No credit card required
How It Works
Payment methods are handled automatically through Bloque's hosted checkout. Your integration flow is simple:
Integration
Backend (Create Checkout)
Frontend (React)
Filter Payment Methods
You can control which payment methods are displayed in the checkout using the paymentMethods prop:
If you don't specify paymentMethods, only card payment will be shown by default (['card']).
Card Payment Flow
- User selects card payment in hosted checkout
- User enters card details
- Real-time authorization is processed
onSuccessoronErrorcallback is triggered
PSE Payment Flow
- User selects PSE in hosted checkout
- User selects their bank
- User is redirected to their bank's portal
- User completes the transfer at their bank
onSuccess,onPendingoronErrorcallback is triggered
PSE payments may remain in pending status while the bank processes the transfer. Use webhooks to receive the final payment confirmation.
Handling Payment Responses
The BloqueCheckout component provides callbacks for different outcomes:
Security
Card payments are processed securely:
- PCI-DSS compliant: Card data never touches your servers
- 3D Secure: Additional authentication layer for secure transactions
- Encryption: End-to-end encryption for all sensitive data
Next Steps
- React Integration - Set up the BloqueCheckout component
- Webhooks - Handle payment notifications
- Error Handling - Handle payment errors