I am working on testing the commerce functionality (checkout and payment), and found a problem in the procedure of Checkout and Payment.

The Payment is NOT charged if the Checkout is processed smoothly and correctly.

– If I make a mistake on checkout page, such as forgetting the ZIP code, or CITY, the checkout page is refreshed with a Warning message. Then I input the zip code or city name, and finish the process of checkout. The payment is charged correctly in this case.

This weird bug totally frustrated me.

Modules I installed:

  • Commerce 7.x-1.11
  • Cart (commerce_cart)
  • Checkout (commerce_checkout)
  • Card on File (commerce_cardonfile)
  • Commerce Express Checkout (commerce_express_checkout) // Using this for Express Checkout
  • Order (commerce_order)
  • Customer (commerce_customer)
  • Payment (commerce_payment)
  • Payment Method Example (commerce_payment_example) // Using this as payment method
  • Product (commerce_product)
  • Price (commerce_price)
  • Product Reference (commerce_product_reference)
  • Commerce License (commerce_license)
CommentFileSizeAuthor
orders-list.JPG59.67 KBGung Wang
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gung Wang created an issue. See original summary.

Gung Wang’s picture

Tried to place many orders to test the checkout:

1473	April 5, 2016 - 2:08pm	b1		Visitor (not verified)	$49.97 	Pending
1471	April 5, 2016 - 1:15pm	a3		wghappytin+2@...	$49.97 	Pending
1470	April 5, 2016 - 1:11pm	a1		Visitor (not verified)	$49.97 	Pending
1469	April 5, 2016 - 1:08pm	bbb		Visitor (not verified)	$49.97 	Pending
1467	April 5, 2016 - 1:02pm	aaaa		Visitor (not verified)	$49.97 	Pending
1466	April 5, 2016 - 12:12pm	fe		wghappytin+1@...	$49.97 	Pending
1465	April 5, 2016 - 12:10pm	test		Visitor (not verified)	$49.97 	Pending

– The order 1471 and order 1466 are good, and the payments are charged correctly, because of wrong inputs on the submission form.
– All other order payments are NOT charged as the orders are processed smoothly and correctly.

rszrama’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

I've never heard of anything like this; are you sure there isn't a conflict in some module you're using? Maybe Commerce Express Checkout?

Gung Wang’s picture

I finally figured out the problem:
– There is a bug in the module "Payment Method Example (commerce_payment_example)"
– I disabled the Payment Method, added a new Authorize.net payment method, then the problem is gone.

Don't use the module: Payment Method Example (commerce_payment_example).
Don't use the "Example payment" payment method to test.