AuthorizeInvalidError for amounts greater than $20,000
Amount SchemaNodes have an arbitrary and hardcoded max value of 20000 for apparently no reason, preventing transactions for higher values from going through.
The following code causes that error:
import authorize
authorize.Configuration.configure(
authorize.Environment.TEST,
'api_login_id',
'api_transaction_key',
)
result = authorize.Transaction.sale({
'amount': 20001.00,
'credit_card': {
'card_number': '4111111111111111',
'expiration_date': '04/2019',
'card_code': '343',
}
})
The error stems from the schemas.py file. Removing the max values of 20000 (there are others) fixes this, but I'm wondering if there's a reason for having those hardcoded values there (Authorize.net claims to not impose any upper limits on transaction amounts).
Thanks!
@vcatalano we were just impacted by the same issue.
Would be great if you could merge and release this patch
Thank you for maintaining this library 👍 and happy to help should you need some help
Getting back to this after a loooong break. @prakashpp, not sure if you would still be interested in taking a look at this one?