I have a few sites running Drupal/Ubercart with Quickpay.
A client have asked me how to capture a smaller amount than the amount the customer have accepted at the time of ordering the items. He wish to do this because it happens a product is sold out and he will not be able to deliver it.
It is possible to do this through the Quickpay manager but I think I remember it also was possible through Ubercart but I have tested and I have not been able to get the system to capture less.
What I have done is to test with the two amounts at the top.
First you have the total (I use Danish so not sure what the name is in English) (Ordre i alt).
I can easy change the next amount (Nuværende saldo) by adding an amount further down and click send.
But when I capture it is the total amount that is being captured.
I hope someone can advise me.
Comments
Comment #1
xen commentedLooks like a bug. Try this:
In uc_quickpay/uc_quickpay.module, change line 119-125:
to
(minus the
tags)and see if that doesn't makes it capture the remaining amount, instead of the order total. If it does, I'll include it in the next version.
Comment #2
jens peter commentedWorked perfect.
Thank you so much.
Comment #3
xen commentedCommitted. Will be in 1.3.