Two statuses (paid and unpaid) depending on the payment gateway (credit card or invoice)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #85573
    Josh
    Guest

    I am using the plugin to decide between two statuses (paid and unpaid) depending on the payment gateway (credit card or invoice). It goes from processing to then complete when shipped and then to either paid or unpaid. My issue is when a user pays for an order after it has been assigned the unpaid status. I want the status to change from unpaid to paid if they use a credit card. What happens is it goes from unpaid back to processing. Is there any way to force it to go to paid?

    #85574
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Josh,

    Ok, so what we need is to check status before that, correct? I.e. when changing order status from processing to paid, we need to make sure that its status before that was unpaid? And if it was some other status (or no status at all, i.e. new order), we are not changing it to paid?

    #85575
    Tom Anbinder
    Moderator
    Plugin Support

    P.S. By the way – which plugin are you using for the credit cards? Are you sure there is no way to simply set somewhere in that plugin to mark orders paid instead of processing when payment is received?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.