I want to Integrate authorized.net ARB and AMI together using rails.
Actually i want Instant payment when user signs up today and I want the subscription to start today. for this i want to charge their first payment via the AIM API. and if AMI tranaction get succeed then only i will create ARB.I write code for both my ARB works perfect but when i write code for the AMI it gives error This transaction has been declined
but when i create an ARB with same card it works perfectly.I really don't know how to go for this.
Also i want to know when subscription is declined when processing a future scheduled payment is Authorize.Net cancelled that Subscription or try again on next day?if it try next day again how many times it will try?can i check or write a code using SILENT POST
that after 5 times it's subscription should get cancelled.