Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable possibility to channel on GoPay #47

Closed
wants to merge 5 commits into from
Closed

Configurable possibility to channel on GoPay #47

wants to merge 5 commits into from

Conversation

martinsifra
Copy link
Contributor

Now you can configure (changeChannel config parameter) a possibility to
allow or deny a change of a payment channel on GoPay gate.

Now you can configure (changeChannel config parameter) a possibility to
allow or deny a change of a payment channel on GoPay gate.
@f3l1x
Copy link
Member

f3l1x commented Sep 20, 2015

I like it, but only as property and settter. Could you change it please?

@martinsifra
Copy link
Contributor Author

Do you think without setting up from config?

@f3l1x
Copy link
Member

f3l1x commented Sep 21, 2015

@martinsifra I could be over config, but via setter method.

For example like this.

if ($config[...]) {
$class->addSetup('setChangeChannel', TRUE);
}

A could you merge to one commit please?

@martinsifra
Copy link
Contributor Author

Yeah, I see. I'll make commit today.

@f3l1x
Copy link
Member

f3l1x commented Sep 25, 2015

ping @martinsifra

@martinsifra
Copy link
Contributor Author

Sorry, I know. It is on my schedule.

@@ -30,6 +30,7 @@ class Extension extends CompilerExtension
'gopayId' => NULL,
'gopaySecretKey' => NULL,
'testMode' => TRUE,
'changeChannel' => TRUE,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better default NULL

@f3l1x
Copy link
Member

f3l1x commented Oct 9, 2015

@martinsifra It's great. Could you prepare simple test? And primary, rebase it to 1 commit?

@f3l1x f3l1x mentioned this pull request Oct 9, 2015
3 tasks
@f3l1x f3l1x added this to the v2.2.0 milestone Oct 9, 2015
@martinsifra
Copy link
Contributor Author

Thanks, I could, but I've never do that. So I'll need more time :-)

@f3l1x
Copy link
Member

f3l1x commented Oct 10, 2015

@martinsifra It's oukey. I'll do it by my own.

@f3l1x f3l1x closed this in 130cb57 Oct 10, 2015
@f3l1x
Copy link
Member

f3l1x commented Oct 10, 2015

Merged via d545d5d. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants