You do not need to uncomment the gateway_mode.

Also you just need to find that gateways 'sandbox mode', I have used sage pay 
in the past (protxi s now sage pay), and im preety sure you can just enable 
sandbox from sage pay itself, or have a seperate account for testing?


On 1 Dec 2009, at 09:53, Basel Farah wrote:

> Hi there,
> 
> I'm in the process of setting up a protx account for my spree shopping cart, 
> I want to use my protx test server first, I tried use the following in spree 
> configuration gateway page:
> sub-account: my_test_user
> user: vendor_name
> pass: password for my_test_user
> 
> and i uncomment 
> 
> ActiveMerchant::Billing::Base.gateway_mode = :test
> 
> production.rb
> 
> I'm getting the following error:
> 
> 'Unable to Authorize Credit Card: Gateway Error ... 4000 : The VendorName is 
> invalid or the account is not active.'
> 
> I don't know what i have done wrong, please help..
> cheers
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "NWRUG" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/nwrug-members?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en.


Reply via email to