Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97588006
PhabricatorStripeConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jan 5, 12:29
Size
588 B
Mime Type
text/x-php
Expires
Tue, Jan 7, 12:29 (2 d)
Engine
blob
Format
Raw Data
Handle
23431676
Attached To
rPH Phabricator
PhabricatorStripeConfigOptions.php
View Options
<?php
final
class
PhabricatorStripeConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
"Integration with Stripe"
);
}
public
function
getDescription
()
{
return
pht
(
"Configure Stripe payments."
);
}
public
function
getOptions
()
{
return
array
(
$this
->
newOption
(
'stripe.publishable-key'
,
'string'
,
null
)
->
setDescription
(
pht
(
'Stripe publishable key.'
)),
$this
->
newOption
(
'stripe.secret-key'
,
'string'
,
null
)
->
setDescription
(
pht
(
'Stripe secret key.'
)),
);
}
}
Event Timeline
Log In to Comment