mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Enable support for PayPal white label payment
This commit is contained in:
parent
73ca48e381
commit
1487da3dc4
@ -2112,7 +2112,7 @@ $LANG = array(
|
|||||||
'account_fields' => 'Company Fields',
|
'account_fields' => 'Company Fields',
|
||||||
'facebook_and_twitter' => 'Facebook and Twitter',
|
'facebook_and_twitter' => 'Facebook and Twitter',
|
||||||
'facebook_and_twitter_help' => 'Follow our feeds to help support our project',
|
'facebook_and_twitter_help' => 'Follow our feeds to help support our project',
|
||||||
'reseller_text' => 'Note: the white-label license is intended for personal use, please email us at :email if you\'d like to resell our app.',
|
'reseller_text' => 'Note: the white-label license is intended for personal use, please email us at :email if you\'d like to resell the app.',
|
||||||
'unnamed_client' => 'Unnamed Client',
|
'unnamed_client' => 'Unnamed Client',
|
||||||
|
|
||||||
'day' => 'Day',
|
'day' => 'Day',
|
||||||
|
@ -84,8 +84,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function buyProduct(affiliateKey, productId) {
|
function buyProduct(affiliateKey, productId) {
|
||||||
window.open('{{ Utils::isNinjaDev() ? '' : NINJA_APP_URL }}/license?affiliate_key=' + affiliateKey + '&product_id=' + productId + '&return_url=' + window.location);
|
window.open('{{ Utils::isNinjaDev() ? '' : NINJA_APP_URL }}/buy_now/?account_key=AsFmBAeLXF0IKf7tmi0eiyZfmWW9hxMT&product_id=' + productId + '&contact_key={{ Auth::user()->primaryAccount()->account_key }}' + '&return_url=' + window.location);
|
||||||
//window.open('{{ Utils::isNinjaDev() ? '' : NINJA_APP_URL }}/buy_now/?account_key={{ env('NINJA_LICENSE_ACCOUNT_KEY') }}&product_id=' + productId + '&contact_key={{ Auth::user()->primaryAccount()->account_key }}' + '&return_url=' + window.location);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function showApplyLicense() {
|
function showApplyLicense() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user