• Resolved Chadwickhugh

    (@chadwickhugh)


    Scenario: Customer places order, then calls/emails to add to the order. Can’t add and capture because get a notice that the settlement amount is too large. So change it to pending payment and try to manually re-enter payment info (this is how I used to do it) but get a failure stating the card was already used for this transaction.

    Voiding the payment and trying again gives the same results.

    Is there anyway to accomplish this?

    Thanks
    Chad

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Clayton R

    (@mrclayton)

    @chadwickhugh,

    It is possible but you will need to remove the _transaction_id metadata for the order. You can find that value in the postmeta table. The plugin checks to see if the order already has a transaction ID associated with it when processing an Admin Phone order.

    So if you remove the tranaction ID and set the order status to pending you can modify the customer’s order then process it.

    Here is the code that checks for the transaction ID. You could always comment it out as well while we consider how to handle such a scenario. No one has ever asked for that business case before.

    https://docs.paymentplugins.com/wc-braintree/api/source-class-WC_Braintree_Controller_Order_Actions.html#196

    Kind Regards,

    Thread Starter Chadwickhugh

    (@chadwickhugh)

    Clayton thanks.

    Yes we get this issue from time to time. Our old gateway plugin allowed you to just set the order status to pending payment so you could manually enter the card info.

    Some method for allowing this would be helpful.

    Thanks for the quick response as always.

    Plugin Author Clayton R

    (@mrclayton)

    @chadwickhugh Did your old plug-in allow you to process a payment from the order admin section like ours or were you paying for the order on the Customer payment page?

    Kind regards,

    Thread Starter Chadwickhugh

    (@chadwickhugh)

    I believe it was via the customer payment page.

    Plugin Author Clayton R

    (@mrclayton)

    @chadwickhugh gotcha. You probably already know this but on the admin order page when the order status is pending you can click the pay for order button and you can enter the customer’s credit card information directly on that page and process the order.

    Thread Starter Chadwickhugh

    (@chadwickhugh)

    Had this issue come up again today. Modified an order for a customer. Changed order to pending payment, sent them the customer payment link. He got the following error.

    https://prnt.sc/revptv

    Seems like there’s got to be a cleaner solution for this.

    Plugin Author Clayton R

    (@mrclayton)

    @chadwickhugh,

    The cleaner solution is for you to not modify the status of an order that’s already been paid for. You should refund the original order, create a copy of it, then add whatever new items you want. That way it’s a brand new order.

    Or create a new order with the added item and have the customer pay for that.

    You can modify your PayPal account settings to allow duplicate order ID’s.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Modifying an authorized order’ is closed to new replies.