 
            
             
    Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesOPI-DE configured terminals have the option to pass card information when starting a payment. This way the cardholder does not have to present their card.
The following code snippet demonstrates how you can perform a payment with manual card information entry.
For OPI-DE terminals only.
    String cardPAN = "1234567"
    String expiryDate = "12/22"
    String cvv2 = "123"
    CardInformation cardInformation = new CardInformation(cardPAN, expiryDate, cvv2);
    Payment payment = Payment
            .builder()
            .type(Payment.Type.SALE)
            .amount(new Money(amount, Currency.getInstance("EUR")))
            .cardInformation(cardInformation)
            .build();
    PaymentApi paymentService = new PaymentService();
    PaymentDelegate delegate = new PaymentDelegate() {
        ...
        @Override
        public void onPaymentSuccess(PaymentResult paymentResult) {
            // The payment is completed successful!
            // The paymentResult contains extra information
        }
        
        @Override
        public void onError(Error error) {
            // A  problem occured and there isn't a 'finished' message received from the terminal.
            // The error contains information about what went wrong.
        }
        ...
    };
    paymentService.payment(terminal, payment, delegate);