Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andy 12 posts 92 karma points
    May 26, 2016 @ 19:51
    Andy
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft