Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Process a payment with the configured driver and options.

src/p/a/PayPy-0.6/tests/test_payment.py   PayPy(Download)
 
        payment = Payment(aim)
        result  = payment.process()
        assert result.code == 1,           'Expected a succesful transaction, this was returned instead: %s' % str(result)
        assert result.po_number == 'S42', 'Expected "S42" for the purchase order number field'