Gossamer Forum
Home : Products : Gossamer Links : Discussions :

payment problems

Quote Reply
payment problems
Hello all,

I want to know:
Is it only possible to set payments_enabled when you have configured a payment method, such as paypal, authorize.net etc. ????
I can't set payments_enabled to yes, when other configurations works fine.
I have Net/SSLeay.pm installed, so the thread posted by lennie is not related to my problem.

Cheers,

Eric Holborn
Quote Reply
Re: [ericho] payment problems In reply to
What exactly is the problem you're having? If you email me login information (and url) I can take a look at it for you.

Adrian
Quote Reply
Re: [ericho] payment problems In reply to
Hi. Not sure if this is related to your problem, but you need to "Add Method" first, and then set payments_enabled to 'Yes'. Without any payment processor setup, it won't let you set to 'yes', as there is no payment method setup to make the payments with :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] payment problems In reply to
Hello Andy
Thank you, you have exactly described my problem,
I shall test it again, when I have a method added.
Quote Reply
Re: [brewt] payment problems In reply to
Hi Adrian. Think I see the problem. It seems that the select box on the payment setup page is not setting itself to 'Yes'. I set this to "Yes", and updated... I then looked in the Data.pm file, I saw;

Code:
'enabled' => '1',

... in the "payments" hash :) So its setting it up alright, it just doesn't show it on the user side.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] payment problems In reply to
Hello


I have found in my config enabled => 1 too.
but when I ask the global <%payment_enabled%> in payment_setup.html, it displays 0

it only happens with the enabled, not with other settings i've tested.

Andy, did you have the same issue when you have added a payment method?
Quote Reply
Re: [ridesworld] payment problems In reply to
Quote:
Andy, did you have the same issue when you have added a payment method?

Sure did. It still seems to work though, when adding a link via add.cgi.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] payment problems In reply to
hello Andy

I found the following that makes the problem.


Load other info
$conf->{payment_enabled} = (
$CFG->{payment}->{enabled} and (
keys %{$CFG->{payment}->{remote}->{used}} or keys %{$CFG->{payment}->{direct}->{used}}
)
);

on line 426-431

I've commented it and add
$conf->{payment_enabled} = $CFG->{payment}->{enabled};

the problem is solved, but hopefully GT has a bugfix for it.