I'm hoping someone reading this might have an idea on why orders paid entirely with with a gift certificate credit would leave the orders as pending. There's no balance left so it's not a "pending" scenario. This wasn't an issue until I transferred the site nor on past implementations of the module.

But for the life of me I can't figure out what is different or what I may have done/not done that's causing this to happen.

Thanks in advance!

- Matt

Comments

jrust’s picture

Do you have the conditional action enabled to update order status upon full payment?

WebNewCastle’s picture

Thanks.

Unfortunately, I do.

dabblela’s picture

Ditto.

kyuubi’s picture

Hello,

I am having the exact same issue with the latest version.

I also notice that if the product bought is not shippable, it starts working as expected if i change it to shippable it stops working on full gift payment orders.

Anyone have a clue on whats happening?

bdornbush’s picture

Version: 6.x-1.2 » 6.x-1.4

I just installed this module v6.x-1.4, and my product is not shippable, yet it is marked as pending. In my use case, the gift certificate is used to purchase a role assignment product.

Has anyone found out how to resolve this?

bdornbush’s picture

It's even worse than I thought. When I checked the user account, the gift certificate is still showing as available. I can redeem it multiple times, and the certificate is never redeemed. Note that the value of the gift certificate was exactly the value of the order, so I chose the option to not enter a credit card and use the gift certificate.

In order to move forward, I tried adding a condition to the order so that the role would be granted if the order balance was 0, as that is what I saw for the order. When I placed another order, the role was indeed granted, but the gift certificate is still available.

bdornbush’s picture

Category: support » bug

The value of my gift certificate was greater than my order total, so I selected the payment option to pay using the gift certificate. This option failed to deduct the value of the order from the gift certificate and left the order as pending. But when I changed to selecting the credit card payment option rather than the gift subscription option, and entered credit card information, the order was completed, the gift subscription balance was adjusted, and the credit card was not charged.

I am changing this to a bug report since it is clear to me that there is some misbehaving code here.

lancewig’s picture

I have the same issue.

  1. The "Buyer" purchases the Gift Certificate and the order goes through and is marked "Payment Received"
  2. The "Receiver" tries to buy something and the the order "goes through" but in the administration area under "Store Administration" >>"Orders" the Receivers order is marked "Pending"
  3. Unless the site admin is super quick and "Completes" the order status the GC receiver wont have any deductions to his balance and could conceivably buy more stuff.

------
Edit:

Quick Fix:

Go to "Store Administration" >> "Configuration" >> "Gift Certificate Settings" and then check "Pending" under "ORDER STATUS FOR DEDUCTING". That will at least deduct the right amount from the user so they can't use money that is not there to purchase again.

Ultimately the admin should come back and mark the order status "Complete".

It looks like the module started from scraps and there isn't much interest in continuing it. The last commit was a year ago. Perhaps one day I can learn more about fixing the module code. I read a little about Ubercart Order Statuses which started to make sense. The default status is "Pending" so perhaps code can be added to the module to change the status to "Payment Received". I know the author wanted to rewrite the whole thing from scratch as he felt the codebase was crap.