Page 1 of 1

Forcing a test purchase

Posted: Sat Feb 21, 2009 4:19 pm
by dadkind
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

Re: Forcing a test purchase

Posted: Sat Feb 21, 2009 11:33 pm
by AbleMods
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.

Re: Forcing a test purchase

Posted: Sun Feb 22, 2009 12:02 am
by dadkind
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.

Re: Forcing a test purchase

Posted: Sun Feb 22, 2009 12:09 am
by AbleMods
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.

Re: Forcing a test purchase

Posted: Sun Feb 22, 2009 11:00 am
by dadkind
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.