We added Amazon Payments as an option on checkout, and payments have been processing just fine. However, it doesn't seem to handle pending or failed transactions very well.
If Amazon marks a payment as pending, the customers receipt says
- "Your payment is pending. You will receive an email confirmation once your payment is confirmed."
- and "Your Amazon payment reference is: xxxxxxxxxxxxxxxxxxxx".
Since we assume that the receipt means a successful order, we customize the receipt to say something like "thank you for your order, it will be shipping soon".
Then, if Amazon is unable to charge the card for some reason it will mark the payment as failed. The billing name on the order is then automatically amended by foxycart to read "Joe Bloggs (REJECTED)", but it still shows up as an order. We use Order Desk, which then downloads it as a normal order. The whole process is enough to fool us into thinking that everything is okay and that we should ship it.
Can the process be modified so that the customer doesn't see the regular receipt, is informed that their payment is pending, and that if it then fails it is not downloadable as an unshipped order?