We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to pass "PO NUMBER" to authorize.net?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to pass "PO NUMBER" to authorize.net?
FULL_CARD_NOT_PRESENT_TRANSACTION = {
'credit_card': {
'card_number': '4111111111111111',
'card_code': '523',
'expiration_month': '04',
'expiration_year': date.today().year + 1,
},
'email': '[email protected]',
'shipping': {
'first_name': 'Rob',
'last_name': 'Oteron',
'company': 'Robotron Studios',
'address': '101 Computer Street',
'city': 'Tucson',
'state': 'AZ',
'zip': '85704',
'country': 'US',
},
'billing': {
'first_name': 'Rob',
'last_name': 'Oteron',
'company': 'Robotron Studios',
'address': '101 Computer Street',
'city': 'Tucson',
'state': 'AZ',
'zip': '85704',
'country': 'US',
'phone_number': '520-123-4567',
'fax_number': '520-456-7890',
},
'tax': {
'amount': 45.00,
'name': 'Double Taxation Tax',
'description': 'Another tax for paying double tax',
},
'duty': {
'amount': 90.00,
'name': 'The amount for duty',
'description': 'I can''t believe you would pay for duty',
},
'line_items': [{
'item_id': 'CIR0001',
'name': 'Circuit Board',
'description': 'A brand new robot component',
'quantity': 5,
'unit_price': 99.99,
'taxable': 'true',
}, {
'item_id': 'CIR0002',
'name': 'Circuit Board 2.0',
'description': 'Another new robot component',
'quantity': 1,
'unit_price': 86.99,
'taxable': 'true',
}, {
'item_id': 'SCRDRVR',
'name': 'Screwdriver',
'description': 'A basic screwdriver',
'quantity': 1,
'unit_price': 10.00,
'taxable': 'true',
}],
'order': {
'invoice_number': 'INV0001',
'description': 'Just another invoice...',
},
'shipping_and_handling': {
'amount': 10.00,
'name': 'UPS 2-Day Shipping',
'description': 'Handle with care',
},
'customer_ip': '100.0.0.1',
'user_fields': [{
'name': 'user_field_1',
'value': 'value_1',
}, {
'name': 'user_field_2',
'value': 'value_2',
}],
'tax_exempt': False,
'recurring': True,
'po_number': 'PONUM00001',
}
result = authorize.Transaction.sale(FULL_CARD_NOT_PRESENT_AIM_TRANSACTION)
The text was updated successfully, but these errors were encountered: