I am using the SagePayDirectPaymentGatewayMethod to authorise payments.
To authroise the payment the SagePayDirectPaymentGatewayMethod makes a call to SagePayDirectPaymentProcessor.InitializePayment() which then makes the calls to the sage pay API's to authorise the payment. If the response from the sage API's is Ok the payment is applied to the invoice with the invoice total , all is good up to here. if i then check in the back office system I can see that the status of the order is unpaid but the balance is 0.
I think this has something to do with the capturing of the payment, if i try to use any of the capture payment methods i end up with an additional applied payment and a minus balance although the status does move to Paid.
Can anyone give me any guidance on where I'm going wrong here and maybe a few tips on how the authorising and capturing of payments should fit in to the checkout pipeline.
Invoice status "Unpaid" but balance 0
Hi,
I have created a single page checkout which uses the SagePay Plugin found at https://github.com/BarryFogarty/Merchello.Plugins.SagePay.
I am using the SagePayDirectPaymentGatewayMethod to authorise payments.
To authroise the payment the SagePayDirectPaymentGatewayMethod makes a call to SagePayDirectPaymentProcessor.InitializePayment() which then makes the calls to the sage pay API's to authorise the payment. If the response from the sage API's is Ok the payment is applied to the invoice with the invoice total , all is good up to here. if i then check in the back office system I can see that the status of the order is unpaid but the balance is 0.
I think this has something to do with the capturing of the payment, if i try to use any of the capture payment methods i end up with an additional applied payment and a minus balance although the status does move to Paid.
Can anyone give me any guidance on where I'm going wrong here and maybe a few tips on how the authorising and capturing of payments should fit in to the checkout pipeline.
Thanks in advance
Andy
is working on a reply...