Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Instantiate with a given configuration and make a payment.

src/p/a/PayPy-0.6/tests/test_payment.py   PayPy(Download)
import datetime
from unittest                   import TestCase
from paypy.payment              import Payment
from paypy.schemas.payment      import SCreditCard
        aim.authentication = auth
        payment = Payment(aim)
        result  = payment.process()
        assert result.code == 1,           'Expected a succesful transaction, this was returned instead: %s' % str(result)