Forcing a test purchase

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
dadkind
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 105
Joined: Thu Jan 22, 2009 3:32 pm

Forcing a test purchase

Post by dadkind » Sat Feb 21, 2009 4:19 pm

Hello All,
We have a staging server set up with a valid license key.

When I tried to do a test purchase with the "41111...." CC number, my order was processed as a live purchase and is now "pending" (good luck with that card number!).

I assume this is because we have a license key installed? Yes? No?

Is there a way to force the store to treat all transactions as test transactions on the staging server?

Thanks,
-tomas

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Forcing a test purchase

Post by AbleMods » Sat Feb 21, 2009 11:33 pm

I believe by default AC7 accepts an order even if the payment authorization was declined.

If you pull up the order details page and look at the payment transaction, you should see authorization failed.

Of course this assumes your payment gateway was set to "live" mode.

If your payment gateway was set to "test" or "sandbox", it's quite possible the card number was accepted. Most sandbox-mode testing systems will approve any card number as part of the testing process. Sandbox testing isn't designed to test the validity of a particular card, only the communications between your site and their systems. Sandbox setups are NOT considered fully secure by the gateway companies - do not use real card data when testing in sandbox mode.

AC7 will accept an order in demo mode or licensed for full live install. If I recall, the only difference is the billto/shipto values are altered in the demo mode. Otherwise I think everything else functions as designed.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

dadkind
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 105
Joined: Thu Jan 22, 2009 3:32 pm

Re: Forcing a test purchase

Post by dadkind » Sun Feb 22, 2009 12:02 am

Joe,
Thanks for the info.
I'm down to reviewing/ editing all the emails generated by the system.
My client wants to do a test purchase and see the emails generated during the purchase.
This should help quite a bit!

-tomas

SolunarServices wrote:I believe by default AC7 accepts an order even if the payment authorization was declined.

If you pull up the order details page and look at the payment transaction, you should see authorization failed.

Of course this assumes your payment gateway was set to "live" mode.

If your payment gateway was set to "test" or "sandbox", it's quite possible the card number was accepted. Most sandbox-mode testing systems will approve any card number as part of the testing process. Sandbox testing isn't designed to test the validity of a particular card, only the communications between your site and their systems. Sandbox setups are NOT considered fully secure by the gateway companies - do not use real card data when testing in sandbox mode.

AC7 will accept an order in demo mode or licensed for full live install. If I recall, the only difference is the billto/shipto values are altered in the demo mode. Otherwise I think everything else functions as designed.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Forcing a test purchase

Post by AbleMods » Sun Feb 22, 2009 12:09 am

When I'm just testing order flow and not a specific payment processing issue, I just enable PayPal as a payment method and pay for my test orders using the PayPal method.

When the checkout process is complete, the receipt page displays with the big PayPal button at the button. Clicking that button would take you to PayPal's website to pay for the order.

I just don't click it - the order has already been saved by AC7 so you can navigate anywhere at that point.

Everything else in AC7 will function as it should for that order, including any assigned email triggers. The payment processing ones will fire if you manually post a payment to the order on the admin side.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

dadkind
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 105
Joined: Thu Jan 22, 2009 3:32 pm

Re: Forcing a test purchase

Post by dadkind » Sun Feb 22, 2009 11:00 am

Many thanks, Master Yoda!

-tomas
SolunarServices wrote:When I'm just testing order flow and not a specific payment processing issue, I just enable PayPal as a payment method and pay for my test orders using the PayPal method.

When the checkout process is complete, the receipt page displays with the big PayPal button at the button. Clicking that button would take you to PayPal's website to pay for the order.

I just don't click it - the order has already been saved by AC7 so you can navigate anywhere at that point.

Everything else in AC7 will function as it should for that order, including any assigned email triggers. The payment processing ones will fire if you manually post a payment to the order on the admin side.

Post Reply