Version Description
- More strings from the settings admin interface of the plugin are translatable.
- The strong password validation error message is now translatable (if you are using this feature).
- Minor enhancement in the PayPal IPN handling code.
- Fixed an issue with some profile data not updating when password is also updated at the same time.
Download this release
Release Info
Developer | mra13 |
Plugin | Simple Membership |
Version | 3.8.4 |
Comparing to | |
See all releases |
Code changes from version 3.8.2 to 3.8.4
- classes/class.simple-wp-membership.php +7 -1
- classes/class.swpm-front-registration.php +17 -6
- classes/class.swpm-members.php +5 -0
- classes/class.swpm-settings.php +121 -129
- ipn/swpm_handle_subsc_ipn.php +4 -5
- languages/simple-membership-de_DE.mo +0 -0
- languages/simple-membership-de_DE.po +3081 -3849
- languages/simple-membership-ja.mo +0 -0
- languages/simple-membership-ja.po +1099 -1027
- languages/simple-membership.pot +18 -0
- lib/braintree/lib/Braintree.php +8 -9
- lib/braintree/lib/Braintree/AccountUpdaterDailyReport.php +0 -2
- lib/braintree/lib/Braintree/AchMandate.php +55 -0
- lib/braintree/lib/Braintree/AddOn.php +14 -0
- lib/braintree/lib/Braintree/Address.php +2 -3
- lib/braintree/lib/Braintree/AddressGateway.php +0 -1
- lib/braintree/lib/Braintree/AmexExpressCheckoutCard.php +8 -9
- lib/braintree/lib/Braintree/AndroidPayCard.php +4 -4
- lib/braintree/lib/Braintree/ApplePayCard.php +6 -3
- lib/braintree/lib/Braintree/ApplePayGateway.php +65 -0
- lib/braintree/lib/Braintree/ApplePayOptions.php +28 -0
- lib/braintree/lib/Braintree/AuthorizationAdjustment.php +35 -0
- lib/braintree/lib/Braintree/Base.php +15 -4
- lib/braintree/lib/Braintree/BinData.php +41 -0
- lib/braintree/lib/Braintree/ClientToken.php +1 -1
- lib/braintree/lib/Braintree/ClientTokenGateway.php +2 -2
- lib/braintree/lib/Braintree/CoinbaseAccount.php +0 -2
- lib/braintree/lib/Braintree/Collection.php +0 -1
- lib/braintree/lib/Braintree/Configuration.php +116 -2
- lib/braintree/lib/Braintree/ConnectedMerchantPayPalStatusChanged.php +37 -0
- lib/braintree/lib/Braintree/ConnectedMerchantStatusTransitioned.php +37 -0
- lib/braintree/lib/Braintree/CredentialsParser.php +0 -1
- lib/braintree/lib/Braintree/CreditCard.php +24 -8
- lib/braintree/lib/Braintree/CreditCardGateway.php +3 -4
- lib/braintree/lib/Braintree/CreditCardVerification.php +25 -1
- lib/braintree/lib/Braintree/Customer.php +45 -15
- lib/braintree/lib/Braintree/CustomerGateway.php +51 -9
- lib/braintree/lib/Braintree/Descriptor.php +5 -0
- lib/braintree/lib/Braintree/Digest.php +0 -2
- lib/braintree/lib/Braintree/Disbursement.php +15 -1
- lib/braintree/lib/Braintree/DisbursementDetails.php +3 -4
- lib/braintree/lib/Braintree/Discount.php +14 -0
- lib/braintree/lib/Braintree/Dispute.php +114 -5
- lib/braintree/lib/Braintree/Dispute/EvidenceDetails.php +31 -0
- lib/braintree/lib/Braintree/Dispute/StatusHistoryDetails.php +20 -0
- lib/braintree/lib/Braintree/Dispute/TransactionDetails.php +0 -2
- lib/braintree/lib/Braintree/DisputeGateway.php +274 -0
- lib/braintree/lib/Braintree/DisputeSearch.php +90 -0
- lib/braintree/lib/Braintree/DocumentUpload.php +52 -0
- lib/braintree/lib/Braintree/DocumentUploadGateway.php +81 -0
- lib/braintree/lib/Braintree/EndsWithNode.php +23 -0
- lib/braintree/lib/Braintree/Error/Codes.php +169 -14
- lib/braintree/lib/Braintree/Error/ErrorCollection.php +0 -1
- lib/braintree/lib/Braintree/Error/Validation.php +1 -2
- lib/braintree/lib/Braintree/Error/ValidationErrorCollection.php +1 -2
- lib/braintree/lib/Braintree/EuropeBankAccount.php +0 -1
- lib/braintree/lib/Braintree/Exception.php +0 -1
- lib/braintree/lib/Braintree/Exception/Authentication.php +0 -1
- lib/braintree/lib/Braintree/Exception/Authorization.php +0 -1
- lib/braintree/lib/Braintree/Exception/Connection.php +17 -0
- lib/braintree/lib/Braintree/Exception/DownForMaintenance.php +0 -1
- lib/braintree/lib/Braintree/Exception/ForgedQueryString.php +0 -1
- lib/braintree/lib/Braintree/Exception/NotFound.php +0 -1
- lib/braintree/lib/Braintree/Exception/SSLCaFileNotFound.php +0 -1
- lib/braintree/lib/Braintree/Exception/SSLCertificate.php +0 -1
- lib/braintree/lib/Braintree/Exception/ServerError.php +0 -1
- lib/braintree/lib/Braintree/Exception/TestOperationPerformedInProduction.php +0 -1
- lib/braintree/lib/Braintree/Exception/Timeout.php +0 -1
- lib/braintree/lib/Braintree/Exception/TooManyRequests.php +0 -1
- lib/braintree/lib/Braintree/Exception/Unexpected.php +0 -1
- lib/braintree/lib/Braintree/Exception/UpgradeRequired.php +0 -1
- lib/braintree/lib/Braintree/Exception/ValidationsFailed.php +0 -1
- lib/braintree/lib/Braintree/FacilitatedDetails.php +34 -0
- lib/braintree/lib/Braintree/FacilitatorDetails.php +6 -1
- lib/braintree/lib/Braintree/Gateway.php +71 -1
- lib/braintree/lib/Braintree/GrantedPaymentInstrumentUpdate.php +73 -0
- lib/braintree/lib/Braintree/GraphQL.php +44 -0
- lib/braintree/lib/Braintree/Http.php +102 -22
- lib/braintree/lib/Braintree/IbanBankAccount.php +57 -0
- lib/braintree/lib/Braintree/IdealPayment.php +92 -0
- lib/braintree/lib/Braintree/IdealPaymentGateway.php +104 -0
- lib/braintree/lib/Braintree/Instance.php +0 -1
- lib/braintree/lib/Braintree/LocalPaymentCompleted.php +68 -0
- lib/braintree/lib/Braintree/MasterpassCard.php +141 -0
- lib/braintree/lib/Braintree/MerchantAccount.php +10 -0
- lib/braintree/lib/Braintree/MerchantAccountGateway.php +28 -0
- lib/braintree/lib/Braintree/OAuthAccessRevocation.php +32 -0
- lib/braintree/lib/Braintree/OAuthCredentials.php +0 -2
- lib/braintree/lib/Braintree/OAuthGateway.php +4 -3
- lib/braintree/lib/Braintree/OAuthResult.php +0 -2
- lib/braintree/lib/Braintree/PaginatedCollection.php +120 -0
- lib/braintree/lib/Braintree/PaginatedResult.php +32 -0
- lib/braintree/lib/Braintree/PartnerMerchant.php +0 -1
- lib/braintree/lib/Braintree/PayPalAccount.php +7 -3
- lib/braintree/lib/Braintree/PayPalAccountGateway.php +0 -2
- lib/braintree/lib/Braintree/PaymentInstrumentType.php +4 -0
- lib/braintree/lib/Braintree/PaymentMethod.php +2 -5
- lib/braintree/lib/Braintree/PaymentMethodGateway.php +93 -81
- lib/braintree/lib/Braintree/PaymentMethodNonce.php +10 -3
- lib/braintree/lib/Braintree/PaymentMethodNonceGateway.php +0 -3
- lib/braintree/lib/Braintree/PaymentMethodParser.php +58 -0
- lib/braintree/lib/Braintree/Plan.php +17 -0
- lib/braintree/lib/Braintree/ProcessorResponseTypes.php +15 -0
- lib/braintree/lib/Braintree/ResourceCollection.php +0 -1
- lib/braintree/lib/Braintree/Result/CreditCardVerification.php +3 -2
- lib/braintree/lib/Braintree/Result/Error.php +0 -1
- lib/braintree/lib/Braintree/Result/Successful.php +1 -2
- lib/braintree/lib/Braintree/Result/UsBankAccountVerification.php +112 -0
- lib/braintree/lib/Braintree/RevokedPaymentMethodMetadata.php +53 -0
- lib/braintree/lib/Braintree/RiskData.php +5 -0
- lib/braintree/lib/Braintree/SamsungPayCard.php +138 -0
- lib/braintree/lib/Braintree/SettlementBatchSummary.php +3 -0
- lib/braintree/lib/Braintree/Subscription.php +38 -4
- lib/braintree/lib/Braintree/Subscription/StatusDetails.php +1 -2
- lib/braintree/lib/Braintree/SubscriptionGateway.php +16 -5
- lib/braintree/lib/Braintree/Test/CreditCardNumbers.php +14 -1
- lib/braintree/lib/Braintree/Test/MerchantAccount.php +0 -1
- lib/braintree/lib/Braintree/Test/Nonces.php +12 -2
- lib/braintree/lib/Braintree/Test/Transaction.php +0 -2
- lib/braintree/lib/Braintree/Test/TransactionAmounts.php +3 -3
- lib/braintree/lib/Braintree/Test/VenmoSdk.php +0 -1
- lib/braintree/lib/Braintree/ThreeDSecureInfo.php +5 -0
- lib/braintree/lib/Braintree/Transaction.php +111 -29
- lib/braintree/lib/Braintree/Transaction/AddressDetails.php +0 -1
- lib/braintree/lib/Braintree/Transaction/AmexExpressCheckoutCardDetails.php +0 -2
- lib/braintree/lib/Braintree/Transaction/AndroidPayCardDetails.php +0 -2
- lib/braintree/lib/Braintree/Transaction/ApplePayCardDetails.php +0 -2
- lib/braintree/lib/Braintree/Transaction/CoinbaseDetails.php +0 -2
- lib/braintree/lib/Braintree/Transaction/CreditCardDetails.php +1 -1
- lib/braintree/lib/Braintree/Transaction/CustomerDetails.php +0 -1
- lib/braintree/lib/Braintree/Transaction/EuropeBankAccountDetails.php +0 -1
- lib/braintree/lib/Braintree/Transaction/IdealPaymentDetails.php +23 -0
- lib/braintree/lib/Braintree/Transaction/LineItem.php +4 -0
- lib/braintree/lib/Braintree/Transaction/MasterpassCardDetails.php +52 -0
- lib/braintree/lib/Braintree/Transaction/PayPalDetails.php +13 -5
- lib/braintree/lib/Braintree/Transaction/SamsungPayCardDetails.php +52 -0
- lib/braintree/lib/Braintree/Transaction/StatusDetails.php +5 -6
- lib/braintree/lib/Braintree/Transaction/SubscriptionDetails.php +2 -3
- lib/braintree/lib/Braintree/Transaction/UsBankAccountDetails.php +10 -6
- lib/braintree/lib/Braintree/Transaction/VenmoAccountDetails.php +0 -2
- lib/braintree/lib/Braintree/Transaction/VisaCheckoutCardDetails.php +52 -0
- lib/braintree/lib/Braintree/TransactionGateway.php +81 -13
- lib/braintree/lib/Braintree/TransactionLineItem.php +55 -0
- lib/braintree/lib/Braintree/TransactionLineItemGateway.php +67 -0
- lib/braintree/lib/Braintree/TransactionSearch.php +1 -0
- lib/braintree/lib/Braintree/TransparentRedirect.php +0 -1
- lib/braintree/lib/Braintree/TransparentRedirectGateway.php +0 -1
- lib/braintree/lib/Braintree/UnknownPaymentMethod.php +0 -2
- lib/braintree/lib/Braintree/UsBankAccount.php +33 -2
- lib/braintree/lib/Braintree/UsBankAccountGateway.php +0 -2
- lib/braintree/lib/Braintree/UsBankAccountVerification.php +102 -0
- lib/braintree/lib/Braintree/UsBankAccountVerificationGateway.php +129 -0
- lib/braintree/lib/Braintree/UsBankAccountVerificationSearch.php +64 -0
- lib/braintree/lib/Braintree/Util.php +55 -6
- lib/braintree/lib/Braintree/VenmoAccount.php +5 -5
- lib/braintree/lib/Braintree/Version.php +1 -3
- lib/braintree/lib/Braintree/VisaCheckoutCard.php +154 -0
- lib/braintree/lib/Braintree/WebhookNotification.php +49 -54
- lib/braintree/lib/Braintree/WebhookNotificationGateway.php +77 -0
- lib/braintree/lib/Braintree/WebhookTesting.php +2 -382
- lib/braintree/lib/Braintree/WebhookTestingGateway.php +560 -0
- lib/braintree/lib/Braintree/Xml.php +0 -2
- lib/braintree/lib/Braintree/Xml/Generator.php +0 -4
- lib/braintree/lib/Braintree/Xml/Parser.php +0 -2
- lib/braintree/lib/ssl/api_braintreegateway_com.ca.crt +50 -0
- readme.txt +14 -1
- simple-wp-membership.php +2 -2
- views/admin_category_list.php +1 -1
- views/admin_edit.php +13 -1
- views/admin_membership_manage.php +14 -13
- views/loggedin.php +6 -6
classes/class.simple-wp-membership.php
CHANGED
@@ -228,6 +228,9 @@ class SimpleWpMembership {
|
|
228 |
}
|
229 |
}
|
230 |
SwpmLog::log_auth_debug("Trying wp_signon() with username: " . $username, true);
|
|
|
|
|
|
|
231 |
$user_obj = wp_signon(array('user_login' => $username, 'user_password' => $pass, 'remember' => $rememberme), is_ssl());
|
232 |
if ($user_obj instanceof WP_User) {
|
233 |
wp_set_current_user($user_obj->ID, $user_obj->user_login);
|
@@ -655,9 +658,12 @@ class SimpleWpMembership {
|
|
655 |
'required' => array(
|
656 |
'alertText' => '* ' . SwpmUtils::_('This field is required'),
|
657 |
),
|
|
|
|
|
|
|
658 |
'SWPMUserName' => array(
|
659 |
'alertText' => '* ' . SwpmUtils::_('Invalid Username').'<br>'.SwpmUtils::_('Usernames can only contain: letters, numbers and .-_*@'),
|
660 |
-
),
|
661 |
'minSize' => array(
|
662 |
'alertText' => '* ' . SwpmUtils::_('Minimum '),
|
663 |
'alertText2' => SwpmUtils::_(' characters required'),
|
228 |
}
|
229 |
}
|
230 |
SwpmLog::log_auth_debug("Trying wp_signon() with username: " . $username, true);
|
231 |
+
|
232 |
+
add_filter('wordfence_ls_require_captcha', '__return_false');//For Wordfence plugin's captcha compatibility
|
233 |
+
|
234 |
$user_obj = wp_signon(array('user_login' => $username, 'user_password' => $pass, 'remember' => $rememberme), is_ssl());
|
235 |
if ($user_obj instanceof WP_User) {
|
236 |
wp_set_current_user($user_obj->ID, $user_obj->user_login);
|
658 |
'required' => array(
|
659 |
'alertText' => '* ' . SwpmUtils::_('This field is required'),
|
660 |
),
|
661 |
+
'strongPass' => array(
|
662 |
+
'alertText' => '* ' . SwpmUtils::_('Password must contain at least:').'<br>'.SwpmUtils::_('- a digit').'<br>'.SwpmUtils::_('- an uppercase letter').'<br>'.SwpmUtils::_('- a lowercase letter'),
|
663 |
+
),
|
664 |
'SWPMUserName' => array(
|
665 |
'alertText' => '* ' . SwpmUtils::_('Invalid Username').'<br>'.SwpmUtils::_('Usernames can only contain: letters, numbers and .-_*@'),
|
666 |
+
),
|
667 |
'minSize' => array(
|
668 |
'alertText' => '* ' . SwpmUtils::_('Minimum '),
|
669 |
'alertText2' => SwpmUtils::_(' characters required'),
|
classes/class.swpm-front-registration.php
CHANGED
@@ -269,20 +269,31 @@ class SwpmFrontRegistration extends SwpmRegistration {
|
|
269 |
$member_info = $form->get_sanitized_member_form_data();
|
270 |
SwpmUtils::update_wp_user($auth->get('user_name'), $member_info); //Update corresponding wp user record.
|
271 |
|
272 |
-
|
|
|
273 |
if (isset($member_info['plain_password'])) {
|
274 |
-
//Password was also changed
|
275 |
$msg_str = '<div class="swpm-profile-update-success">' . SwpmUtils::_('Profile updated successfully. You will need to re-login since you changed your password.') . '</div>';
|
276 |
$message = array('succeeded' => true, 'message' => $msg_str);
|
277 |
unset($member_info['plain_password']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
wp_logout(); //Log the user out from the WP user session also.
|
279 |
SwpmLog::log_simple_debug("Member has updated the password from profile edit page. Logging the user out so he can re-login using the new password.", true);
|
280 |
}
|
281 |
-
|
282 |
-
$wpdb->update($wpdb->prefix . "swpm_members_tbl", $member_info, array('member_id' => $auth->get('member_id')));
|
283 |
-
$auth->reload_user_data();
|
284 |
-
|
285 |
SwpmTransfer::get_instance()->set('status', $message);
|
|
|
286 |
do_action('swpm_front_end_profile_edited', $member_info);
|
287 |
return true; //Successful form submission.
|
288 |
} else {
|
269 |
$member_info = $form->get_sanitized_member_form_data();
|
270 |
SwpmUtils::update_wp_user($auth->get('user_name'), $member_info); //Update corresponding wp user record.
|
271 |
|
272 |
+
//Lets check if password was also changed.
|
273 |
+
$password_also_changed = false;
|
274 |
if (isset($member_info['plain_password'])) {
|
275 |
+
//Password was also changed.
|
276 |
$msg_str = '<div class="swpm-profile-update-success">' . SwpmUtils::_('Profile updated successfully. You will need to re-login since you changed your password.') . '</div>';
|
277 |
$message = array('succeeded' => true, 'message' => $msg_str);
|
278 |
unset($member_info['plain_password']);
|
279 |
+
//Set the password chagned flag.
|
280 |
+
$password_also_changed = true;
|
281 |
+
}
|
282 |
+
|
283 |
+
//Update the data in the swpm database.
|
284 |
+
$swpm_id = $auth->get('member_id');
|
285 |
+
//SwpmLog::log_simple_debug("Updating member profile data with SWPM ID: " . $swpm_id, true);
|
286 |
+
$wpdb->update($wpdb->prefix . "swpm_members_tbl", $member_info, array('member_id' => $swpm_id));
|
287 |
+
$auth->reload_user_data();//Reload user data after update so the profile page reflects the new data.
|
288 |
+
|
289 |
+
if ($password_also_changed) {
|
290 |
+
//Password was also changed. Logout the user's current session.
|
291 |
wp_logout(); //Log the user out from the WP user session also.
|
292 |
SwpmLog::log_simple_debug("Member has updated the password from profile edit page. Logging the user out so he can re-login using the new password.", true);
|
293 |
}
|
294 |
+
|
|
|
|
|
|
|
295 |
SwpmTransfer::get_instance()->set('status', $message);
|
296 |
+
|
297 |
do_action('swpm_front_end_profile_edited', $member_info);
|
298 |
return true; //Successful form submission.
|
299 |
} else {
|
classes/class.swpm-members.php
CHANGED
@@ -57,6 +57,11 @@ class SwpmMembers extends WP_List_Table {
|
|
57 |
return $item[$column_name];
|
58 |
}
|
59 |
|
|
|
|
|
|
|
|
|
|
|
60 |
function column_member_id($item) {
|
61 |
$delete_swpmuser_nonce = wp_create_nonce('delete_swpmuser_admin_end');
|
62 |
$actions = array(
|
57 |
return $item[$column_name];
|
58 |
}
|
59 |
|
60 |
+
function column_account_state($item) {
|
61 |
+
$acc_state_str = ucfirst($item['account_state']);
|
62 |
+
return SwpmUtils::_($acc_state_str);
|
63 |
+
}
|
64 |
+
|
65 |
function column_member_id($item) {
|
66 |
$delete_swpmuser_nonce = wp_create_nonce('delete_swpmuser_admin_end');
|
67 |
$actions = array(
|
classes/class.swpm-settings.php
CHANGED
@@ -14,26 +14,25 @@ class SwpmSettings {
|
|
14 |
public function init_config_hooks() {
|
15 |
//This function is called from "admin_init"
|
16 |
//It sets up the various tabs and the fields for the settings admin page.
|
17 |
-
|
18 |
if (is_admin()) { // for frontend just load settings but dont try to render settings page.
|
19 |
-
|
20 |
//Read the value of tab query arg.
|
21 |
-
$tab = isset(
|
22 |
$this->current_tab = empty($tab) ? 1 : $tab;
|
23 |
-
|
24 |
//Setup the available settings tabs array.
|
25 |
$this->tabs = array(
|
26 |
-
1 => SwpmUtils::_('General Settings'),
|
27 |
2 => SwpmUtils::_('Payment Settings'),
|
28 |
-
3 => SwpmUtils::_('Email Settings'),
|
29 |
-
4 => SwpmUtils::_('Tools'),
|
30 |
-
5 => SwpmUtils::_('Advanced Settings'),
|
31 |
6 => SwpmUtils::_('Addons Settings')
|
32 |
);
|
33 |
-
|
34 |
//Register the draw tab action hook. It will be triggered using do_action("swpm-draw-settings-nav-tabs")
|
35 |
add_action('swpm-draw-settings-nav-tabs', array(&$this, 'draw_tabs'));
|
36 |
-
|
37 |
//Register the various settings fields for the current tab.
|
38 |
$method = 'tab_' . $this->current_tab;
|
39 |
if (method_exists($this, $method)) {
|
@@ -44,7 +43,7 @@ class SwpmSettings {
|
|
44 |
|
45 |
private function tab_1() {
|
46 |
//Register settings sections and fileds for the general settings tab.
|
47 |
-
|
48 |
register_setting('swpm-settings-tab-1', 'swpm-settings', array(&$this, 'sanitize_tab_1'));
|
49 |
|
50 |
//This settings section has no heading
|
@@ -69,16 +68,16 @@ class SwpmSettings {
|
|
69 |
'options' => SwpmUtils::get_account_state_options(),
|
70 |
'default' => 'active',
|
71 |
'message' => SwpmUtils::_('Select the default account status for newly registered users. If you want to manually approve the members then you can set the status to "Pending".')));
|
72 |
-
|
73 |
add_settings_field('members-login-to-comment', SwpmUtils::_('Members Must be Logged in to Comment'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'general-settings', array('item' => 'members-login-to-comment',
|
74 |
-
'message' => SwpmUtils::_('Enable this option if you only want the members of the site to be able to post a comment.')));
|
75 |
-
|
76 |
-
/*
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
|
83 |
add_settings_section('pages-settings', SwpmUtils::_('Pages Settings'), array(&$this, 'pages_settings_callback'), 'simple_wp_membership_settings');
|
84 |
add_settings_field('login-page-url', SwpmUtils::_('Login Page URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'pages-settings', array('item' => 'login-page-url',
|
@@ -97,9 +96,9 @@ class SwpmSettings {
|
|
97 |
$debug_field_help_text = SwpmUtils::_('Check this option to enable debug logging.');
|
98 |
$debug_field_help_text .= SwpmUtils::_(' This can be useful when troubleshooting an issue. Turn it off and reset the log files after the troubleshooting is complete.');
|
99 |
$debug_field_help_text .= '<br />';
|
100 |
-
$debug_field_help_text .= '<br />- '. SwpmUtils::_('View general debug log file by clicking ') . '<a href="' . SIMPLE_WP_MEMBERSHIP_URL . '/log.txt" target="_blank">' . SwpmUtils::_('here') . '</a>.';
|
101 |
-
$debug_field_help_text .= '<br />- '. SwpmUtils::_('View login related debug log file by clicking ') . '<a href="' . SIMPLE_WP_MEMBERSHIP_URL . '/log-auth.txt" target="_blank">' . SwpmUtils::_('here') . '</a>.';
|
102 |
-
$debug_field_help_text .= '<br />- '. SwpmUtils::_('Reset debug log files by clicking ') . '<a href="admin.php?page=simple_wp_membership_settings&swmp_reset_log=1" target="_blank">' . SwpmUtils::_('here') . '</a>.';
|
103 |
add_settings_field('enable-debug', SwpmUtils::_('Enable Debug'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'debug-settings', array('item' => 'enable-debug',
|
104 |
'message' => $debug_field_help_text));
|
105 |
add_settings_field('enable-sandbox-testing', SwpmUtils::_('Enable Sandbox Testing'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'debug-settings', array('item' => 'enable-sandbox-testing',
|
@@ -108,17 +107,16 @@ class SwpmSettings {
|
|
108 |
|
109 |
private function tab_2() {
|
110 |
//Register settings sections and fileds for the payment settings tab.
|
111 |
-
|
112 |
}
|
113 |
|
114 |
private function tab_3() {
|
115 |
//Register settings sections and fileds for the email settings tab.
|
116 |
-
|
117 |
register_setting('swpm-settings-tab-3', 'swpm-settings', array(&$this, 'sanitize_tab_3'));
|
118 |
-
|
119 |
add_settings_section('email-settings-overview', SwpmUtils::_('Email Settings Overview'), array(&$this, 'email_settings_overview_callback'), 'simple_wp_membership_settings');
|
120 |
add_settings_section('email-misc-settings', SwpmUtils::_('Email Misc. Settings'), array(&$this, 'email_misc_settings_callback'), 'simple_wp_membership_settings');
|
121 |
-
|
122 |
add_settings_field('email-misc-from', SwpmUtils::_('From Email Address'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'email-misc-settings', array('item' => 'email-from',
|
123 |
'message' => 'This value will be used as the sender\'s address for the emails. Example value: Your Name <sales@your-domain.com>'));
|
124 |
|
@@ -132,10 +130,10 @@ class SwpmSettings {
|
|
132 |
//Registration complete email settings
|
133 |
$msg_for_admin_notify_email_field = SwpmUtils::_('Enter the email address where you want the admin notification email to be sent to.');
|
134 |
$msg_for_admin_notify_email_field .= SwpmUtils::_(' You can put multiple email addresses separated by comma (,) in the above field to send the notification to multiple email addresses.');
|
135 |
-
|
136 |
$msg_for_admin_notify_email_subj = SwpmUtils::_('Enter the subject for the admin notification email.');
|
137 |
$admin_notify_email_body_msg = SwpmUtils::_('This email will be sent to the admin when a new user completes the membership registration. Only works if you have enabled the "Send Notification to Admin" option above.');
|
138 |
-
|
139 |
add_settings_section('reg-email-settings', SwpmUtils::_('Email Settings (Registration Complete)'), array(&$this, 'reg_email_settings_callback'), 'simple_wp_membership_settings');
|
140 |
add_settings_field('reg-complete-mail-subject', SwpmUtils::_('Email Subject'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'reg-complete-mail-subject',
|
141 |
'message' => ''));
|
@@ -146,10 +144,10 @@ class SwpmSettings {
|
|
146 |
add_settings_field('admin-notification-email', SwpmUtils::_('Admin Email Address'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'admin-notification-email',
|
147 |
'message' => $msg_for_admin_notify_email_field));
|
148 |
add_settings_field('reg-complete-mail-subject-admin', SwpmUtils::_('Admin Notification Email Subject'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'reg-complete-mail-subject-admin',
|
149 |
-
'message' => $msg_for_admin_notify_email_subj));
|
150 |
add_settings_field('reg-complete-mail-body-admin', SwpmUtils::_('Admin Notification Email Body'), array(&$this, 'textarea_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'reg-complete-mail-body-admin',
|
151 |
-
'message' => $admin_notify_email_body_msg));
|
152 |
-
|
153 |
add_settings_field('enable-notification-after-manual-user-add', SwpmUtils::_('Send Email to Member When Added via Admin Dashboard'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'enable-notification-after-manual-user-add',
|
154 |
'message' => ''));
|
155 |
|
@@ -171,73 +169,72 @@ class SwpmSettings {
|
|
171 |
//Email activation email settings.
|
172 |
add_settings_section('email-activation-email-settings', SwpmUtils::_(' Email Settings (Email Activation)'), array(&$this, 'email_activation_email_settings_callback'), 'simple_wp_membership_settings');
|
173 |
add_settings_field('email-activation-mail-subject', SwpmUtils::_('Email Subject'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'email-activation-email-settings', array('item' => 'email-activation-mail-subject', 'message' => ''));
|
174 |
-
add_settings_field('email-activation-mail-body', SwpmUtils::_('Email Body'), array(&$this, 'textarea_callback'), 'simple_wp_membership_settings', 'email-activation-email-settings', array('item' => 'email-activation-mail-body', 'message' => ''));
|
175 |
}
|
176 |
|
177 |
private function tab_4() {
|
178 |
//Register settings sections and fileds for the tools tab.
|
179 |
-
|
180 |
}
|
181 |
|
182 |
private function tab_5() {
|
183 |
//Register settings sections and fileds for the advanced settings tab.
|
184 |
-
|
185 |
register_setting('swpm-settings-tab-5', 'swpm-settings', array(&$this, 'sanitize_tab_5'));
|
186 |
|
187 |
add_settings_section('advanced-settings', SwpmUtils::_('Advanced Settings'), array(&$this, 'advanced_settings_callback'), 'simple_wp_membership_settings');
|
188 |
|
189 |
add_settings_field('enable-expired-account-login', SwpmUtils::_('Enable Expired Account Login'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'enable-expired-account-login',
|
190 |
'message' => SwpmUtils::_("When enabled, expired members will be able to log into the system but won't be able to view any protected content. This allows them to easily renew their account by making another payment.")));
|
191 |
-
|
192 |
add_settings_field('renewal-page-url', SwpmUtils::_('Membership Renewal URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'renewal-page-url',
|
193 |
-
'message' => SwpmUtils::_('You can create a renewal page for your site. Read <a href="https://simple-membership-plugin.com/creating-membership-renewal-button/" target="_blank">this documentation</a> to learn how to create a renewal page.'))
|
194 |
-
|
195 |
add_settings_field('after-rego-redirect-page-url', SwpmUtils::_('After Registration Redirect URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'after-rego-redirect-page-url',
|
196 |
-
'message' => SwpmUtils::_('You can enter an URL here to redirect the members to this page after they submit the registration form. Read <a href="https://simple-membership-plugin.com/configure-after-registration-redirect-for-members/" target="_blank">this documentation</a> to learn how to setup after registration redirect.'))
|
197 |
-
|
198 |
add_settings_field('auto-login-after-rego', SwpmUtils::_('Enable Auto Login After Registration'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'auto-login-after-rego',
|
199 |
'message' => SwpmUtils::_('Use this option if you want the members to be automatically logged into your site right after they complete the registration. This option will override any after registration redirection and instead it will trigger the after login redirection. Read <a href="https://simple-membership-plugin.com/configure-auto-login-after-registration-members/" target="_blank">this documentation</a> to learn more.')));
|
200 |
|
201 |
add_settings_field('after-logout-redirection-url', SwpmUtils::_('After Logout Redirect URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'after-logout-redirection-url',
|
202 |
-
'message' => SwpmUtils::_('You can enter an URL here to redirect the members to this page after they click the logout link to logout from your site.'))
|
203 |
-
|
204 |
add_settings_field('logout-member-on-browser-close', SwpmUtils::_('Logout Member on Browser Close'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'logout-member-on-browser-close',
|
205 |
'message' => SwpmUtils::_('Enable this option if you want the member to be logged out of the account when he closes the browser.')));
|
206 |
-
|
207 |
add_settings_field('allow-account-deletion', SwpmUtils::_('Allow Account Deletion'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'allow-account-deletion',
|
208 |
'message' => SwpmUtils::_('Allow users to delete their accounts.')));
|
209 |
-
|
210 |
add_settings_field('force-strong-passwords', SwpmUtils::_('Force Strong Password for Members'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'force-strong-passwords',
|
211 |
'message' => SwpmUtils::_('Enable this if you want the users to be forced to use a strong password for their accounts.')));
|
212 |
-
|
213 |
add_settings_field('use-wordpress-timezone', SwpmUtils::_('Use WordPress Timezone'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'use-wordpress-timezone',
|
214 |
'message' => SwpmUtils::_('Use this option if you want to use the timezone value specified in your WordPress General Settings interface.')));
|
215 |
-
|
216 |
add_settings_field('delete-pending-account', SwpmUtils::_('Auto Delete Pending Account'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'delete-pending-account',
|
217 |
'options' => array(0 => 'Do not delete', 1 => 'Older than 1 month', 2 => 'Older than 2 months'),
|
218 |
'default' => '0',
|
219 |
'message' => SwpmUtils::_('Select how long you want to keep "pending" account.')));
|
220 |
-
|
221 |
add_settings_field('admin-dashboard-access-permission', SwpmUtils::_('Admin Dashboard Access Permission'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'admin-dashboard-access-permission',
|
222 |
'options' => array('manage_options' => 'Admin', 'edit_pages' => 'Editor', 'edit_published_posts' => 'Author', 'edit_posts' => 'Contributor'),
|
223 |
'default' => 'manage_options',
|
224 |
'message' => SwpmUtils::_('SWPM admin dashboard is accessible to admin users only (just like any other plugin). You can allow users with other WP user role to access the SWPM admin dashboard by selecting a value here.')));
|
225 |
-
|
226 |
add_settings_field('force-wp-user-sync', SwpmUtils::_('Force WP User Synchronization'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'force-wp-user-sync',
|
227 |
'message' => SwpmUtils::_('Enable this option if you want to force the member login to be synchronized with WP user account. This can be useful if you are using another plugin that uses WP user records. For example: bbPress plugin.')));
|
228 |
-
|
229 |
//Auto create SWPM user related settings section
|
230 |
add_settings_section('auto-create-swpm-user-settings', SwpmUtils::_('Create Member Accounts for New WP Users'), array(&$this, 'advanced_settings_auto_create_swpm_uses_settings_callback'), 'simple_wp_membership_settings');
|
231 |
-
|
232 |
add_settings_field('enable-auto-create-swpm-members', SwpmUtils::_('Enable Auto Create Member Accounts'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'auto-create-swpm-user-settings', array('item' => 'enable-auto-create-swpm-members',
|
233 |
'message' => SwpmUtils::_('Enable this option to automatically create member accounts for any new WP user that is created by another plugin.')));
|
234 |
-
|
235 |
$levels_array = SwpmMembershipLevelUtils::get_all_membership_levels_in_array();
|
236 |
add_settings_field('auto-create-default-membership-level', SwpmUtils::_('Default Membership Level'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'auto-create-swpm-user-settings', array('item' => 'auto-create-default-membership-level',
|
237 |
'options' => $levels_array,
|
238 |
'default' => '',
|
239 |
'message' => SwpmUtils::_('When automatically creating a member account using this feature, the membership level of the user will be set to the one you specify here.')));
|
240 |
-
|
241 |
$status_array = SwpmUtils::get_account_state_options();
|
242 |
add_settings_field('auto-create-default-account-status', SwpmUtils::_('Default Account Status'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'auto-create-swpm-user-settings', array('item' => 'auto-create-default-account-status',
|
243 |
'options' => $status_array,
|
@@ -245,25 +242,23 @@ class SwpmSettings {
|
|
245 |
'message' => SwpmUtils::_('When automatically creating a member account using this feature, the membership account status of the user will be set to the one you specify here.')));
|
246 |
|
247 |
add_settings_field('payment-notification-forward-url', SwpmUtils::_('Payment Notification Forward URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'payment-notification-forward-url',
|
248 |
-
'message' => SwpmUtils::_('You can enter an URL here to forward the payment notification after the membership payment has been processed by this plugin. Useful if you want to forward the payment notification to an external script for further processing.'))
|
249 |
|
250 |
//Terms and conditions section
|
251 |
-
add_settings_section('terms-and-conditions', SwpmUtils::_('Terms and Conditions'), array(&$this, 'advanced_settings_terms_and_conditions_callback'), 'simple_wp_membership_settings');
|
252 |
|
253 |
add_settings_field('enable-terms-and-conditions', SwpmUtils::_('Enable Terms and Conditions'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'enable-terms-and-conditions',
|
254 |
'message' => SwpmUtils::_('Users must accept the terms before they can complete the registration.')));
|
255 |
add_settings_field('terms-and-conditions-page-url', SwpmUtils::_('Terms and Conditions Page URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'terms-and-conditions-page-url',
|
256 |
-
'message' => SwpmUtils::_('Enter the URL of your terms and conditions page. You can create a WordPress page and specify your terms in there then specify the URL of that page in the above field.'))
|
257 |
add_settings_field('enable-privacy-policy', SwpmUtils::_('Enable Privacy Policy'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'enable-privacy-policy',
|
258 |
'message' => SwpmUtils::_('Users must accept it before they can complete the registration.')));
|
259 |
add_settings_field('privacy-policy-page-url', SwpmUtils::_('Privacy Policy Page URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'privacy-policy-page-url',
|
260 |
-
'message' => SwpmUtils::_('Enter the URL of your privacy policy page.'))
|
261 |
-
|
262 |
}
|
263 |
|
264 |
private function tab_6() {
|
265 |
//Register settings sections and fileds for the addon settings tab.
|
266 |
-
|
267 |
}
|
268 |
|
269 |
public static function get_instance() {
|
@@ -329,8 +324,8 @@ class SwpmSettings {
|
|
329 |
public function swpm_documentation_callback() {
|
330 |
?>
|
331 |
<div class="swpm-orange-box">
|
332 |
-
Visit the <a target="_blank" href="https://simple-membership-plugin.com/">Simple Membership Plugin Site</a
|
333 |
-
|
334 |
</div>
|
335 |
<?php
|
336 |
}
|
@@ -357,7 +352,7 @@ class SwpmSettings {
|
|
357 |
|
358 |
public function pages_settings_callback() {
|
359 |
SwpmUtils::e('Page Setup and URL Related settings.');
|
360 |
-
|
361 |
echo '<p>';
|
362 |
SwpmUtils::e('The following pages are required for the plugin to function correctly. These pages were automatically created by the plugin at install time.');
|
363 |
echo '</p>';
|
@@ -380,22 +375,22 @@ class SwpmSettings {
|
|
380 |
echo '<p>';
|
381 |
SwpmUtils::e('This interface lets you custsomize the various emails that gets sent to your members for various actions. The default settings should be good to get your started.');
|
382 |
echo '</p>';
|
383 |
-
|
384 |
echo '<p>';
|
385 |
-
echo '<a href="https://simple-membership-plugin.com/email-merge-tags-email-shortcodes-for-email-customization/" target="_blank">'.SwpmUtils::_('This documentation').'</a>';
|
386 |
SwpmUtils::e(' explains what email merge tags you can use in the email body field to customize it (if you want to).');
|
387 |
echo '</p>';
|
388 |
echo '</div>';
|
389 |
}
|
390 |
-
|
391 |
public function email_misc_settings_callback() {
|
392 |
-
|
393 |
//Show settings updated message when it is updated
|
394 |
if (isset($_REQUEST['settings-updated'])) {
|
395 |
//This status message need to be in the callback function to prevent header sent warning
|
396 |
echo '<div id="message" class="updated fade"><p>' . SwpmUtils::_('Settings updated!') . '</p></div>';
|
397 |
}
|
398 |
-
|
399 |
SwpmUtils::e('Settings in this section apply to all emails.');
|
400 |
}
|
401 |
|
@@ -406,36 +401,35 @@ class SwpmSettings {
|
|
406 |
public function bulk_activate_email_settings_callback() {
|
407 |
SwpmUtils::e('This email will be sent to your members when you use the bulk account activate and notify action.');
|
408 |
SwpmUtils::e(' You cannot use email merge tags in this email. You can only use generic text.');
|
409 |
-
|
410 |
}
|
411 |
-
|
412 |
public function email_activation_email_settings_callback() {
|
413 |
SwpmUtils::e('This email will be sent if Email Activation is enabled for a Membership Level.');
|
414 |
}
|
415 |
-
|
416 |
public function reg_prompt_email_settings_callback() {
|
417 |
SwpmUtils::e('This email will be sent to prompt users to complete registration after the payment.');
|
418 |
}
|
419 |
|
420 |
public function advanced_settings_callback() {
|
421 |
-
|
422 |
//Show settings updated message when it is updated
|
423 |
if (isset($_REQUEST['settings-updated'])) {
|
424 |
//This status message need to be in the callback function to prevent header sent warning
|
425 |
echo '<div id="message" class="updated fade"><p>' . SwpmUtils::_('Settings updated!') . '</p></div>';
|
426 |
}
|
427 |
-
|
428 |
SwpmUtils::e('This page allows you to configure some advanced features of the plugin.');
|
429 |
}
|
430 |
|
431 |
public function advanced_settings_auto_create_swpm_uses_settings_callback() {
|
432 |
SwpmUtils::e('This section allows you to configure automatic creation of member accounts when new WP User records are created by another plugin. It can be useful if you are using another plugin that creates WP user records and you want them to be recognized in the membership plugin.');
|
433 |
}
|
434 |
-
|
435 |
public function advanced_settings_terms_and_conditions_callback() {
|
436 |
-
SwpmUtils::e('This section allows you to configure terms and conditions and privacy policy that users must accept at registration time.');
|
437 |
}
|
438 |
-
|
439 |
public function sanitize_tab_1($input) {
|
440 |
if (empty($this->settings)) {
|
441 |
$this->settings = (array) get_option('swpm-settings');
|
@@ -446,12 +440,12 @@ class SwpmSettings {
|
|
446 |
$output['hide-adminbar'] = isset($input['hide-adminbar']) ? esc_attr($input['hide-adminbar']) : "";
|
447 |
$output['show-adminbar-admin-only'] = isset($input['show-adminbar-admin-only']) ? esc_attr($input['show-adminbar-admin-only']) : "";
|
448 |
$output['disable-access-to-wp-dashboard'] = isset($input['disable-access-to-wp-dashboard']) ? esc_attr($input['disable-access-to-wp-dashboard']) : "";
|
449 |
-
|
450 |
$output['protect-everything'] = isset($input['protect-everything']) ? esc_attr($input['protect-everything']) : "";
|
451 |
$output['enable-free-membership'] = isset($input['enable-free-membership']) ? esc_attr($input['enable-free-membership']) : "";
|
452 |
$output['enable-moretag'] = isset($input['enable-moretag']) ? esc_attr($input['enable-moretag']) : "";
|
453 |
$output['enable-debug'] = isset($input['enable-debug']) ? esc_attr($input['enable-debug']) : "";
|
454 |
-
$output['enable-sandbox-testing'] = isset($input['enable-sandbox-testing']) ? esc_attr($input['enable-sandbox-testing']) : "";
|
455 |
|
456 |
$output['free-membership-id'] = ($input['free-membership-id'] != 1) ? absint($input['free-membership-id']) : '';
|
457 |
$output['login-page-url'] = esc_url($input['login-page-url']);
|
@@ -461,7 +455,7 @@ class SwpmSettings {
|
|
461 |
$output['join-us-page-url'] = esc_url($input['join-us-page-url']);
|
462 |
$output['default-account-status'] = esc_attr($input['default-account-status']);
|
463 |
$output['members-login-to-comment'] = isset($input['members-login-to-comment']) ? esc_attr($input['members-login-to-comment']) : "";
|
464 |
-
|
465 |
return $output;
|
466 |
}
|
467 |
|
@@ -486,7 +480,7 @@ class SwpmSettings {
|
|
486 |
|
487 |
$output['email-activation-mail-subject'] = sanitize_text_field($input['email-activation-mail-subject']);
|
488 |
$output['email-activation-mail-body'] = wp_kses_data(force_balance_tags($input['email-activation-mail-body']));
|
489 |
-
|
490 |
$output['reg-prompt-complete-mail-subject'] = sanitize_text_field($input['reg-prompt-complete-mail-subject']);
|
491 |
$output['reg-prompt-complete-mail-body'] = wp_kses_data(force_balance_tags($input['reg-prompt-complete-mail-body']));
|
492 |
$output['email-from'] = trim($input['email-from']);
|
@@ -515,7 +509,7 @@ class SwpmSettings {
|
|
515 |
$output['auto-login-after-rego'] = isset($input['auto-login-after-rego']) ? esc_attr($input['auto-login-after-rego']) : "";
|
516 |
$output['force-wp-user-sync'] = isset($input['force-wp-user-sync']) ? esc_attr($input['force-wp-user-sync']) : "";
|
517 |
$output['payment-notification-forward-url'] = esc_url($input['payment-notification-forward-url']);
|
518 |
-
|
519 |
//Auto create swpm user related settings
|
520 |
$output['enable-auto-create-swpm-members'] = isset($input['enable-auto-create-swpm-members']) ? esc_attr($input['enable-auto-create-swpm-members']) : "";
|
521 |
$output['auto-create-default-membership-level'] = isset($input['auto-create-default-membership-level']) ? esc_attr($input['auto-create-default-membership-level']) : "";
|
@@ -548,64 +542,62 @@ class SwpmSettings {
|
|
548 |
$current = $this->current_tab;
|
549 |
?>
|
550 |
<h2 class="nav-tab-wrapper">
|
551 |
-
<?php foreach ($this->tabs as $id => $label){ ?>
|
552 |
<a class="nav-tab <?php echo ($current == $id) ? 'nav-tab-active' : ''; ?>" href="admin.php?page=simple_wp_membership_settings&tab=<?php echo $id ?>"><?php echo $label ?></a>
|
553 |
<?php } ?>
|
554 |
</h2>
|
555 |
<?php
|
556 |
}
|
557 |
-
|
558 |
-
public function handle_main_settings_admin_menu(){
|
559 |
|
560 |
-
|
561 |
-
|
|
|
562 |
?>
|
563 |
<div class="wrap swpm-admin-menu-wrap"><!-- start wrap -->
|
564 |
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
|
|
|
|
605 |
}
|
606 |
-
|
607 |
-
echo '</div>';//<!-- end of wrap -->
|
608 |
-
|
609 |
}
|
610 |
-
|
611 |
-
}
|
14 |
public function init_config_hooks() {
|
15 |
//This function is called from "admin_init"
|
16 |
//It sets up the various tabs and the fields for the settings admin page.
|
17 |
+
|
18 |
if (is_admin()) { // for frontend just load settings but dont try to render settings page.
|
|
|
19 |
//Read the value of tab query arg.
|
20 |
+
$tab = isset($_REQUEST['tab']) ? sanitize_text_field($_REQUEST['tab']) : 1;
|
21 |
$this->current_tab = empty($tab) ? 1 : $tab;
|
22 |
+
|
23 |
//Setup the available settings tabs array.
|
24 |
$this->tabs = array(
|
25 |
+
1 => SwpmUtils::_('General Settings'),
|
26 |
2 => SwpmUtils::_('Payment Settings'),
|
27 |
+
3 => SwpmUtils::_('Email Settings'),
|
28 |
+
4 => SwpmUtils::_('Tools'),
|
29 |
+
5 => SwpmUtils::_('Advanced Settings'),
|
30 |
6 => SwpmUtils::_('Addons Settings')
|
31 |
);
|
32 |
+
|
33 |
//Register the draw tab action hook. It will be triggered using do_action("swpm-draw-settings-nav-tabs")
|
34 |
add_action('swpm-draw-settings-nav-tabs', array(&$this, 'draw_tabs'));
|
35 |
+
|
36 |
//Register the various settings fields for the current tab.
|
37 |
$method = 'tab_' . $this->current_tab;
|
38 |
if (method_exists($this, $method)) {
|
43 |
|
44 |
private function tab_1() {
|
45 |
//Register settings sections and fileds for the general settings tab.
|
46 |
+
|
47 |
register_setting('swpm-settings-tab-1', 'swpm-settings', array(&$this, 'sanitize_tab_1'));
|
48 |
|
49 |
//This settings section has no heading
|
68 |
'options' => SwpmUtils::get_account_state_options(),
|
69 |
'default' => 'active',
|
70 |
'message' => SwpmUtils::_('Select the default account status for newly registered users. If you want to manually approve the members then you can set the status to "Pending".')));
|
71 |
+
|
72 |
add_settings_field('members-login-to-comment', SwpmUtils::_('Members Must be Logged in to Comment'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'general-settings', array('item' => 'members-login-to-comment',
|
73 |
+
'message' => SwpmUtils::_('Enable this option if you only want the members of the site to be able to post a comment.')));
|
74 |
+
|
75 |
+
/*
|
76 |
+
add_settings_field('protect-everything', SwpmUtils::_('Protect Everything'),
|
77 |
+
array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'general-settings',
|
78 |
+
array('item' => 'protect-everything',
|
79 |
+
'message'=>SwpmUtils::_('Check this box if you want to protect all posts/pages by default.')));
|
80 |
+
*/
|
81 |
|
82 |
add_settings_section('pages-settings', SwpmUtils::_('Pages Settings'), array(&$this, 'pages_settings_callback'), 'simple_wp_membership_settings');
|
83 |
add_settings_field('login-page-url', SwpmUtils::_('Login Page URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'pages-settings', array('item' => 'login-page-url',
|
96 |
$debug_field_help_text = SwpmUtils::_('Check this option to enable debug logging.');
|
97 |
$debug_field_help_text .= SwpmUtils::_(' This can be useful when troubleshooting an issue. Turn it off and reset the log files after the troubleshooting is complete.');
|
98 |
$debug_field_help_text .= '<br />';
|
99 |
+
$debug_field_help_text .= '<br />- ' . SwpmUtils::_('View general debug log file by clicking ') . '<a href="' . SIMPLE_WP_MEMBERSHIP_URL . '/log.txt" target="_blank">' . SwpmUtils::_('here') . '</a>.';
|
100 |
+
$debug_field_help_text .= '<br />- ' . SwpmUtils::_('View login related debug log file by clicking ') . '<a href="' . SIMPLE_WP_MEMBERSHIP_URL . '/log-auth.txt" target="_blank">' . SwpmUtils::_('here') . '</a>.';
|
101 |
+
$debug_field_help_text .= '<br />- ' . SwpmUtils::_('Reset debug log files by clicking ') . '<a href="admin.php?page=simple_wp_membership_settings&swmp_reset_log=1" target="_blank">' . SwpmUtils::_('here') . '</a>.';
|
102 |
add_settings_field('enable-debug', SwpmUtils::_('Enable Debug'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'debug-settings', array('item' => 'enable-debug',
|
103 |
'message' => $debug_field_help_text));
|
104 |
add_settings_field('enable-sandbox-testing', SwpmUtils::_('Enable Sandbox Testing'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'debug-settings', array('item' => 'enable-sandbox-testing',
|
107 |
|
108 |
private function tab_2() {
|
109 |
//Register settings sections and fileds for the payment settings tab.
|
|
|
110 |
}
|
111 |
|
112 |
private function tab_3() {
|
113 |
//Register settings sections and fileds for the email settings tab.
|
114 |
+
|
115 |
register_setting('swpm-settings-tab-3', 'swpm-settings', array(&$this, 'sanitize_tab_3'));
|
116 |
+
|
117 |
add_settings_section('email-settings-overview', SwpmUtils::_('Email Settings Overview'), array(&$this, 'email_settings_overview_callback'), 'simple_wp_membership_settings');
|
118 |
add_settings_section('email-misc-settings', SwpmUtils::_('Email Misc. Settings'), array(&$this, 'email_misc_settings_callback'), 'simple_wp_membership_settings');
|
119 |
+
|
120 |
add_settings_field('email-misc-from', SwpmUtils::_('From Email Address'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'email-misc-settings', array('item' => 'email-from',
|
121 |
'message' => 'This value will be used as the sender\'s address for the emails. Example value: Your Name <sales@your-domain.com>'));
|
122 |
|
130 |
//Registration complete email settings
|
131 |
$msg_for_admin_notify_email_field = SwpmUtils::_('Enter the email address where you want the admin notification email to be sent to.');
|
132 |
$msg_for_admin_notify_email_field .= SwpmUtils::_(' You can put multiple email addresses separated by comma (,) in the above field to send the notification to multiple email addresses.');
|
133 |
+
|
134 |
$msg_for_admin_notify_email_subj = SwpmUtils::_('Enter the subject for the admin notification email.');
|
135 |
$admin_notify_email_body_msg = SwpmUtils::_('This email will be sent to the admin when a new user completes the membership registration. Only works if you have enabled the "Send Notification to Admin" option above.');
|
136 |
+
|
137 |
add_settings_section('reg-email-settings', SwpmUtils::_('Email Settings (Registration Complete)'), array(&$this, 'reg_email_settings_callback'), 'simple_wp_membership_settings');
|
138 |
add_settings_field('reg-complete-mail-subject', SwpmUtils::_('Email Subject'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'reg-complete-mail-subject',
|
139 |
'message' => ''));
|
144 |
add_settings_field('admin-notification-email', SwpmUtils::_('Admin Email Address'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'admin-notification-email',
|
145 |
'message' => $msg_for_admin_notify_email_field));
|
146 |
add_settings_field('reg-complete-mail-subject-admin', SwpmUtils::_('Admin Notification Email Subject'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'reg-complete-mail-subject-admin',
|
147 |
+
'message' => $msg_for_admin_notify_email_subj));
|
148 |
add_settings_field('reg-complete-mail-body-admin', SwpmUtils::_('Admin Notification Email Body'), array(&$this, 'textarea_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'reg-complete-mail-body-admin',
|
149 |
+
'message' => $admin_notify_email_body_msg));
|
150 |
+
|
151 |
add_settings_field('enable-notification-after-manual-user-add', SwpmUtils::_('Send Email to Member When Added via Admin Dashboard'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'reg-email-settings', array('item' => 'enable-notification-after-manual-user-add',
|
152 |
'message' => ''));
|
153 |
|
169 |
//Email activation email settings.
|
170 |
add_settings_section('email-activation-email-settings', SwpmUtils::_(' Email Settings (Email Activation)'), array(&$this, 'email_activation_email_settings_callback'), 'simple_wp_membership_settings');
|
171 |
add_settings_field('email-activation-mail-subject', SwpmUtils::_('Email Subject'), array(&$this, 'textfield_callback'), 'simple_wp_membership_settings', 'email-activation-email-settings', array('item' => 'email-activation-mail-subject', 'message' => ''));
|
172 |
+
add_settings_field('email-activation-mail-body', SwpmUtils::_('Email Body'), array(&$this, 'textarea_callback'), 'simple_wp_membership_settings', 'email-activation-email-settings', array('item' => 'email-activation-mail-body', 'message' => ''));
|
173 |
}
|
174 |
|
175 |
private function tab_4() {
|
176 |
//Register settings sections and fileds for the tools tab.
|
|
|
177 |
}
|
178 |
|
179 |
private function tab_5() {
|
180 |
//Register settings sections and fileds for the advanced settings tab.
|
181 |
+
|
182 |
register_setting('swpm-settings-tab-5', 'swpm-settings', array(&$this, 'sanitize_tab_5'));
|
183 |
|
184 |
add_settings_section('advanced-settings', SwpmUtils::_('Advanced Settings'), array(&$this, 'advanced_settings_callback'), 'simple_wp_membership_settings');
|
185 |
|
186 |
add_settings_field('enable-expired-account-login', SwpmUtils::_('Enable Expired Account Login'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'enable-expired-account-login',
|
187 |
'message' => SwpmUtils::_("When enabled, expired members will be able to log into the system but won't be able to view any protected content. This allows them to easily renew their account by making another payment.")));
|
188 |
+
|
189 |
add_settings_field('renewal-page-url', SwpmUtils::_('Membership Renewal URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'renewal-page-url',
|
190 |
+
'message' => SwpmUtils::_('You can create a renewal page for your site. Read <a href="https://simple-membership-plugin.com/creating-membership-renewal-button/" target="_blank">this documentation</a> to learn how to create a renewal page.')));
|
191 |
+
|
192 |
add_settings_field('after-rego-redirect-page-url', SwpmUtils::_('After Registration Redirect URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'after-rego-redirect-page-url',
|
193 |
+
'message' => SwpmUtils::_('You can enter an URL here to redirect the members to this page after they submit the registration form. Read <a href="https://simple-membership-plugin.com/configure-after-registration-redirect-for-members/" target="_blank">this documentation</a> to learn how to setup after registration redirect.')));
|
194 |
+
|
195 |
add_settings_field('auto-login-after-rego', SwpmUtils::_('Enable Auto Login After Registration'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'auto-login-after-rego',
|
196 |
'message' => SwpmUtils::_('Use this option if you want the members to be automatically logged into your site right after they complete the registration. This option will override any after registration redirection and instead it will trigger the after login redirection. Read <a href="https://simple-membership-plugin.com/configure-auto-login-after-registration-members/" target="_blank">this documentation</a> to learn more.')));
|
197 |
|
198 |
add_settings_field('after-logout-redirection-url', SwpmUtils::_('After Logout Redirect URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'after-logout-redirection-url',
|
199 |
+
'message' => SwpmUtils::_('You can enter an URL here to redirect the members to this page after they click the logout link to logout from your site.')));
|
200 |
+
|
201 |
add_settings_field('logout-member-on-browser-close', SwpmUtils::_('Logout Member on Browser Close'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'logout-member-on-browser-close',
|
202 |
'message' => SwpmUtils::_('Enable this option if you want the member to be logged out of the account when he closes the browser.')));
|
203 |
+
|
204 |
add_settings_field('allow-account-deletion', SwpmUtils::_('Allow Account Deletion'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'allow-account-deletion',
|
205 |
'message' => SwpmUtils::_('Allow users to delete their accounts.')));
|
206 |
+
|
207 |
add_settings_field('force-strong-passwords', SwpmUtils::_('Force Strong Password for Members'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'force-strong-passwords',
|
208 |
'message' => SwpmUtils::_('Enable this if you want the users to be forced to use a strong password for their accounts.')));
|
209 |
+
|
210 |
add_settings_field('use-wordpress-timezone', SwpmUtils::_('Use WordPress Timezone'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'use-wordpress-timezone',
|
211 |
'message' => SwpmUtils::_('Use this option if you want to use the timezone value specified in your WordPress General Settings interface.')));
|
212 |
+
|
213 |
add_settings_field('delete-pending-account', SwpmUtils::_('Auto Delete Pending Account'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'delete-pending-account',
|
214 |
'options' => array(0 => 'Do not delete', 1 => 'Older than 1 month', 2 => 'Older than 2 months'),
|
215 |
'default' => '0',
|
216 |
'message' => SwpmUtils::_('Select how long you want to keep "pending" account.')));
|
217 |
+
|
218 |
add_settings_field('admin-dashboard-access-permission', SwpmUtils::_('Admin Dashboard Access Permission'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'admin-dashboard-access-permission',
|
219 |
'options' => array('manage_options' => 'Admin', 'edit_pages' => 'Editor', 'edit_published_posts' => 'Author', 'edit_posts' => 'Contributor'),
|
220 |
'default' => 'manage_options',
|
221 |
'message' => SwpmUtils::_('SWPM admin dashboard is accessible to admin users only (just like any other plugin). You can allow users with other WP user role to access the SWPM admin dashboard by selecting a value here.')));
|
222 |
+
|
223 |
add_settings_field('force-wp-user-sync', SwpmUtils::_('Force WP User Synchronization'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'force-wp-user-sync',
|
224 |
'message' => SwpmUtils::_('Enable this option if you want to force the member login to be synchronized with WP user account. This can be useful if you are using another plugin that uses WP user records. For example: bbPress plugin.')));
|
225 |
+
|
226 |
//Auto create SWPM user related settings section
|
227 |
add_settings_section('auto-create-swpm-user-settings', SwpmUtils::_('Create Member Accounts for New WP Users'), array(&$this, 'advanced_settings_auto_create_swpm_uses_settings_callback'), 'simple_wp_membership_settings');
|
228 |
+
|
229 |
add_settings_field('enable-auto-create-swpm-members', SwpmUtils::_('Enable Auto Create Member Accounts'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'auto-create-swpm-user-settings', array('item' => 'enable-auto-create-swpm-members',
|
230 |
'message' => SwpmUtils::_('Enable this option to automatically create member accounts for any new WP user that is created by another plugin.')));
|
231 |
+
|
232 |
$levels_array = SwpmMembershipLevelUtils::get_all_membership_levels_in_array();
|
233 |
add_settings_field('auto-create-default-membership-level', SwpmUtils::_('Default Membership Level'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'auto-create-swpm-user-settings', array('item' => 'auto-create-default-membership-level',
|
234 |
'options' => $levels_array,
|
235 |
'default' => '',
|
236 |
'message' => SwpmUtils::_('When automatically creating a member account using this feature, the membership level of the user will be set to the one you specify here.')));
|
237 |
+
|
238 |
$status_array = SwpmUtils::get_account_state_options();
|
239 |
add_settings_field('auto-create-default-account-status', SwpmUtils::_('Default Account Status'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'auto-create-swpm-user-settings', array('item' => 'auto-create-default-account-status',
|
240 |
'options' => $status_array,
|
242 |
'message' => SwpmUtils::_('When automatically creating a member account using this feature, the membership account status of the user will be set to the one you specify here.')));
|
243 |
|
244 |
add_settings_field('payment-notification-forward-url', SwpmUtils::_('Payment Notification Forward URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'payment-notification-forward-url',
|
245 |
+
'message' => SwpmUtils::_('You can enter an URL here to forward the payment notification after the membership payment has been processed by this plugin. Useful if you want to forward the payment notification to an external script for further processing.')));
|
246 |
|
247 |
//Terms and conditions section
|
248 |
+
add_settings_section('terms-and-conditions', SwpmUtils::_('Terms and Conditions'), array(&$this, 'advanced_settings_terms_and_conditions_callback'), 'simple_wp_membership_settings');
|
249 |
|
250 |
add_settings_field('enable-terms-and-conditions', SwpmUtils::_('Enable Terms and Conditions'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'enable-terms-and-conditions',
|
251 |
'message' => SwpmUtils::_('Users must accept the terms before they can complete the registration.')));
|
252 |
add_settings_field('terms-and-conditions-page-url', SwpmUtils::_('Terms and Conditions Page URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'terms-and-conditions-page-url',
|
253 |
+
'message' => SwpmUtils::_('Enter the URL of your terms and conditions page. You can create a WordPress page and specify your terms in there then specify the URL of that page in the above field.')));
|
254 |
add_settings_field('enable-privacy-policy', SwpmUtils::_('Enable Privacy Policy'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'enable-privacy-policy',
|
255 |
'message' => SwpmUtils::_('Users must accept it before they can complete the registration.')));
|
256 |
add_settings_field('privacy-policy-page-url', SwpmUtils::_('Privacy Policy Page URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'privacy-policy-page-url',
|
257 |
+
'message' => SwpmUtils::_('Enter the URL of your privacy policy page.')));
|
|
|
258 |
}
|
259 |
|
260 |
private function tab_6() {
|
261 |
//Register settings sections and fileds for the addon settings tab.
|
|
|
262 |
}
|
263 |
|
264 |
public static function get_instance() {
|
324 |
public function swpm_documentation_callback() {
|
325 |
?>
|
326 |
<div class="swpm-orange-box">
|
327 |
+
<?php printf(SwpmUtils::_('Visit the %s to read setup and configuration documentation.'), '<a target="_blank" href="https://simple-membership-plugin.com/">' . SwpmUtils::_('Simple Membership Plugin Site') . '</a>'); ?>
|
328 |
+
<?php printf(SwpmUtils::_('Please %s if you like the plugin.'), '<a href="https://wordpress.org/support/view/plugin-reviews/simple-membership?filter=5" target="_blank">' . SwpmUtils::_('give us a rating') . '</a>'); ?>
|
329 |
</div>
|
330 |
<?php
|
331 |
}
|
352 |
|
353 |
public function pages_settings_callback() {
|
354 |
SwpmUtils::e('Page Setup and URL Related settings.');
|
355 |
+
|
356 |
echo '<p>';
|
357 |
SwpmUtils::e('The following pages are required for the plugin to function correctly. These pages were automatically created by the plugin at install time.');
|
358 |
echo '</p>';
|
375 |
echo '<p>';
|
376 |
SwpmUtils::e('This interface lets you custsomize the various emails that gets sent to your members for various actions. The default settings should be good to get your started.');
|
377 |
echo '</p>';
|
378 |
+
|
379 |
echo '<p>';
|
380 |
+
echo '<a href="https://simple-membership-plugin.com/email-merge-tags-email-shortcodes-for-email-customization/" target="_blank">' . SwpmUtils::_('This documentation') . '</a>';
|
381 |
SwpmUtils::e(' explains what email merge tags you can use in the email body field to customize it (if you want to).');
|
382 |
echo '</p>';
|
383 |
echo '</div>';
|
384 |
}
|
385 |
+
|
386 |
public function email_misc_settings_callback() {
|
387 |
+
|
388 |
//Show settings updated message when it is updated
|
389 |
if (isset($_REQUEST['settings-updated'])) {
|
390 |
//This status message need to be in the callback function to prevent header sent warning
|
391 |
echo '<div id="message" class="updated fade"><p>' . SwpmUtils::_('Settings updated!') . '</p></div>';
|
392 |
}
|
393 |
+
|
394 |
SwpmUtils::e('Settings in this section apply to all emails.');
|
395 |
}
|
396 |
|
401 |
public function bulk_activate_email_settings_callback() {
|
402 |
SwpmUtils::e('This email will be sent to your members when you use the bulk account activate and notify action.');
|
403 |
SwpmUtils::e(' You cannot use email merge tags in this email. You can only use generic text.');
|
|
|
404 |
}
|
405 |
+
|
406 |
public function email_activation_email_settings_callback() {
|
407 |
SwpmUtils::e('This email will be sent if Email Activation is enabled for a Membership Level.');
|
408 |
}
|
409 |
+
|
410 |
public function reg_prompt_email_settings_callback() {
|
411 |
SwpmUtils::e('This email will be sent to prompt users to complete registration after the payment.');
|
412 |
}
|
413 |
|
414 |
public function advanced_settings_callback() {
|
415 |
+
|
416 |
//Show settings updated message when it is updated
|
417 |
if (isset($_REQUEST['settings-updated'])) {
|
418 |
//This status message need to be in the callback function to prevent header sent warning
|
419 |
echo '<div id="message" class="updated fade"><p>' . SwpmUtils::_('Settings updated!') . '</p></div>';
|
420 |
}
|
421 |
+
|
422 |
SwpmUtils::e('This page allows you to configure some advanced features of the plugin.');
|
423 |
}
|
424 |
|
425 |
public function advanced_settings_auto_create_swpm_uses_settings_callback() {
|
426 |
SwpmUtils::e('This section allows you to configure automatic creation of member accounts when new WP User records are created by another plugin. It can be useful if you are using another plugin that creates WP user records and you want them to be recognized in the membership plugin.');
|
427 |
}
|
428 |
+
|
429 |
public function advanced_settings_terms_and_conditions_callback() {
|
430 |
+
SwpmUtils::e('This section allows you to configure terms and conditions and privacy policy that users must accept at registration time.');
|
431 |
}
|
432 |
+
|
433 |
public function sanitize_tab_1($input) {
|
434 |
if (empty($this->settings)) {
|
435 |
$this->settings = (array) get_option('swpm-settings');
|
440 |
$output['hide-adminbar'] = isset($input['hide-adminbar']) ? esc_attr($input['hide-adminbar']) : "";
|
441 |
$output['show-adminbar-admin-only'] = isset($input['show-adminbar-admin-only']) ? esc_attr($input['show-adminbar-admin-only']) : "";
|
442 |
$output['disable-access-to-wp-dashboard'] = isset($input['disable-access-to-wp-dashboard']) ? esc_attr($input['disable-access-to-wp-dashboard']) : "";
|
443 |
+
|
444 |
$output['protect-everything'] = isset($input['protect-everything']) ? esc_attr($input['protect-everything']) : "";
|
445 |
$output['enable-free-membership'] = isset($input['enable-free-membership']) ? esc_attr($input['enable-free-membership']) : "";
|
446 |
$output['enable-moretag'] = isset($input['enable-moretag']) ? esc_attr($input['enable-moretag']) : "";
|
447 |
$output['enable-debug'] = isset($input['enable-debug']) ? esc_attr($input['enable-debug']) : "";
|
448 |
+
$output['enable-sandbox-testing'] = isset($input['enable-sandbox-testing']) ? esc_attr($input['enable-sandbox-testing']) : "";
|
449 |
|
450 |
$output['free-membership-id'] = ($input['free-membership-id'] != 1) ? absint($input['free-membership-id']) : '';
|
451 |
$output['login-page-url'] = esc_url($input['login-page-url']);
|
455 |
$output['join-us-page-url'] = esc_url($input['join-us-page-url']);
|
456 |
$output['default-account-status'] = esc_attr($input['default-account-status']);
|
457 |
$output['members-login-to-comment'] = isset($input['members-login-to-comment']) ? esc_attr($input['members-login-to-comment']) : "";
|
458 |
+
|
459 |
return $output;
|
460 |
}
|
461 |
|
480 |
|
481 |
$output['email-activation-mail-subject'] = sanitize_text_field($input['email-activation-mail-subject']);
|
482 |
$output['email-activation-mail-body'] = wp_kses_data(force_balance_tags($input['email-activation-mail-body']));
|
483 |
+
|
484 |
$output['reg-prompt-complete-mail-subject'] = sanitize_text_field($input['reg-prompt-complete-mail-subject']);
|
485 |
$output['reg-prompt-complete-mail-body'] = wp_kses_data(force_balance_tags($input['reg-prompt-complete-mail-body']));
|
486 |
$output['email-from'] = trim($input['email-from']);
|
509 |
$output['auto-login-after-rego'] = isset($input['auto-login-after-rego']) ? esc_attr($input['auto-login-after-rego']) : "";
|
510 |
$output['force-wp-user-sync'] = isset($input['force-wp-user-sync']) ? esc_attr($input['force-wp-user-sync']) : "";
|
511 |
$output['payment-notification-forward-url'] = esc_url($input['payment-notification-forward-url']);
|
512 |
+
|
513 |
//Auto create swpm user related settings
|
514 |
$output['enable-auto-create-swpm-members'] = isset($input['enable-auto-create-swpm-members']) ? esc_attr($input['enable-auto-create-swpm-members']) : "";
|
515 |
$output['auto-create-default-membership-level'] = isset($input['auto-create-default-membership-level']) ? esc_attr($input['auto-create-default-membership-level']) : "";
|
542 |
$current = $this->current_tab;
|
543 |
?>
|
544 |
<h2 class="nav-tab-wrapper">
|
545 |
+
<?php foreach ($this->tabs as $id => $label) { ?>
|
546 |
<a class="nav-tab <?php echo ($current == $id) ? 'nav-tab-active' : ''; ?>" href="admin.php?page=simple_wp_membership_settings&tab=<?php echo $id ?>"><?php echo $label ?></a>
|
547 |
<?php } ?>
|
548 |
</h2>
|
549 |
<?php
|
550 |
}
|
|
|
|
|
551 |
|
552 |
+
public function handle_main_settings_admin_menu() {
|
553 |
+
|
554 |
+
do_action('swpm_settings_menu_start');
|
555 |
?>
|
556 |
<div class="wrap swpm-admin-menu-wrap"><!-- start wrap -->
|
557 |
|
558 |
+
<h1><?php echo SwpmUtils::_('Simple WP Membership::Settings') ?></h1><!-- page title -->
|
559 |
+
|
560 |
+
<!-- start nav menu tabs -->
|
561 |
+
<?php do_action("swpm-draw-settings-nav-tabs"); ?>
|
562 |
+
<!-- end nav menu tabs -->
|
563 |
+
<?php
|
564 |
+
do_action('swpm_settings_menu_after_nav_tabs');
|
565 |
+
|
566 |
+
//Switch to handle the body of each of the various settings pages based on the currently selected tab
|
567 |
+
$current_tab = $this->current_tab;
|
568 |
+
switch ($current_tab) {
|
569 |
+
case 1:
|
570 |
+
//General settings
|
571 |
+
include(SIMPLE_WP_MEMBERSHIP_PATH . 'views/admin_settings.php');
|
572 |
+
break;
|
573 |
+
case 2:
|
574 |
+
//Payment settings
|
575 |
+
include(SIMPLE_WP_MEMBERSHIP_PATH . 'views/payments/admin_payment_settings.php');
|
576 |
+
break;
|
577 |
+
case 3:
|
578 |
+
//Email settings
|
579 |
+
include(SIMPLE_WP_MEMBERSHIP_PATH . 'views/admin_settings.php');
|
580 |
+
break;
|
581 |
+
case 4:
|
582 |
+
//Tools
|
583 |
+
include(SIMPLE_WP_MEMBERSHIP_PATH . 'views/admin_tools_settings.php');
|
584 |
+
break;
|
585 |
+
case 5:
|
586 |
+
//Advanced settings
|
587 |
+
include(SIMPLE_WP_MEMBERSHIP_PATH . 'views/admin_settings.php');
|
588 |
+
break;
|
589 |
+
case 6:
|
590 |
+
//Addon settings
|
591 |
+
include(SIMPLE_WP_MEMBERSHIP_PATH . 'views/admin_addon_settings.php');
|
592 |
+
break;
|
593 |
+
default:
|
594 |
+
//The default fallback (general settings)
|
595 |
+
include(SIMPLE_WP_MEMBERSHIP_PATH . 'views/admin_settings.php');
|
596 |
+
break;
|
597 |
+
}
|
598 |
+
|
599 |
+
echo '</div>'; //<!-- end of wrap -->
|
600 |
}
|
601 |
+
|
|
|
|
|
602 |
}
|
603 |
+
|
|
ipn/swpm_handle_subsc_ipn.php
CHANGED
@@ -94,11 +94,9 @@ function swpm_handle_subsc_signup_stand_alone($ipn_data, $subsc_ref, $unique_ref
|
|
94 |
$data['last_name'] = $ipn_data['last_name'];
|
95 |
$data['email'] = $ipn_data['payer_email'];
|
96 |
$data['membership_level'] = $membership_level;
|
97 |
-
$data['subscr_id'] = $
|
|
|
98 |
$data['gender'] = 'not specified';
|
99 |
-
|
100 |
-
swpm_debug_log_subsc("Creating new member account. Membership level ID: " . $membership_level, true);
|
101 |
-
|
102 |
$data['address_street'] = $ipn_data['address_street'];
|
103 |
$data['address_city'] = $ipn_data['address_city'];
|
104 |
$data['address_state'] = $ipn_data['address_state'];
|
@@ -110,9 +108,10 @@ function swpm_handle_subsc_signup_stand_alone($ipn_data, $subsc_ref, $unique_ref
|
|
110 |
$md5_code = md5($reg_code);
|
111 |
$data['reg_code'] = $md5_code;
|
112 |
$data['referrer'] = $data['extra_info'] = $data['txn_id'] = '';
|
113 |
-
$data['subscr_id'] = $subscr_id;
|
114 |
$data['last_accessed_from_ip'] = isset($user_ip) ? $user_ip : ''; //Save the users IP address
|
115 |
|
|
|
|
|
116 |
$data = array_filter($data); //Remove any null values.
|
117 |
$wpdb->insert($members_table_name, $data); //Create the member record
|
118 |
$results = $wpdb->get_row($wpdb->prepare("SELECT * FROM $members_table_name where subscr_id=%s and reg_code=%s", $subscr_id, $md5_code), OBJECT);
|
94 |
$data['last_name'] = $ipn_data['last_name'];
|
95 |
$data['email'] = $ipn_data['payer_email'];
|
96 |
$data['membership_level'] = $membership_level;
|
97 |
+
$data['subscr_id'] = $subscr_id;
|
98 |
+
|
99 |
$data['gender'] = 'not specified';
|
|
|
|
|
|
|
100 |
$data['address_street'] = $ipn_data['address_street'];
|
101 |
$data['address_city'] = $ipn_data['address_city'];
|
102 |
$data['address_state'] = $ipn_data['address_state'];
|
108 |
$md5_code = md5($reg_code);
|
109 |
$data['reg_code'] = $md5_code;
|
110 |
$data['referrer'] = $data['extra_info'] = $data['txn_id'] = '';
|
|
|
111 |
$data['last_accessed_from_ip'] = isset($user_ip) ? $user_ip : ''; //Save the users IP address
|
112 |
|
113 |
+
swpm_debug_log_subsc("Creating new member account. Membership level ID: " . $membership_level . ", Subscriber ID value: " . $data['subscr_id'], true);
|
114 |
+
|
115 |
$data = array_filter($data); //Remove any null values.
|
116 |
$wpdb->insert($members_table_name, $data); //Create the member record
|
117 |
$results = $wpdb->get_row($wpdb->prepare("SELECT * FROM $members_table_name where subscr_id=%s and reg_code=%s", $subscr_id, $md5_code), OBJECT);
|
languages/simple-membership-de_DE.mo
CHANGED
Binary file
|
languages/simple-membership-de_DE.po
CHANGED
@@ -1,3849 +1,3081 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Simple Membership\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2019-
|
6 |
-
"PO-Revision-Date: 2019-
|
7 |
-
"Last-Translator:
|
8 |
-
"Language-Team: Deutsch\n"
|
9 |
-
"Language: de_DE\n"
|
10 |
-
"MIME-Version: 1.0\n"
|
11 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
-
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 2.
|
14 |
-
"X-Poedit-KeywordsList: __;_e;e\n"
|
15 |
-
"X-Poedit-Basepath: ..\n"
|
16 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
-
"X-Loco-Version: 2.2.
|
18 |
-
"X-Poedit-SearchPath-0: Übersetzungen 01 2019\n"
|
19 |
-
"X-Poedit-SearchPath-1: simple-membership\n"
|
20 |
-
|
21 |
-
#:
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
#:
|
43 |
-
msgid "
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
#:
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
msgstr "
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
#:
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
msgstr "
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
#:
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
#:
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
#: simple-membership
|
114 |
-
#: simple-membership
|
115 |
-
msgid "
|
116 |
-
msgstr "
|
117 |
-
|
118 |
-
#:
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
#:
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
#: simple-membership/
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
#:
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
#:
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
#:
|
158 |
-
#:
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
#:
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
#:
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
#:
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
#:
|
176 |
-
#:
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
#:
|
181 |
-
#:
|
182 |
-
#:
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
#:
|
187 |
-
#:
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
#:
|
194 |
-
#:
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
"
|
225 |
-
|
226 |
-
#:
|
227 |
-
|
228 |
-
|
229 |
-
"
|
230 |
-
"
|
231 |
-
|
232 |
-
|
233 |
-
"
|
234 |
-
"
|
235 |
-
|
236 |
-
#:
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
"
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
"
|
272 |
-
|
273 |
-
|
274 |
-
"
|
275 |
-
"
|
276 |
-
|
277 |
-
#:
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
#:
|
294 |
-
msgid "
|
295 |
-
msgstr "
|
296 |
-
|
297 |
-
#:
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
"
|
307 |
-
"
|
308 |
-
|
309 |
-
#:
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
#:
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
#:
|
327 |
-
#:
|
328 |
-
#:
|
329 |
-
#:
|
330 |
-
msgid "
|
331 |
-
msgstr "
|
332 |
-
|
333 |
-
#:
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
#:
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
#:
|
354 |
-
#:
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
#:
|
359 |
-
#:
|
360 |
-
#:
|
361 |
-
#:
|
362 |
-
#:
|
363 |
-
#:
|
364 |
-
msgid "
|
365 |
-
msgstr "
|
366 |
-
|
367 |
-
#:
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
#:
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
#:
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
#:
|
392 |
-
msgid "
|
393 |
-
msgstr "
|
394 |
-
|
395 |
-
#:
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
#:
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
"
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
#:
|
428 |
-
|
429 |
-
|
430 |
-
msgstr ""
|
431 |
-
"
|
432 |
-
|
433 |
-
|
434 |
-
#:
|
435 |
-
msgid "
|
436 |
-
|
437 |
-
"
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
"
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
#:
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
#:
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
#:
|
466 |
-
msgid "
|
467 |
-
msgstr ""
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
#:
|
478 |
-
msgid "
|
479 |
-
msgstr "
|
480 |
-
|
481 |
-
#:
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
#:
|
490 |
-
msgid "
|
491 |
-
msgstr "
|
492 |
-
|
493 |
-
#:
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
"
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
"
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
"
|
532 |
-
msgstr ""
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
"
|
540 |
-
"
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
#:
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
#:
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
#:
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
#:
|
569 |
-
msgid "
|
570 |
-
msgstr "
|
571 |
-
|
572 |
-
#:
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
#:
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
"
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
#:
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
#:
|
602 |
-
msgid "
|
603 |
-
msgstr "
|
604 |
-
|
605 |
-
#:
|
606 |
-
#:
|
607 |
-
msgid "
|
608 |
-
msgstr "
|
609 |
-
|
610 |
-
#:
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
#:
|
637 |
-
msgid "
|
638 |
-
msgstr "
|
639 |
-
|
640 |
-
#:
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
msgstr "
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
"
|
655 |
-
|
656 |
-
#:
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
#:
|
669 |
-
msgid ""
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
msgstr ""
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
"
|
704 |
-
"
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
#:
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
#:
|
734 |
-
msgid "
|
735 |
-
msgstr "
|
736 |
-
|
737 |
-
#:
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
#:
|
764 |
-
msgid "
|
765 |
-
msgstr "
|
766 |
-
|
767 |
-
#:
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
"
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
"
|
794 |
-
msgstr ""
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
#:
|
805 |
-
msgid ""
|
806 |
-
"
|
807 |
-
|
808 |
-
|
809 |
-
"
|
810 |
-
"
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
#:
|
825 |
-
msgid "
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
"
|
832 |
-
|
833 |
-
"
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
msgstr "
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
#:
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
#:
|
861 |
-
msgid "
|
862 |
-
msgstr "
|
863 |
-
|
864 |
-
#:
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
#:
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
#:
|
882 |
-
msgid ""
|
883 |
-
"
|
884 |
-
"
|
885 |
-
msgstr ""
|
886 |
-
"
|
887 |
-
"
|
888 |
-
|
889 |
-
#:
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
#:
|
901 |
-
msgid "
|
902 |
-
msgstr "
|
903 |
-
|
904 |
-
#:
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
#:
|
913 |
-
msgid "
|
914 |
-
msgstr "
|
915 |
-
|
916 |
-
#:
|
917 |
-
|
918 |
-
|
919 |
-
msgstr "
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
#:
|
934 |
-
msgid ""
|
935 |
-
"
|
936 |
-
|
937 |
-
|
938 |
-
"
|
939 |
-
"
|
940 |
-
|
941 |
-
#:
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
#:
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
#:
|
961 |
-
#:
|
962 |
-
msgid "
|
963 |
-
msgstr "
|
964 |
-
|
965 |
-
#:
|
966 |
-
#:
|
967 |
-
msgid "
|
968 |
-
msgstr "
|
969 |
-
|
970 |
-
#:
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
-
#:
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
msgstr "
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
#:
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
#:
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
#:
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
#:
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
#:
|
1031 |
-
msgid "
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
#:
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
#:
|
1066 |
-
msgid "
|
1067 |
-
|
1068 |
-
"
|
1069 |
-
"
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
#:
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
1081 |
-
msgstr "
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
#:
|
1090 |
-
msgid "
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
"
|
1097 |
-
"
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
"
|
1107 |
-
|
1108 |
-
|
1109 |
-
"
|
1110 |
-
"
|
1111 |
-
|
1112 |
-
|
1113 |
-
#:
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
msgstr "
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
"
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
"
|
1132 |
-
|
1133 |
-
|
1134 |
-
#:
|
1135 |
-
msgid "
|
1136 |
-
msgstr "
|
1137 |
-
|
1138 |
-
#:
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
#:
|
1155 |
-
msgid "
|
1156 |
-
msgstr "
|
1157 |
-
|
1158 |
-
|
1159 |
-
#:
|
1160 |
-
msgid ""
|
1161 |
-
"
|
1162 |
-
"
|
1163 |
-
|
1164 |
-
"
|
1165 |
-
|
1166 |
-
"
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
msgstr ""
|
1176 |
-
|
1177 |
-
|
1178 |
-
"
|
1179 |
-
|
1180 |
-
|
1181 |
-
#:
|
1182 |
-
msgid "
|
1183 |
-
msgstr "
|
1184 |
-
|
1185 |
-
#:
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
"
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
#:
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
#:
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
#:
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
"
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
"
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
#:
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
"
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
#:
|
1259 |
-
msgid "
|
1260 |
-
msgstr "
|
1261 |
-
|
1262 |
-
#:
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
msgstr "
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
"
|
1276 |
-
msgstr ""
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
#:
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
#:
|
1301 |
-
msgid "
|
1302 |
-
msgstr "
|
1303 |
-
|
1304 |
-
#:
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
#:
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
#:
|
1343 |
-
msgid "
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
msgstr "
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
#:
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
"
|
1365 |
-
"
|
1366 |
-
|
1367 |
-
"
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
#:
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
msgstr "
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
#:
|
1394 |
-
msgid "
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
#:
|
1406 |
-
msgid "
|
1407 |
-
msgstr "
|
1408 |
-
|
1409 |
-
#:
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
msgstr "
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
"
|
1423 |
-
"
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
"
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
"
|
1449 |
-
"
|
1450 |
-
|
1451 |
-
|
1452 |
-
"
|
1453 |
-
"
|
1454 |
-
|
1455 |
-
|
1456 |
-
#:
|
1457 |
-
msgid "
|
1458 |
-
msgstr "
|
1459 |
-
|
1460 |
-
#:
|
1461 |
-
|
1462 |
-
|
1463 |
-
"
|
1464 |
-
"
|
1465 |
-
msgstr ""
|
1466 |
-
"
|
1467 |
-
"
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
#:
|
1476 |
-
msgid ""
|
1477 |
-
"
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
"
|
1482 |
-
|
1483 |
-
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
#:
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
"
|
1496 |
-
|
1497 |
-
"
|
1498 |
-
"
|
1499 |
-
|
1500 |
-
#:
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
msgstr "
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
1509 |
-
|
1510 |
-
"
|
1511 |
-
"
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
"
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
"
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
"
|
1527 |
-
"
|
1528 |
-
|
1529 |
-
|
1530 |
-
"
|
1531 |
-
|
1532 |
-
|
1533 |
-
#:
|
1534 |
-
msgid "
|
1535 |
-
msgstr "
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
#:
|
1544 |
-
msgid "
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
|
1553 |
-
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
#:
|
1569 |
-
|
1570 |
-
|
1571 |
-
"
|
1572 |
-
|
1573 |
-
#:
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
"
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
#:
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
#:
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
msgstr "
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
"
|
1622 |
-
"
|
1623 |
-
|
1624 |
-
#:
|
1625 |
-
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
1631 |
-
|
1632 |
-
|
1633 |
-
|
1634 |
-
|
1635 |
-
|
1636 |
-
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
#:
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
#:
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
|
1658 |
-
|
1659 |
-
|
1660 |
-
#:
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
-
|
1668 |
-
#:
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
msgstr "
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
"
|
1678 |
-
|
1679 |
-
|
1680 |
-
"
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
"
|
1687 |
-
"
|
1688 |
-
msgstr ""
|
1689 |
-
"
|
1690 |
-
"
|
1691 |
-
"
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
"
|
1702 |
-
"
|
1703 |
-
|
1704 |
-
|
1705 |
-
"
|
1706 |
-
"
|
1707 |
-
|
1708 |
-
|
1709 |
-
#:
|
1710 |
-
#:
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
#:
|
1716 |
-
msgid "
|
1717 |
-
msgstr "
|
1718 |
-
|
1719 |
-
#:
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
"
|
1726 |
-
|
1727 |
-
|
1728 |
-
#:
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
#:
|
1745 |
-
msgid "
|
1746 |
-
msgstr ""
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
#:
|
1757 |
-
msgid "
|
1758 |
-
msgstr "
|
1759 |
-
|
1760 |
-
#:
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
"
|
1799 |
-
"
|
1800 |
-
|
1801 |
-
|
1802 |
-
"
|
1803 |
-
|
1804 |
-
|
1805 |
-
#:
|
1806 |
-
msgid "
|
1807 |
-
msgstr "
|
1808 |
-
|
1809 |
-
#:
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
"
|
1815 |
-
"
|
1816 |
-
|
1817 |
-
|
1818 |
-
"
|
1819 |
-
"
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
1832 |
-
|
1833 |
-
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
"
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
"
|
1842 |
-
|
1843 |
-
|
1844 |
-
|
1845 |
-
#:
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
"
|
1851 |
-
|
1852 |
-
|
1853 |
-
#:
|
1854 |
-
|
1855 |
-
"
|
1856 |
-
"
|
1857 |
-
|
1858 |
-
|
1859 |
-
"
|
1860 |
-
|
1861 |
-
|
1862 |
-
#:
|
1863 |
-
msgid "
|
1864 |
-
msgstr "
|
1865 |
-
|
1866 |
-
#:
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
|
1874 |
-
|
1875 |
-
|
1876 |
-
|
1877 |
-
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
|
1884 |
-
|
1885 |
-
|
1886 |
-
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
-
|
1891 |
-
#:
|
1892 |
-
msgid ""
|
1893 |
-
"
|
1894 |
-
"
|
1895 |
-
|
1896 |
-
|
1897 |
-
"
|
1898 |
-
|
1899 |
-
|
1900 |
-
|
1901 |
-
|
1902 |
-
|
1903 |
-
|
1904 |
-
|
1905 |
-
|
1906 |
-
|
1907 |
-
"
|
1908 |
-
"
|
1909 |
-
|
1910 |
-
|
1911 |
-
"
|
1912 |
-
|
1913 |
-
|
1914 |
-
#:
|
1915 |
-
|
1916 |
-
|
1917 |
-
|
1918 |
-
|
1919 |
-
#:
|
1920 |
-
msgid "
|
1921 |
-
msgstr ""
|
1922 |
-
|
1923 |
-
|
1924 |
-
|
1925 |
-
|
1926 |
-
|
1927 |
-
|
1928 |
-
|
1929 |
-
|
1930 |
-
|
1931 |
-
|
1932 |
-
|
1933 |
-
"
|
1934 |
-
|
1935 |
-
|
1936 |
-
"
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
-
|
1944 |
-
|
1945 |
-
|
1946 |
-
#:
|
1947 |
-
msgid ""
|
1948 |
-
"
|
1949 |
-
|
1950 |
-
|
1951 |
-
|
1952 |
-
|
1953 |
-
"
|
1954 |
-
"
|
1955 |
-
|
1956 |
-
|
1957 |
-
|
1958 |
-
|
1959 |
-
|
1960 |
-
msgstr "
|
1961 |
-
|
1962 |
-
|
1963 |
-
|
1964 |
-
|
1965 |
-
|
1966 |
-
|
1967 |
-
|
1968 |
-
#:
|
1969 |
-
msgid ""
|
1970 |
-
"
|
1971 |
-
"
|
1972 |
-
msgstr ""
|
1973 |
-
"
|
1974 |
-
"
|
1975 |
-
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
1980 |
-
|
1981 |
-
|
1982 |
-
|
1983 |
-
|
1984 |
-
|
1985 |
-
"
|
1986 |
-
"
|
1987 |
-
|
1988 |
-
|
1989 |
-
|
1990 |
-
|
1991 |
-
|
1992 |
-
|
1993 |
-
|
1994 |
-
"
|
1995 |
-
"
|
1996 |
-
|
1997 |
-
|
1998 |
-
"
|
1999 |
-
"
|
2000 |
-
|
2001 |
-
#:
|
2002 |
-
|
2003 |
-
|
2004 |
-
|
2005 |
-
|
2006 |
-
|
2007 |
-
|
2008 |
-
|
2009 |
-
#:
|
2010 |
-
msgid "
|
2011 |
-
msgstr "
|
2012 |
-
|
2013 |
-
#:
|
2014 |
-
|
2015 |
-
|
2016 |
-
|
2017 |
-
|
2018 |
-
|
2019 |
-
|
2020 |
-
#:
|
2021 |
-
#:
|
2022 |
-
|
2023 |
-
|
2024 |
-
|
2025 |
-
|
2026 |
-
#:
|
2027 |
-
msgid ""
|
2028 |
-
"
|
2029 |
-
|
2030 |
-
|
2031 |
-
|
2032 |
-
|
2033 |
-
|
2034 |
-
#:
|
2035 |
-
msgid "
|
2036 |
-
msgstr "
|
2037 |
-
|
2038 |
-
#:
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
"
|
2043 |
-
"
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
|
2053 |
-
|
2054 |
-
|
2055 |
-
|
2056 |
-
#:
|
2057 |
-
|
2058 |
-
|
2059 |
-
|
2060 |
-
|
2061 |
-
|
2062 |
-
|
2063 |
-
|
2064 |
-
#:
|
2065 |
-
|
2066 |
-
|
2067 |
-
|
2068 |
-
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
2072 |
-
|
2073 |
-
|
2074 |
-
|
2075 |
-
|
2076 |
-
|
2077 |
-
"
|
2078 |
-
"
|
2079 |
-
|
2080 |
-
|
2081 |
-
"
|
2082 |
-
|
2083 |
-
|
2084 |
-
#:
|
2085 |
-
|
2086 |
-
|
2087 |
-
|
2088 |
-
|
2089 |
-
|
2090 |
-
|
2091 |
-
|
2092 |
-
|
2093 |
-
|
2094 |
-
|
2095 |
-
|
2096 |
-
"
|
2097 |
-
|
2098 |
-
|
2099 |
-
#:
|
2100 |
-
msgid ""
|
2101 |
-
"
|
2102 |
-
|
2103 |
-
|
2104 |
-
"
|
2105 |
-
"
|
2106 |
-
|
2107 |
-
#:
|
2108 |
-
|
2109 |
-
|
2110 |
-
|
2111 |
-
|
2112 |
-
"
|
2113 |
-
msgstr ""
|
2114 |
-
|
2115 |
-
|
2116 |
-
"
|
2117 |
-
|
2118 |
-
|
2119 |
-
#:
|
2120 |
-
|
2121 |
-
|
2122 |
-
|
2123 |
-
|
2124 |
-
|
2125 |
-
|
2126 |
-
|
2127 |
-
|
2128 |
-
|
2129 |
-
"
|
2130 |
-
|
2131 |
-
"
|
2132 |
-
|
2133 |
-
|
2134 |
-
|
2135 |
-
|
2136 |
-
|
2137 |
-
|
2138 |
-
|
2139 |
-
|
2140 |
-
|
2141 |
-
|
2142 |
-
|
2143 |
-
|
2144 |
-
|
2145 |
-
|
2146 |
-
|
2147 |
-
|
2148 |
-
|
2149 |
-
|
2150 |
-
|
2151 |
-
"
|
2152 |
-
|
2153 |
-
|
2154 |
-
"
|
2155 |
-
"
|
2156 |
-
|
2157 |
-
#:
|
2158 |
-
|
2159 |
-
|
2160 |
-
|
2161 |
-
|
2162 |
-
|
2163 |
-
"
|
2164 |
-
"
|
2165 |
-
|
2166 |
-
|
2167 |
-
|
2168 |
-
|
2169 |
-
|
2170 |
-
|
2171 |
-
|
2172 |
-
"
|
2173 |
-
"
|
2174 |
-
|
2175 |
-
|
2176 |
-
|
2177 |
-
|
2178 |
-
"
|
2179 |
-
|
2180 |
-
|
2181 |
-
"
|
2182 |
-
"
|
2183 |
-
|
2184 |
-
#:
|
2185 |
-
|
2186 |
-
|
2187 |
-
|
2188 |
-
|
2189 |
-
"
|
2190 |
-
|
2191 |
-
|
2192 |
-
#:
|
2193 |
-
msgid ""
|
2194 |
-
"
|
2195 |
-
|
2196 |
-
|
2197 |
-
|
2198 |
-
|
2199 |
-
|
2200 |
-
|
2201 |
-
|
2202 |
-
"
|
2203 |
-
"
|
2204 |
-
|
2205 |
-
#:
|
2206 |
-
|
2207 |
-
|
2208 |
-
|
2209 |
-
|
2210 |
-
|
2211 |
-
"
|
2212 |
-
|
2213 |
-
|
2214 |
-
|
2215 |
-
|
2216 |
-
|
2217 |
-
|
2218 |
-
|
2219 |
-
|
2220 |
-
|
2221 |
-
|
2222 |
-
|
2223 |
-
|
2224 |
-
|
2225 |
-
#:
|
2226 |
-
|
2227 |
-
|
2228 |
-
|
2229 |
-
|
2230 |
-
|
2231 |
-
|
2232 |
-
|
2233 |
-
|
2234 |
-
|
2235 |
-
|
2236 |
-
|
2237 |
-
#:
|
2238 |
-
msgid "
|
2239 |
-
|
2240 |
-
|
2241 |
-
|
2242 |
-
|
2243 |
-
|
2244 |
-
|
2245 |
-
|
2246 |
-
|
2247 |
-
|
2248 |
-
|
2249 |
-
#:
|
2250 |
-
msgid "
|
2251 |
-
msgstr "
|
2252 |
-
|
2253 |
-
#:
|
2254 |
-
|
2255 |
-
|
2256 |
-
|
2257 |
-
|
2258 |
-
|
2259 |
-
|
2260 |
-
|
2261 |
-
|
2262 |
-
"
|
2263 |
-
msgstr ""
|
2264 |
-
|
2265 |
-
|
2266 |
-
|
2267 |
-
|
2268 |
-
|
2269 |
-
|
2270 |
-
|
2271 |
-
|
2272 |
-
|
2273 |
-
#:
|
2274 |
-
msgid "
|
2275 |
-
|
2276 |
-
|
2277 |
-
|
2278 |
-
|
2279 |
-
|
2280 |
-
|
2281 |
-
|
2282 |
-
|
2283 |
-
#:
|
2284 |
-
msgid "
|
2285 |
-
msgstr "
|
2286 |
-
|
2287 |
-
#:
|
2288 |
-
|
2289 |
-
|
2290 |
-
|
2291 |
-
|
2292 |
-
|
2293 |
-
|
2294 |
-
|
2295 |
-
|
2296 |
-
|
2297 |
-
|
2298 |
-
|
2299 |
-
|
2300 |
-
|
2301 |
-
|
2302 |
-
|
2303 |
-
"
|
2304 |
-
|
2305 |
-
#:
|
2306 |
-
|
2307 |
-
|
2308 |
-
|
2309 |
-
|
2310 |
-
|
2311 |
-
|
2312 |
-
|
2313 |
-
#:
|
2314 |
-
msgid "
|
2315 |
-
msgstr "
|
2316 |
-
|
2317 |
-
#:
|
2318 |
-
#:
|
2319 |
-
|
2320 |
-
|
2321 |
-
|
2322 |
-
|
2323 |
-
|
2324 |
-
|
2325 |
-
|
2326 |
-
|
2327 |
-
#:
|
2328 |
-
msgid "
|
2329 |
-
msgstr "
|
2330 |
-
|
2331 |
-
#:
|
2332 |
-
|
2333 |
-
|
2334 |
-
|
2335 |
-
|
2336 |
-
|
2337 |
-
|
2338 |
-
|
2339 |
-
#:
|
2340 |
-
|
2341 |
-
|
2342 |
-
|
2343 |
-
|
2344 |
-
|
2345 |
-
|
2346 |
-
|
2347 |
-
|
2348 |
-
#:
|
2349 |
-
|
2350 |
-
|
2351 |
-
|
2352 |
-
|
2353 |
-
#:
|
2354 |
-
|
2355 |
-
|
2356 |
-
|
2357 |
-
|
2358 |
-
#:
|
2359 |
-
msgid "
|
2360 |
-
|
2361 |
-
|
2362 |
-
|
2363 |
-
|
2364 |
-
|
2365 |
-
|
2366 |
-
"
|
2367 |
-
|
2368 |
-
#:
|
2369 |
-
|
2370 |
-
|
2371 |
-
|
2372 |
-
|
2373 |
-
|
2374 |
-
|
2375 |
-
|
2376 |
-
"
|
2377 |
-
|
2378 |
-
|
2379 |
-
|
2380 |
-
|
2381 |
-
"
|
2382 |
-
"
|
2383 |
-
|
2384 |
-
|
2385 |
-
|
2386 |
-
|
2387 |
-
|
2388 |
-
|
2389 |
-
|
2390 |
-
|
2391 |
-
|
2392 |
-
|
2393 |
-
|
2394 |
-
|
2395 |
-
|
2396 |
-
#:
|
2397 |
-
msgid "
|
2398 |
-
msgstr "
|
2399 |
-
|
2400 |
-
#:
|
2401 |
-
|
2402 |
-
|
2403 |
-
|
2404 |
-
|
2405 |
-
|
2406 |
-
|
2407 |
-
|
2408 |
-
#:
|
2409 |
-
msgid "
|
2410 |
-
|
2411 |
-
|
2412 |
-
|
2413 |
-
|
2414 |
-
|
2415 |
-
|
2416 |
-
|
2417 |
-
#:
|
2418 |
-
|
2419 |
-
|
2420 |
-
|
2421 |
-
|
2422 |
-
|
2423 |
-
|
2424 |
-
|
2425 |
-
#:
|
2426 |
-
|
2427 |
-
|
2428 |
-
|
2429 |
-
|
2430 |
-
"
|
2431 |
-
|
2432 |
-
|
2433 |
-
#:
|
2434 |
-
|
2435 |
-
|
2436 |
-
|
2437 |
-
|
2438 |
-
|
2439 |
-
|
2440 |
-
|
2441 |
-
#:
|
2442 |
-
|
2443 |
-
|
2444 |
-
|
2445 |
-
|
2446 |
-
|
2447 |
-
|
2448 |
-
|
2449 |
-
|
2450 |
-
"
|
2451 |
-
"
|
2452 |
-
|
2453 |
-
|
2454 |
-
|
2455 |
-
"
|
2456 |
-
|
2457 |
-
|
2458 |
-
"
|
2459 |
-
|
2460 |
-
|
2461 |
-
|
2462 |
-
|
2463 |
-
|
2464 |
-
|
2465 |
-
|
2466 |
-
|
2467 |
-
|
2468 |
-
|
2469 |
-
|
2470 |
-
|
2471 |
-
|
2472 |
-
|
2473 |
-
#:
|
2474 |
-
msgid ""
|
2475 |
-
"
|
2476 |
-
|
2477 |
-
|
2478 |
-
"
|
2479 |
-
msgstr ""
|
2480 |
-
|
2481 |
-
|
2482 |
-
"
|
2483 |
-
|
2484 |
-
|
2485 |
-
#:
|
2486 |
-
|
2487 |
-
|
2488 |
-
|
2489 |
-
|
2490 |
-
|
2491 |
-
"
|
2492 |
-
|
2493 |
-
|
2494 |
-
|
2495 |
-
|
2496 |
-
|
2497 |
-
|
2498 |
-
|
2499 |
-
|
2500 |
-
|
2501 |
-
|
2502 |
-
"
|
2503 |
-
"
|
2504 |
-
|
2505 |
-
|
2506 |
-
"
|
2507 |
-
|
2508 |
-
|
2509 |
-
#:
|
2510 |
-
msgid "
|
2511 |
-
msgstr "
|
2512 |
-
|
2513 |
-
#:
|
2514 |
-
|
2515 |
-
|
2516 |
-
|
2517 |
-
|
2518 |
-
|
2519 |
-
|
2520 |
-
|
2521 |
-
|
2522 |
-
|
2523 |
-
|
2524 |
-
|
2525 |
-
|
2526 |
-
#:
|
2527 |
-
|
2528 |
-
|
2529 |
-
|
2530 |
-
|
2531 |
-
|
2532 |
-
|
2533 |
-
|
2534 |
-
|
2535 |
-
|
2536 |
-
|
2537 |
-
|
2538 |
-
|
2539 |
-
|
2540 |
-
|
2541 |
-
#:
|
2542 |
-
msgid "
|
2543 |
-
msgstr "
|
2544 |
-
|
2545 |
-
#:
|
2546 |
-
|
2547 |
-
|
2548 |
-
|
2549 |
-
|
2550 |
-
|
2551 |
-
|
2552 |
-
|
2553 |
-
|
2554 |
-
|
2555 |
-
|
2556 |
-
|
2557 |
-
|
2558 |
-
|
2559 |
-
|
2560 |
-
|
2561 |
-
#:
|
2562 |
-
msgid "
|
2563 |
-
msgstr ""
|
2564 |
-
|
2565 |
-
|
2566 |
-
|
2567 |
-
|
2568 |
-
|
2569 |
-
#:
|
2570 |
-
|
2571 |
-
|
2572 |
-
|
2573 |
-
|
2574 |
-
|
2575 |
-
|
2576 |
-
#:
|
2577 |
-
|
2578 |
-
|
2579 |
-
|
2580 |
-
#:
|
2581 |
-
|
2582 |
-
|
2583 |
-
|
2584 |
-
|
2585 |
-
|
2586 |
-
|
2587 |
-
|
2588 |
-
|
2589 |
-
#:
|
2590 |
-
|
2591 |
-
|
2592 |
-
|
2593 |
-
|
2594 |
-
|
2595 |
-
|
2596 |
-
|
2597 |
-
#:
|
2598 |
-
msgid "
|
2599 |
-
msgstr "
|
2600 |
-
|
2601 |
-
#:
|
2602 |
-
|
2603 |
-
|
2604 |
-
|
2605 |
-
|
2606 |
-
|
2607 |
-
|
2608 |
-
|
2609 |
-
#:
|
2610 |
-
#:
|
2611 |
-
#:
|
2612 |
-
|
2613 |
-
|
2614 |
-
|
2615 |
-
"
|
2616 |
-
msgstr ""
|
2617 |
-
|
2618 |
-
|
2619 |
-
|
2620 |
-
|
2621 |
-
#:
|
2622 |
-
#:
|
2623 |
-
#:
|
2624 |
-
#:
|
2625 |
-
#:
|
2626 |
-
#:
|
2627 |
-
msgid "
|
2628 |
-
msgstr "
|
2629 |
-
|
2630 |
-
#:
|
2631 |
-
#:
|
2632 |
-
|
2633 |
-
|
2634 |
-
|
2635 |
-
#:
|
2636 |
-
|
2637 |
-
|
2638 |
-
|
2639 |
-
|
2640 |
-
|
2641 |
-
|
2642 |
-
|
2643 |
-
msgstr "
|
2644 |
-
|
2645 |
-
|
2646 |
-
|
2647 |
-
#:
|
2648 |
-
|
2649 |
-
|
2650 |
-
|
2651 |
-
|
2652 |
-
|
2653 |
-
|
2654 |
-
|
2655 |
-
#:
|
2656 |
-
msgid "
|
2657 |
-
msgstr "
|
2658 |
-
|
2659 |
-
#:
|
2660 |
-
|
2661 |
-
|
2662 |
-
|
2663 |
-
|
2664 |
-
|
2665 |
-
|
2666 |
-
|
2667 |
-
|
2668 |
-
|
2669 |
-
|
2670 |
-
|
2671 |
-
#:
|
2672 |
-
#:
|
2673 |
-
#:
|
2674 |
-
#:
|
2675 |
-
#:
|
2676 |
-
#:
|
2677 |
-
#:
|
2678 |
-
|
2679 |
-
|
2680 |
-
|
2681 |
-
#:
|
2682 |
-
#:
|
2683 |
-
#:
|
2684 |
-
#:
|
2685 |
-
#:
|
2686 |
-
#:
|
2687 |
-
|
2688 |
-
|
2689 |
-
|
2690 |
-
|
2691 |
-
|
2692 |
-
|
2693 |
-
#:
|
2694 |
-
|
2695 |
-
|
2696 |
-
|
2697 |
-
|
2698 |
-
#:
|
2699 |
-
|
2700 |
-
|
2701 |
-
|
2702 |
-
#:
|
2703 |
-
#:
|
2704 |
-
#:
|
2705 |
-
|
2706 |
-
|
2707 |
-
|
2708 |
-
|
2709 |
-
#:
|
2710 |
-
#:
|
2711 |
-
#:
|
2712 |
-
|
2713 |
-
|
2714 |
-
|
2715 |
-
|
2716 |
-
#:
|
2717 |
-
#:
|
2718 |
-
#:
|
2719 |
-
#:
|
2720 |
-
msgid "
|
2721 |
-
msgstr "
|
2722 |
-
|
2723 |
-
#:
|
2724 |
-
#:
|
2725 |
-
#:
|
2726 |
-
#:
|
2727 |
-
msgid "
|
2728 |
-
msgstr "
|
2729 |
-
|
2730 |
-
#:
|
2731 |
-
|
2732 |
-
|
2733 |
-
|
2734 |
-
|
2735 |
-
|
2736 |
-
|
2737 |
-
|
2738 |
-
|
2739 |
-
|
2740 |
-
"
|
2741 |
-
|
2742 |
-
|
2743 |
-
|
2744 |
-
"
|
2745 |
-
|
2746 |
-
|
2747 |
-
|
2748 |
-
|
2749 |
-
|
2750 |
-
#:
|
2751 |
-
|
2752 |
-
|
2753 |
-
|
2754 |
-
|
2755 |
-
|
2756 |
-
|
2757 |
-
|
2758 |
-
|
2759 |
-
|
2760 |
-
|
2761 |
-
|
2762 |
-
|
2763 |
-
|
2764 |
-
|
2765 |
-
|
2766 |
-
#:
|
2767 |
-
msgid ""
|
2768 |
-
|
2769 |
-
|
2770 |
-
|
2771 |
-
|
2772 |
-
|
2773 |
-
|
2774 |
-
#:
|
2775 |
-
|
2776 |
-
|
2777 |
-
|
2778 |
-
|
2779 |
-
|
2780 |
-
|
2781 |
-
|
2782 |
-
|
2783 |
-
|
2784 |
-
|
2785 |
-
|
2786 |
-
|
2787 |
-
|
2788 |
-
|
2789 |
-
|
2790 |
-
#:
|
2791 |
-
msgid ""
|
2792 |
-
|
2793 |
-
|
2794 |
-
|
2795 |
-
|
2796 |
-
|
2797 |
-
|
2798 |
-
|
2799 |
-
|
2800 |
-
|
2801 |
-
|
2802 |
-
#:
|
2803 |
-
|
2804 |
-
|
2805 |
-
|
2806 |
-
|
2807 |
-
|
2808 |
-
|
2809 |
-
|
2810 |
-
#:
|
2811 |
-
|
2812 |
-
|
2813 |
-
|
2814 |
-
|
2815 |
-
|
2816 |
-
|
2817 |
-
|
2818 |
-
|
2819 |
-
|
2820 |
-
|
2821 |
-
|
2822 |
-
#:
|
2823 |
-
msgid "
|
2824 |
-
msgstr "
|
2825 |
-
|
2826 |
-
#:
|
2827 |
-
|
2828 |
-
|
2829 |
-
|
2830 |
-
|
2831 |
-
|
2832 |
-
|
2833 |
-
|
2834 |
-
|
2835 |
-
|
2836 |
-
|
2837 |
-
|
2838 |
-
|
2839 |
-
"
|
2840 |
-
"
|
2841 |
-
|
2842 |
-
|
2843 |
-
"
|
2844 |
-
|
2845 |
-
|
2846 |
-
#:
|
2847 |
-
msgid "
|
2848 |
-
msgstr "
|
2849 |
-
|
2850 |
-
#:
|
2851 |
-
|
2852 |
-
|
2853 |
-
|
2854 |
-
|
2855 |
-
|
2856 |
-
|
2857 |
-
|
2858 |
-
msgstr "
|
2859 |
-
|
2860 |
-
|
2861 |
-
|
2862 |
-
|
2863 |
-
"
|
2864 |
-
"
|
2865 |
-
|
2866 |
-
|
2867 |
-
|
2868 |
-
|
2869 |
-
|
2870 |
-
|
2871 |
-
|
2872 |
-
|
2873 |
-
|
2874 |
-
|
2875 |
-
|
2876 |
-
|
2877 |
-
|
2878 |
-
|
2879 |
-
|
2880 |
-
|
2881 |
-
#:
|
2882 |
-
#:
|
2883 |
-
msgid "
|
2884 |
-
msgstr "
|
2885 |
-
|
2886 |
-
#:
|
2887 |
-
#:
|
2888 |
-
msgid "
|
2889 |
-
msgstr "
|
2890 |
-
|
2891 |
-
#:
|
2892 |
-
#:
|
2893 |
-
msgid "
|
2894 |
-
|
2895 |
-
|
2896 |
-
|
2897 |
-
|
2898 |
-
|
2899 |
-
|
2900 |
-
|
2901 |
-
|
2902 |
-
|
2903 |
-
|
2904 |
-
|
2905 |
-
|
2906 |
-
|
2907 |
-
|
2908 |
-
|
2909 |
-
|
2910 |
-
|
2911 |
-
|
2912 |
-
|
2913 |
-
|
2914 |
-
|
2915 |
-
|
2916 |
-
|
2917 |
-
|
2918 |
-
|
2919 |
-
|
2920 |
-
|
2921 |
-
|
2922 |
-
|
2923 |
-
|
2924 |
-
|
2925 |
-
|
2926 |
-
|
2927 |
-
|
2928 |
-
#:
|
2929 |
-
|
2930 |
-
|
2931 |
-
|
2932 |
-
|
2933 |
-
|
2934 |
-
|
2935 |
-
"
|
2936 |
-
"
|
2937 |
-
|
2938 |
-
|
2939 |
-
#:
|
2940 |
-
#:
|
2941 |
-
msgid "
|
2942 |
-
msgstr "
|
2943 |
-
|
2944 |
-
#:
|
2945 |
-
#:
|
2946 |
-
|
2947 |
-
|
2948 |
-
|
2949 |
-
|
2950 |
-
#:
|
2951 |
-
#:
|
2952 |
-
#:
|
2953 |
-
msgid "
|
2954 |
-
msgstr "
|
2955 |
-
|
2956 |
-
#:
|
2957 |
-
|
2958 |
-
|
2959 |
-
|
2960 |
-
|
2961 |
-
|
2962 |
-
|
2963 |
-
|
2964 |
-
#:
|
2965 |
-
|
2966 |
-
|
2967 |
-
|
2968 |
-
|
2969 |
-
|
2970 |
-
|
2971 |
-
|
2972 |
-
#:
|
2973 |
-
#:
|
2974 |
-
|
2975 |
-
|
2976 |
-
|
2977 |
-
#:
|
2978 |
-
|
2979 |
-
|
2980 |
-
|
2981 |
-
|
2982 |
-
|
2983 |
-
|
2984 |
-
|
2985 |
-
|
2986 |
-
#:
|
2987 |
-
|
2988 |
-
|
2989 |
-
|
2990 |
-
|
2991 |
-
|
2992 |
-
|
2993 |
-
|
2994 |
-
|
2995 |
-
|
2996 |
-
|
2997 |
-
|
2998 |
-
msgid "
|
2999 |
-
msgstr "
|
3000 |
-
|
3001 |
-
|
3002 |
-
|
3003 |
-
|
3004 |
-
|
3005 |
-
|
3006 |
-
|
3007 |
-
|
3008 |
-
|
3009 |
-
|
3010 |
-
|
3011 |
-
|
3012 |
-
|
3013 |
-
msgid "
|
3014 |
-
msgstr "
|
3015 |
-
|
3016 |
-
|
3017 |
-
|
3018 |
-
|
3019 |
-
"
|
3020 |
-
|
3021 |
-
|
3022 |
-
|
3023 |
-
|
3024 |
-
|
3025 |
-
|
3026 |
-
|
3027 |
-
|
3028 |
-
|
3029 |
-
|
3030 |
-
"
|
3031 |
-
|
3032 |
-
"
|
3033 |
-
msgstr ""
|
3034 |
-
|
3035 |
-
|
3036 |
-
"
|
3037 |
-
|
3038 |
-
|
3039 |
-
|
3040 |
-
msgid "
|
3041 |
-
msgstr "
|
3042 |
-
|
3043 |
-
|
3044 |
-
|
3045 |
-
|
3046 |
-
|
3047 |
-
|
3048 |
-
|
3049 |
-
#:
|
3050 |
-
msgid "
|
3051 |
-
msgstr "
|
3052 |
-
|
3053 |
-
|
3054 |
-
|
3055 |
-
|
3056 |
-
|
3057 |
-
|
3058 |
-
|
3059 |
-
#:
|
3060 |
-
msgid "
|
3061 |
-
msgstr "
|
3062 |
-
|
3063 |
-
#:
|
3064 |
-
|
3065 |
-
|
3066 |
-
|
3067 |
-
|
3068 |
-
|
3069 |
-
msgstr ""
|
3070 |
-
|
3071 |
-
|
3072 |
-
|
3073 |
-
|
3074 |
-
|
3075 |
-
|
3076 |
-
|
3077 |
-
|
3078 |
-
|
3079 |
-
#:
|
3080 |
-
msgid "
|
3081 |
-
msgstr "
|
3082 |
-
|
3083 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:32
|
3084 |
-
#: simple-membership/views/admin_tools_settings.php:32
|
3085 |
-
msgid "OR"
|
3086 |
-
msgstr "ODER"
|
3087 |
-
|
3088 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:33
|
3089 |
-
#: simple-membership/views/admin_tools_settings.php:33
|
3090 |
-
msgid "For All Incomplete Registrations"
|
3091 |
-
msgstr "Für alle unvollständigen Anmeldungen"
|
3092 |
-
|
3093 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:38
|
3094 |
-
#: simple-membership/views/admin_tools_settings.php:38
|
3095 |
-
msgid "Send Registration Reminder Email Too"
|
3096 |
-
msgstr "Registrierungserinnerung auch per E-Mail verschicken"
|
3097 |
-
|
3098 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:44
|
3099 |
-
#: simple-membership/views/admin_tools_settings.php:44
|
3100 |
-
msgid "Submit"
|
3101 |
-
msgstr "Absenden"
|
3102 |
-
|
3103 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:53
|
3104 |
-
#: simple-membership/views/admin_tools_settings.php:53
|
3105 |
-
msgid ""
|
3106 |
-
"Link(s) generated successfully. The following link(s) can be used to "
|
3107 |
-
"complete the registration."
|
3108 |
-
msgstr ""
|
3109 |
-
"Link(s) sind erfolgreich angelegt. Folgende(r) Link(s) kann/können genutzt "
|
3110 |
-
"werden, um die Registrierung zu Vervollständigen."
|
3111 |
-
|
3112 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:55
|
3113 |
-
#: simple-membership/views/admin_tools_settings.php:55
|
3114 |
-
msgid "Registration completion links will appear below"
|
3115 |
-
msgstr ""
|
3116 |
-
"Der Link für die Vervollständigung der Registrierung wird unten angezeigt"
|
3117 |
-
|
3118 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:65
|
3119 |
-
#: simple-membership/views/admin_tools_settings.php:65
|
3120 |
-
msgid "A prompt to complete registration email was also sent."
|
3121 |
-
msgstr ""
|
3122 |
-
"Eine Aufforderung, die Registrierung zu vervollständigen, wurde ebenfalls "
|
3123 |
-
"gesendet."
|
3124 |
-
|
3125 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:78
|
3126 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:88
|
3127 |
-
#: simple-membership/views/admin_tools_settings.php:78
|
3128 |
-
#: simple-membership/views/admin_tools_settings.php:88
|
3129 |
-
msgid "Re-create the Required Pages"
|
3130 |
-
msgstr "Die notwendigen Seiten wiederherstellen"
|
3131 |
-
|
3132 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:81
|
3133 |
-
#: simple-membership/views/admin_tools_settings.php:81
|
3134 |
-
msgid ""
|
3135 |
-
"If you have accidentally deleted the required pages that this plugin creates "
|
3136 |
-
"at install time, you can use this option to re-create them."
|
3137 |
-
msgstr ""
|
3138 |
-
"Falls Sie aus Versehen die von diesem Plugin automatisch erstellten und "
|
3139 |
-
"benötigten Seiten gelöscht haben, können Sie sie mit dieser Option wieder "
|
3140 |
-
"herstellen."
|
3141 |
-
|
3142 |
-
#: simple-membership/simple-membership/views/admin_tools_settings.php:82
|
3143 |
-
#: simple-membership/views/admin_tools_settings.php:82
|
3144 |
-
msgid " has full explanation."
|
3145 |
-
msgstr " vollständige Erklärung hat."
|
3146 |
-
|
3147 |
-
#: simple-membership/simple-membership/views/edit.php:32
|
3148 |
-
#: simple-membership/simple-membership/views/edit.php:36
|
3149 |
-
#: simple-membership/views/edit.php:32 simple-membership/views/edit.php:36
|
3150 |
-
msgid "Leave empty to keep the current password"
|
3151 |
-
msgstr "Lassen Sie das Feld leer, um das aktuelle Passwort beizubehalten"
|
3152 |
-
|
3153 |
-
#: simple-membership/simple-membership/views/edit.php:71
|
3154 |
-
#: simple-membership/views/edit.php:71
|
3155 |
-
msgid "Company Name"
|
3156 |
-
msgstr "Firmennname"
|
3157 |
-
|
3158 |
-
#: simple-membership/simple-membership/views/forgot_password.php:12
|
3159 |
-
#: simple-membership/views/forgot_password.php:12
|
3160 |
-
msgid "Reset Password"
|
3161 |
-
msgstr "Passwort zurücksetzen"
|
3162 |
-
|
3163 |
-
#: simple-membership/simple-membership/views/loggedin.php:6
|
3164 |
-
#: simple-membership/views/loggedin.php:6
|
3165 |
-
msgid "Logged in as"
|
3166 |
-
msgstr "Eingeloggt als"
|
3167 |
-
|
3168 |
-
#: simple-membership/simple-membership/views/loggedin.php:14
|
3169 |
-
#: simple-membership/views/loggedin.php:14
|
3170 |
-
msgid "Membership"
|
3171 |
-
msgstr "Mitgliedschaft"
|
3172 |
-
|
3173 |
-
#: simple-membership/simple-membership/views/loggedin.php:18
|
3174 |
-
#: simple-membership/views/loggedin.php:18
|
3175 |
-
msgid "Account Expiry"
|
3176 |
-
msgstr "Kontoablauf"
|
3177 |
-
|
3178 |
-
#: simple-membership/simple-membership/views/loggedin.php:26
|
3179 |
-
#: simple-membership/views/loggedin.php:26
|
3180 |
-
msgid "Edit Profile"
|
3181 |
-
msgstr "Profil bearbeiten"
|
3182 |
-
|
3183 |
-
#: simple-membership/simple-membership/views/login.php:11
|
3184 |
-
#: simple-membership/views/login.php:11
|
3185 |
-
msgid "Username or Email"
|
3186 |
-
msgstr "Mitgliedsname oder Email"
|
3187 |
-
|
3188 |
-
#: simple-membership/simple-membership/views/login.php:24
|
3189 |
-
#: simple-membership/views/login.php:24
|
3190 |
-
msgid "Remember Me"
|
3191 |
-
msgstr "Erinneren Sie sich an mich"
|
3192 |
-
|
3193 |
-
#: simple-membership/simple-membership/views/login.php:33
|
3194 |
-
msgid "Forgot Password?"
|
3195 |
-
msgstr "Passwort vergessen?"
|
3196 |
-
|
3197 |
-
#: simple-membership/simple-membership/views/payments/admin_all_payment_transactions.php:6
|
3198 |
-
#: simple-membership/views/payments/admin_all_payment_transactions.php:6
|
3199 |
-
msgid "All the payments/transactions of your members are recorded here."
|
3200 |
-
msgstr ""
|
3201 |
-
"Alle Zahlungen / Transaktionen Ihrer Mitglieder werden hier aufgezeichnet."
|
3202 |
-
|
3203 |
-
#: simple-membership/simple-membership/views/payments/admin_all_payment_transactions.php:12
|
3204 |
-
#: simple-membership/views/payments/admin_all_payment_transactions.php:12
|
3205 |
-
msgid "Search for a transaction by using email or name"
|
3206 |
-
msgstr "Suche nach einer Transaktion mit Email oder Name"
|
3207 |
-
|
3208 |
-
#: simple-membership/simple-membership/views/payments/admin_create_payment_buttons.php:15
|
3209 |
-
#: simple-membership/views/payments/admin_create_payment_buttons.php:15
|
3210 |
-
msgid ""
|
3211 |
-
"You can create new payment button for your memberships using this interface."
|
3212 |
-
msgstr ""
|
3213 |
-
"Sie können eine neue Schaltfläche für Zahlungen für Mitgliedschaften mit "
|
3214 |
-
"diesem Interface erzeugen."
|
3215 |
-
|
3216 |
-
#: simple-membership/simple-membership/views/payments/admin_create_payment_buttons.php:23
|
3217 |
-
#: simple-membership/views/payments/admin_create_payment_buttons.php:23
|
3218 |
-
msgid "Select Payment Button Type"
|
3219 |
-
msgstr "Wählen Sie den Schaltflächen Typ für Zahlungen"
|
3220 |
-
|
3221 |
-
#: simple-membership/simple-membership/views/payments/admin_create_payment_buttons.php:26
|
3222 |
-
#: simple-membership/views/payments/admin_create_payment_buttons.php:26
|
3223 |
-
msgid "PayPal Buy Now"
|
3224 |
-
msgstr "PayPal Jetzt kaufen"
|
3225 |
-
|
3226 |
-
#: simple-membership/simple-membership/views/payments/admin_create_payment_buttons.php:28
|
3227 |
-
#: simple-membership/views/payments/admin_create_payment_buttons.php:28
|
3228 |
-
msgid "PayPal Subscription"
|
3229 |
-
msgstr "PayPal Abonnement"
|
3230 |
-
|
3231 |
-
#: simple-membership/simple-membership/views/payments/admin_create_payment_buttons.php:30
|
3232 |
-
#: simple-membership/views/payments/admin_create_payment_buttons.php:30
|
3233 |
-
msgid "PayPal Smart Checkout"
|
3234 |
-
msgstr "PayPal Smart Checkout"
|
3235 |
-
|
3236 |
-
#: simple-membership/simple-membership/views/payments/admin_create_payment_buttons.php:32
|
3237 |
-
#: simple-membership/views/payments/admin_create_payment_buttons.php:32
|
3238 |
-
msgid "Stripe Buy Now"
|
3239 |
-
msgstr "Stripe Jetzt kaufen"
|
3240 |
-
|
3241 |
-
#: simple-membership/simple-membership/views/payments/admin_create_payment_buttons.php:34
|
3242 |
-
#: simple-membership/views/payments/admin_create_payment_buttons.php:34
|
3243 |
-
msgid "Stripe Subscription"
|
3244 |
-
msgstr "Stripe Mitgliedschaft"
|
3245 |
-
|
3246 |
-
#: simple-membership/simple-membership/views/payments/admin_create_payment_buttons.php:36
|
3247 |
-
#: simple-membership/views/payments/admin_create_payment_buttons.php:36
|
3248 |
-
msgid "Braintree Buy Now"
|
3249 |
-
msgstr "Braintree Jetzt kaufen"
|
3250 |
-
|
3251 |
-
#: simple-membership/simple-membership/views/payments/admin_create_payment_buttons.php:43
|
3252 |
-
#: simple-membership/views/payments/admin_create_payment_buttons.php:43
|
3253 |
-
msgid "Next"
|
3254 |
-
msgstr "Weiter"
|
3255 |
-
|
3256 |
-
#: simple-membership/simple-membership/views/payments/admin_edit_payment_buttons.php:15
|
3257 |
-
#: simple-membership/views/payments/admin_edit_payment_buttons.php:15
|
3258 |
-
msgid "You can edit a payment button using this interface."
|
3259 |
-
msgstr "Sie können eine Schaltfläche für Zahlungen hier bearbeiten."
|
3260 |
-
|
3261 |
-
#: simple-membership/simple-membership/views/payments/admin_payment_buttons.php:6
|
3262 |
-
#: simple-membership/views/payments/admin_payment_buttons.php:6
|
3263 |
-
msgid ""
|
3264 |
-
"All the membership buttons that you created in the plugin are displayed here."
|
3265 |
-
msgstr ""
|
3266 |
-
"Alle Schaltflächen für Mitgliedschaften, die Sie angelegt haben, finden Sie "
|
3267 |
-
"hier."
|
3268 |
-
|
3269 |
-
#: simple-membership/simple-membership/views/payments/admin_payment_settings.php:21
|
3270 |
-
#: simple-membership/views/payments/admin_payment_settings.php:21
|
3271 |
-
msgid "Error! The membership level ID ("
|
3272 |
-
msgstr "Fehler! Die Mitgliederstufen-ID ("
|
3273 |
-
|
3274 |
-
#: simple-membership/simple-membership/views/payments/admin_payment_settings.php:28
|
3275 |
-
#: simple-membership/views/payments/admin_payment_settings.php:28
|
3276 |
-
msgid ""
|
3277 |
-
"You can create membership payment buttons from the payments menu of this "
|
3278 |
-
"plugin (useful if you want to offer paid membership on the site)."
|
3279 |
-
msgstr ""
|
3280 |
-
"Sie können Schaltflächen für die Zahlungen für Mitgliedschaften über das "
|
3281 |
-
"Zahlungsmenü dieses Plugins erstellen (nützlich, wenn Sie eine "
|
3282 |
-
"kostenpflichtige Mitgliedschaft auf der Website anbieten möchten)."
|
3283 |
-
|
3284 |
-
#: simple-membership/simple-membership/views/payments/admin_payment_settings.php:33
|
3285 |
-
#: simple-membership/views/payments/admin_payment_settings.php:33
|
3286 |
-
msgid "PayPal Integration Settings"
|
3287 |
-
msgstr "PayPal Integration Einstellungen"
|
3288 |
-
|
3289 |
-
#: simple-membership/simple-membership/views/payments/admin_payment_settings.php:36
|
3290 |
-
#: simple-membership/views/payments/admin_payment_settings.php:36
|
3291 |
-
msgid "Generate the \"Advanced Variables\" Code for your PayPal button"
|
3292 |
-
msgstr "Generieren Sie den \"Advanced Variables\" Code für Ihren PayPal-Button"
|
3293 |
-
|
3294 |
-
#: simple-membership/simple-membership/views/payments/admin_payment_settings.php:39
|
3295 |
-
#: simple-membership/views/payments/admin_payment_settings.php:39
|
3296 |
-
msgid "Enter the Membership Level ID"
|
3297 |
-
msgstr "Geben Sie die Mitgliederstufen-ID ein"
|
3298 |
-
|
3299 |
-
#: simple-membership/simple-membership/views/payments/admin_payment_settings.php:41
|
3300 |
-
#: simple-membership/views/payments/admin_payment_settings.php:41
|
3301 |
-
msgid "Generate Code"
|
3302 |
-
msgstr "Code generieren"
|
3303 |
-
|
3304 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:22
|
3305 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:22
|
3306 |
-
msgid "Braintree Buy Now Button Configuration"
|
3307 |
-
msgstr "Braintree \"Jetzt kaufen\" Button Konfiguration"
|
3308 |
-
|
3309 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:34
|
3310 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:213
|
3311 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:33
|
3312 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:301
|
3313 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:259
|
3314 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:83
|
3315 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:34
|
3316 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:213
|
3317 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:33
|
3318 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:301
|
3319 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:259
|
3320 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:83
|
3321 |
-
msgid "Button ID"
|
3322 |
-
msgstr "Button ID"
|
3323 |
-
|
3324 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:42
|
3325 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:26
|
3326 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:221
|
3327 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:41
|
3328 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:27
|
3329 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:309
|
3330 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:39
|
3331 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:266
|
3332 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:91
|
3333 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:42
|
3334 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:26
|
3335 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:221
|
3336 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:41
|
3337 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:27
|
3338 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:309
|
3339 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:39
|
3340 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:266
|
3341 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:91
|
3342 |
-
msgid "Button Title"
|
3343 |
-
msgstr "Button Titel"
|
3344 |
-
|
3345 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:60
|
3346 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:44
|
3347 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:239
|
3348 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:59
|
3349 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:57
|
3350 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:282
|
3351 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:60
|
3352 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:44
|
3353 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:239
|
3354 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:59
|
3355 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:57
|
3356 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:282
|
3357 |
-
msgid "Payment Amount"
|
3358 |
-
msgstr "Zahlungsbetrag"
|
3359 |
-
|
3360 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:68
|
3361 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:68
|
3362 |
-
msgid ""
|
3363 |
-
"Braintree API key and account details. You can get this from your Braintree "
|
3364 |
-
"account."
|
3365 |
-
msgstr ""
|
3366 |
-
"Braintree API Schlüssel und Konto Details. Sie können diese aus Ihrem "
|
3367 |
-
"Braintree Konto erhalten."
|
3368 |
-
|
3369 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:72
|
3370 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:72
|
3371 |
-
msgid "Merchant ID"
|
3372 |
-
msgstr "Händler ID"
|
3373 |
-
|
3374 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:80
|
3375 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:80
|
3376 |
-
msgid "Public Key"
|
3377 |
-
msgstr "Öffentlicher Schlüssel"
|
3378 |
-
|
3379 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:87
|
3380 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:87
|
3381 |
-
msgid "Private Key"
|
3382 |
-
msgstr "Privater Schlüssel"
|
3383 |
-
|
3384 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:95
|
3385 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:95
|
3386 |
-
msgid "Merchant Account ID"
|
3387 |
-
msgstr "Händler-Konto-ID"
|
3388 |
-
|
3389 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:113
|
3390 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:137
|
3391 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:361
|
3392 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:113
|
3393 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:137
|
3394 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:361
|
3395 |
-
msgid "The following details are optional."
|
3396 |
-
msgstr "Die folgenden Angaben sind optional."
|
3397 |
-
|
3398 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:117
|
3399 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:92
|
3400 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:287
|
3401 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:204
|
3402 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:172
|
3403 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:456
|
3404 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:149
|
3405 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:373
|
3406 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:191
|
3407 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:117
|
3408 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:92
|
3409 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:287
|
3410 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:204
|
3411 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:172
|
3412 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:456
|
3413 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:149
|
3414 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:373
|
3415 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:191
|
3416 |
-
msgid "Return URL"
|
3417 |
-
msgstr "Zu URL zurückkehren"
|
3418 |
-
|
3419 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:127
|
3420 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:126
|
3421 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:321
|
3422 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:214
|
3423 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:200
|
3424 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:484
|
3425 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:159
|
3426 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:383
|
3427 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:212
|
3428 |
-
#: simple-membership/views/payments/payment-gateway/admin_braintree_buy_now_button.php:127
|
3429 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:126
|
3430 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:321
|
3431 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:214
|
3432 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:200
|
3433 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:484
|
3434 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:159
|
3435 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:383
|
3436 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:212
|
3437 |
-
msgid "Save Payment Data"
|
3438 |
-
msgstr "Zahlungsdaten speichern"
|
3439 |
-
|
3440 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:16
|
3441 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:204
|
3442 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:16
|
3443 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:204
|
3444 |
-
msgid "PayPal Buy Now Button Configuration"
|
3445 |
-
msgstr "PayPal \"Jetzt kaufen\" Button Configuration"
|
3446 |
-
|
3447 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:52
|
3448 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:247
|
3449 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:67
|
3450 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:45
|
3451 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:327
|
3452 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:65
|
3453 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:289
|
3454 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:52
|
3455 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:247
|
3456 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:67
|
3457 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:45
|
3458 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:327
|
3459 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:65
|
3460 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:289
|
3461 |
-
msgid "Payment Currency"
|
3462 |
-
msgstr "Währung der Zahlung"
|
3463 |
-
|
3464 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:100
|
3465 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:295
|
3466 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:85
|
3467 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:367
|
3468 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:100
|
3469 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:295
|
3470 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:85
|
3471 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:367
|
3472 |
-
msgid "PayPal Email"
|
3473 |
-
msgstr "PayPal E-Mail Adresse"
|
3474 |
-
|
3475 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:108
|
3476 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:303
|
3477 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:180
|
3478 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:464
|
3479 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:199
|
3480 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:108
|
3481 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:303
|
3482 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:180
|
3483 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:464
|
3484 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:199
|
3485 |
-
msgid "Button Image URL"
|
3486 |
-
msgstr "Button Bild-URL"
|
3487 |
-
|
3488 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:116
|
3489 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:311
|
3490 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:188
|
3491 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:472
|
3492 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:116
|
3493 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_buy_now_button.php:311
|
3494 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:188
|
3495 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:472
|
3496 |
-
msgid "Custom Checkout Page Logo Image"
|
3497 |
-
msgstr "Benutzerdefinierte Checkout Seiten Logo"
|
3498 |
-
|
3499 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:21
|
3500 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:21
|
3501 |
-
msgid "PayPal Smart Checkout Button Configuration"
|
3502 |
-
msgstr "PayPal Smart Checkout Button Konfiguration"
|
3503 |
-
|
3504 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:107
|
3505 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:107
|
3506 |
-
msgid ""
|
3507 |
-
"PayPal Smart Checkout API Credentials (you can get this from your PayPal "
|
3508 |
-
"account)"
|
3509 |
-
msgstr ""
|
3510 |
-
"PayPal Smart Checkout API Berechtigungen (Sie können diese von Ihrem PayPal-"
|
3511 |
-
"Konto erhalten)"
|
3512 |
-
|
3513 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:111
|
3514 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:111
|
3515 |
-
msgid "Live Client ID"
|
3516 |
-
msgstr "Kunden ID"
|
3517 |
-
|
3518 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:119
|
3519 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:119
|
3520 |
-
msgid "Live Secret"
|
3521 |
-
msgstr "Live Secret"
|
3522 |
-
|
3523 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:127
|
3524 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:127
|
3525 |
-
msgid "Sandbox Client ID"
|
3526 |
-
msgstr "Sandbox Kunden ID"
|
3527 |
-
|
3528 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:135
|
3529 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:135
|
3530 |
-
msgid "Sandbox Secret"
|
3531 |
-
msgstr "Sandbox Geheimschlüssel"
|
3532 |
-
|
3533 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:143
|
3534 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:143
|
3535 |
-
msgid "Button Appearance Settings"
|
3536 |
-
msgstr "Button Erscheinungsbild Einstellungen"
|
3537 |
-
|
3538 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:147
|
3539 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:147
|
3540 |
-
msgid "Size"
|
3541 |
-
msgstr "Größe"
|
3542 |
-
|
3543 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:150
|
3544 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:150
|
3545 |
-
msgid "Medium"
|
3546 |
-
msgstr "Medium"
|
3547 |
-
|
3548 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:151
|
3549 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:151
|
3550 |
-
msgid "Large"
|
3551 |
-
msgstr "Groß"
|
3552 |
-
|
3553 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:152
|
3554 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:152
|
3555 |
-
msgid "Repsonsive"
|
3556 |
-
msgstr "Repsonsive"
|
3557 |
-
|
3558 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:154
|
3559 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:154
|
3560 |
-
msgid "Select button size."
|
3561 |
-
msgstr "Schaltflächengröße auswählen."
|
3562 |
-
|
3563 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:158
|
3564 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:158
|
3565 |
-
msgid "Color"
|
3566 |
-
msgstr "Farbe"
|
3567 |
-
|
3568 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:161
|
3569 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:161
|
3570 |
-
msgid "Gold"
|
3571 |
-
msgstr "Gold"
|
3572 |
-
|
3573 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:162
|
3574 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:162
|
3575 |
-
msgid "Blue"
|
3576 |
-
msgstr "Blau"
|
3577 |
-
|
3578 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:163
|
3579 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:163
|
3580 |
-
msgid "Silver"
|
3581 |
-
msgstr "Silber"
|
3582 |
-
|
3583 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:164
|
3584 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:164
|
3585 |
-
msgid "Black"
|
3586 |
-
msgstr "Schwarz"
|
3587 |
-
|
3588 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:166
|
3589 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:166
|
3590 |
-
msgid "Select button color."
|
3591 |
-
msgstr "Schaltflächenfarbe wählen."
|
3592 |
-
|
3593 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:170
|
3594 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:170
|
3595 |
-
msgid "Shape"
|
3596 |
-
msgstr "Form"
|
3597 |
-
|
3598 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:172
|
3599 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:172
|
3600 |
-
msgid "Rectangular"
|
3601 |
-
msgstr "Rechteckig"
|
3602 |
-
|
3603 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:173
|
3604 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:173
|
3605 |
-
msgid "Pill"
|
3606 |
-
msgstr "Pill"
|
3607 |
-
|
3608 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:174
|
3609 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:174
|
3610 |
-
msgid "Select button shape."
|
3611 |
-
msgstr "Schaltflächenform wählen."
|
3612 |
-
|
3613 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:178
|
3614 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:178
|
3615 |
-
msgid "Layout"
|
3616 |
-
msgstr "Layout"
|
3617 |
-
|
3618 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:180
|
3619 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:180
|
3620 |
-
msgid "Vertical"
|
3621 |
-
msgstr "Vertikal"
|
3622 |
-
|
3623 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:181
|
3624 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:181
|
3625 |
-
msgid "Horizontal"
|
3626 |
-
msgstr "Horizontal"
|
3627 |
-
|
3628 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:182
|
3629 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:182
|
3630 |
-
msgid "Select button layout."
|
3631 |
-
msgstr "Schaltflächenform wählen."
|
3632 |
-
|
3633 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:187
|
3634 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:187
|
3635 |
-
msgid "Additional Settings"
|
3636 |
-
msgstr "Weitere Einstellungen"
|
3637 |
-
|
3638 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:191
|
3639 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:191
|
3640 |
-
msgid "Payment Methods"
|
3641 |
-
msgstr "Zahlungsmethoden"
|
3642 |
-
|
3643 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:193
|
3644 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:193
|
3645 |
-
msgid "PayPal Credit"
|
3646 |
-
msgstr "PayPal Kredit"
|
3647 |
-
|
3648 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:194
|
3649 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:194
|
3650 |
-
msgid "ELV"
|
3651 |
-
msgstr "ELV"
|
3652 |
-
|
3653 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:195
|
3654 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:195
|
3655 |
-
msgid ""
|
3656 |
-
"Select payment methods that could be used by customers. Note that payment "
|
3657 |
-
"with cards is always enabled."
|
3658 |
-
msgstr ""
|
3659 |
-
"Wählen Sie Zahlungsmethoden, die von Kunden genutzt werden können. Hinweis: "
|
3660 |
-
"Zahlung über Karten ist immer freigegeben."
|
3661 |
-
|
3662 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:200
|
3663 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:200
|
3664 |
-
msgid "The following details are optional"
|
3665 |
-
msgstr "Die folgenden Angaben sind optional"
|
3666 |
-
|
3667 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:18
|
3668 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:295
|
3669 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:18
|
3670 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:295
|
3671 |
-
msgid "PayPal Subscription Button Configuration"
|
3672 |
-
msgstr "PayPal \"Abonnieren\" Button Konfiguration"
|
3673 |
-
|
3674 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:93
|
3675 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:375
|
3676 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:93
|
3677 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:375
|
3678 |
-
msgid "Billing Amount Each Cycle"
|
3679 |
-
msgstr "Abrechnungsbetrag des Zyklusses"
|
3680 |
-
|
3681 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:101
|
3682 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:383
|
3683 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:101
|
3684 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:383
|
3685 |
-
msgid "Billing Cycle"
|
3686 |
-
msgstr "Abrechnungszyklus"
|
3687 |
-
|
3688 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:114
|
3689 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:396
|
3690 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:114
|
3691 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:396
|
3692 |
-
msgid "Billing Cycle Count"
|
3693 |
-
msgstr "Abrechnungszyklen"
|
3694 |
-
|
3695 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:122
|
3696 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:404
|
3697 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:122
|
3698 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:404
|
3699 |
-
msgid "Re-attempt on Failure"
|
3700 |
-
msgstr "Wiederholungsversuch bei aufgetretenem Fehler"
|
3701 |
-
|
3702 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:135
|
3703 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:419
|
3704 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:135
|
3705 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:419
|
3706 |
-
msgid ""
|
3707 |
-
"Trial Billing Details (Leave empty if you are not offering a trial period)"
|
3708 |
-
msgstr ""
|
3709 |
-
"Abrechnungsdetails für Probezeitraum (Leer lassen, wenn Sie keine Probezeit "
|
3710 |
-
"anbieten)"
|
3711 |
-
|
3712 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:141
|
3713 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:425
|
3714 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:141
|
3715 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:425
|
3716 |
-
msgid "Trial Billing Amount"
|
3717 |
-
msgstr "Rechnungsbetrag für Probezeitraum"
|
3718 |
-
|
3719 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:149
|
3720 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:433
|
3721 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:149
|
3722 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:433
|
3723 |
-
msgid "Trial Billing Period"
|
3724 |
-
msgstr "Abrechnungszeitraum für Probezeitraum"
|
3725 |
-
|
3726 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:166
|
3727 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:450
|
3728 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:177
|
3729 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:166
|
3730 |
-
#: simple-membership/views/payments/payment-gateway/admin_paypal_subscription_button.php:450
|
3731 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:177
|
3732 |
-
msgid "Optional Details"
|
3733 |
-
msgstr "Optionale Details"
|
3734 |
-
|
3735 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:29
|
3736 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:250
|
3737 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:29
|
3738 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:250
|
3739 |
-
msgid "Stripe Buy Now Button Configuration"
|
3740 |
-
msgstr "Stripe \"Jetzt kaufen\" Button Konfiguration"
|
3741 |
-
|
3742 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:104
|
3743 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:328
|
3744 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:104
|
3745 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:328
|
3746 |
-
msgid "Stripe API keys. You can get this from your Stripe account."
|
3747 |
-
msgstr ""
|
3748 |
-
"Stripe API-Schlüssel. Sie können diese von Ihrem Stripe-Konto erhalten."
|
3749 |
-
|
3750 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:108
|
3751 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:332
|
3752 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:131
|
3753 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:108
|
3754 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:332
|
3755 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:131
|
3756 |
-
msgid "Test Publishable Key"
|
3757 |
-
msgstr "Testen Sie den Veröffentlichungs-Schlüssel"
|
3758 |
-
|
3759 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:115
|
3760 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:339
|
3761 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:139
|
3762 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:115
|
3763 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:339
|
3764 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:139
|
3765 |
-
msgid "Test Secret Key"
|
3766 |
-
msgstr "Testen Sie den geheimen Schlüssel"
|
3767 |
-
|
3768 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:122
|
3769 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:346
|
3770 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:147
|
3771 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:122
|
3772 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:346
|
3773 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:147
|
3774 |
-
msgid "Live Publishable Key"
|
3775 |
-
msgstr "Veröffentlichungs Schlüssel"
|
3776 |
-
|
3777 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:129
|
3778 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:353
|
3779 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:155
|
3780 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:129
|
3781 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:353
|
3782 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:155
|
3783 |
-
msgid "Live Secret Key"
|
3784 |
-
msgstr "Geheimer Schlüssel"
|
3785 |
-
|
3786 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:141
|
3787 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:365
|
3788 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:183
|
3789 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:141
|
3790 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_buy_now_button.php:365
|
3791 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:183
|
3792 |
-
msgid "Collect Customer Address"
|
3793 |
-
msgstr "Adress-Daten des Kunden anfordern"
|
3794 |
-
|
3795 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:75
|
3796 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:75
|
3797 |
-
msgid "Stripe Subscription Button Configuration"
|
3798 |
-
msgstr "Konfiguration des Stripe Anmeldungs-Button"
|
3799 |
-
|
3800 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:109
|
3801 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:109
|
3802 |
-
msgid "Stripe Plan ID"
|
3803 |
-
msgstr "Stripe Plan ID"
|
3804 |
-
|
3805 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:125
|
3806 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:125
|
3807 |
-
msgid "Stripe API Settings"
|
3808 |
-
msgstr "Stripe API Einstellungen"
|
3809 |
-
|
3810 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:163
|
3811 |
-
#: simple-membership/views/payments/payment-gateway/admin_stripe_subscription_button.php:163
|
3812 |
-
msgid "Webook Endpoint URL"
|
3813 |
-
msgstr "Webook Endpoint URL"
|
3814 |
-
|
3815 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/braintree_button_shortcode_view.php:20
|
3816 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/paypal_button_shortcode_view.php:91
|
3817 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/paypal_button_shortcode_view.php:93
|
3818 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/paypal_smart_checkout_button_shortcode_view.php:15
|
3819 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/stripe_button_shortcode_view.php:20
|
3820 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/stripe_button_shortcode_view.php:150
|
3821 |
-
#: simple-membership/views/payments/payment-gateway/braintree_button_shortcode_view.php:20
|
3822 |
-
#: simple-membership/views/payments/payment-gateway/paypal_button_shortcode_view.php:91
|
3823 |
-
#: simple-membership/views/payments/payment-gateway/paypal_button_shortcode_view.php:93
|
3824 |
-
#: simple-membership/views/payments/payment-gateway/paypal_smart_checkout_button_shortcode_view.php:15
|
3825 |
-
#: simple-membership/views/payments/payment-gateway/stripe_button_shortcode_view.php:20
|
3826 |
-
#: simple-membership/views/payments/payment-gateway/stripe_button_shortcode_view.php:150
|
3827 |
-
msgid "Buy Now"
|
3828 |
-
msgstr "Jetzt kaufen"
|
3829 |
-
|
3830 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/paypal_button_shortcode_view.php:226
|
3831 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/paypal_button_shortcode_view.php:228
|
3832 |
-
#: simple-membership/views/payments/payment-gateway/paypal_button_shortcode_view.php:226
|
3833 |
-
#: simple-membership/views/payments/payment-gateway/paypal_button_shortcode_view.php:228
|
3834 |
-
msgid "Subscribe Now"
|
3835 |
-
msgstr "Jetzt abonnieren"
|
3836 |
-
|
3837 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/paypal_smart_checkout_button_shortcode_view.php:137
|
3838 |
-
#: simple-membership/views/payments/payment-gateway/paypal_smart_checkout_button_shortcode_view.php:137
|
3839 |
-
msgid "Error occured during PayPal Smart Checkout process."
|
3840 |
-
msgstr "Fehler aufgetreten während des PayPal Smart Checkout Prozesses."
|
3841 |
-
|
3842 |
-
#: simple-membership/simple-membership/views/payments/payment-gateway/paypal_smart_checkout_button_shortcode_view.php:165
|
3843 |
-
#: simple-membership/views/payments/payment-gateway/paypal_smart_checkout_button_shortcode_view.php:165
|
3844 |
-
msgid "HTTP error occured during payment process:"
|
3845 |
-
msgstr "HTTP Fehler aufgetreten während des Zahlungsvorgangs:"
|
3846 |
-
|
3847 |
-
#: simple-membership/views/login.php:33
|
3848 |
-
msgid "Forgot Password"
|
3849 |
-
msgstr "Passwort vergessen"
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Simple Membership\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-05-26 13:48+0600\n"
|
6 |
+
"PO-Revision-Date: 2019-06-11 15:51+0200\n"
|
7 |
+
"Last-Translator: Geo_Writer <information@geoplan-systems.de>\n"
|
8 |
+
"Language-Team: Deutsch\n"
|
9 |
+
"Language: de_DE\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 2.2.3\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;e\n"
|
15 |
+
"X-Poedit-Basepath: ..\n"
|
16 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
+
"X-Loco-Version: 2.2.2; wp-5.2.1\n"
|
18 |
+
"X-Poedit-SearchPath-0: Übersetzungen 01 2019\n"
|
19 |
+
"X-Poedit-SearchPath-1: simple-membership\n"
|
20 |
+
|
21 |
+
#: classes/class.simple-wp-membership.php:180
|
22 |
+
msgid "The admin of this site does not allow users to access the wp dashboard."
|
23 |
+
msgstr "Es ist Mitgliedern nicht erlaubt, auf das WP-Dashboard zuzugreifen."
|
24 |
+
|
25 |
+
#: classes/class.simple-wp-membership.php:181
|
26 |
+
msgid "Go back to the home page by "
|
27 |
+
msgstr "Gehe zurück zur Startseite "
|
28 |
+
|
29 |
+
#: classes/class.simple-wp-membership.php:181
|
30 |
+
msgid "clicking here"
|
31 |
+
msgstr "hier klicken"
|
32 |
+
|
33 |
+
#: classes/class.simple-wp-membership.php:242
|
34 |
+
msgid ""
|
35 |
+
"Error! This site has the force WP user login feature enabled in the "
|
36 |
+
"settings. We could not find a WP user record for the given username: "
|
37 |
+
msgstr ""
|
38 |
+
"Fehler! Diese Seite hat in den Einstellungen \"Synchronisation mit den WP "
|
39 |
+
"Benutzereinträgen erzwingen\" aktiviert. Wir konnten keinen WP Benutzer-"
|
40 |
+
"Eintrag für den eingegebenen Benutzernamen finden: "
|
41 |
+
|
42 |
+
#: classes/class.simple-wp-membership.php:243
|
43 |
+
msgid ""
|
44 |
+
"This error is triggered when a member account doesn't have a corresponding "
|
45 |
+
"WP user account. So the plugin fails to log the user into the WP User system."
|
46 |
+
msgstr ""
|
47 |
+
"Dieser Fehler tritt auf, wenn zu einem Mitglieds-Konto kein "
|
48 |
+
"korrespondierender WP User Account existiert. Dann kann das Plugin den "
|
49 |
+
"Benutzer nicht in das WP User System einloggen."
|
50 |
+
|
51 |
+
#: classes/class.simple-wp-membership.php:244
|
52 |
+
msgid ""
|
53 |
+
"Contact the site admin and request them to check your username in the WP "
|
54 |
+
"Users menu to see what happened with the WP user entry of your account."
|
55 |
+
msgstr ""
|
56 |
+
"Kontaktieren Sie den Website-Administrator und fordern sie ihn auf, Ihren "
|
57 |
+
"Benutzernamen zu prüfen, um zu sehen, was mit dem Benutzer-Eintrag Ihres "
|
58 |
+
"Accounts passiert ist."
|
59 |
+
|
60 |
+
#: classes/class.simple-wp-membership.php:245
|
61 |
+
msgid ""
|
62 |
+
"The site admin can disable the Force WP User Synchronization feature in the "
|
63 |
+
"settings to disable this feature and this error will go away."
|
64 |
+
msgstr ""
|
65 |
+
"Der Admin kann die erzwungene WP User Synchronisation in den Einstellungen "
|
66 |
+
"deaktivieren und dadurch diesen Fehler beheben."
|
67 |
+
|
68 |
+
#: classes/class.simple-wp-membership.php:246
|
69 |
+
msgid "You can use the back button of your browser to go back to the site."
|
70 |
+
msgstr ""
|
71 |
+
"Sie können mit Klick auf den \"zurück\" button in Ihrem Browser zu der Seite "
|
72 |
+
"zurückkehren."
|
73 |
+
|
74 |
+
#: classes/class.simple-wp-membership.php:407
|
75 |
+
msgid "You are not logged in."
|
76 |
+
msgstr "Sie sind nicht eingeloggt."
|
77 |
+
|
78 |
+
#: classes/class.simple-wp-membership.php:458
|
79 |
+
msgid ""
|
80 |
+
"You have the sandbox payment mode enabled in plugin settings. Make sure to "
|
81 |
+
"turn off the sandbox mode when you want to do live transactions."
|
82 |
+
msgstr ""
|
83 |
+
"Sie haben in den Einstellungen des Plugins die Testumgebung für die "
|
84 |
+
"Zahlungsvorgänge aktiviert. Bitte stellen Sie sicher, dass Sie die "
|
85 |
+
"Testumgebung deaktivieren, wenn Sie Zahlungen vornehmen wollen."
|
86 |
+
|
87 |
+
#: classes/class.simple-wp-membership.php:473
|
88 |
+
msgid "Simple WP Membership Protection"
|
89 |
+
msgstr "Simple WP Membership Schutz"
|
90 |
+
|
91 |
+
#: classes/class.simple-wp-membership.php:485
|
92 |
+
msgid "Simple Membership Protection options"
|
93 |
+
msgstr "Schutz-Einstellungen für Simple Membership"
|
94 |
+
|
95 |
+
#: classes/class.simple-wp-membership.php:503
|
96 |
+
msgid "Do you want to protect this content?"
|
97 |
+
msgstr "Möchten Sie diesen Inhalt schützen?"
|
98 |
+
|
99 |
+
#: classes/class.simple-wp-membership.php:504
|
100 |
+
msgid "No, Do not protect this content."
|
101 |
+
msgstr "Nein, diesen Inhalt nicht schützen."
|
102 |
+
|
103 |
+
#: classes/class.simple-wp-membership.php:505
|
104 |
+
msgid "Yes, Protect this content."
|
105 |
+
msgstr "Ja, diesen Inhalt schützen."
|
106 |
+
|
107 |
+
#: classes/class.simple-wp-membership.php:508
|
108 |
+
msgid "Select the membership level that can access this content:"
|
109 |
+
msgstr ""
|
110 |
+
"Wählen Sie die Mitgliedschaftsstufe aus, die auf diesen Inhalt zugreifen "
|
111 |
+
"kann:"
|
112 |
+
|
113 |
+
#: classes/class.simple-wp-membership.php:646
|
114 |
+
#: classes/class.simple-wp-membership.php:650
|
115 |
+
msgid "Validating, please wait"
|
116 |
+
msgstr "Überprüfung, bitte warten"
|
117 |
+
|
118 |
+
#: classes/class.simple-wp-membership.php:653
|
119 |
+
msgid "Invalid email address"
|
120 |
+
msgstr "Ungültige E-Mail-Adresse"
|
121 |
+
|
122 |
+
#: classes/class.simple-wp-membership.php:656
|
123 |
+
msgid "This field is required"
|
124 |
+
msgstr "Dieses Feld ist erforderlich"
|
125 |
+
|
126 |
+
#: classes/class.simple-wp-membership.php:659 classes/class.swpm-auth.php:296
|
127 |
+
msgid "Invalid Username"
|
128 |
+
msgstr "Ungültiger Benutzername"
|
129 |
+
|
130 |
+
#: classes/class.simple-wp-membership.php:659
|
131 |
+
msgid "Usernames can only contain: letters, numbers and .-_*@"
|
132 |
+
msgstr "Benutzername kann nur enthalten: Buchstaben, Ziffern und .-_*@"
|
133 |
+
|
134 |
+
#: classes/class.simple-wp-membership.php:662
|
135 |
+
msgid "Minimum "
|
136 |
+
msgstr "Minimum "
|
137 |
+
|
138 |
+
#: classes/class.simple-wp-membership.php:663
|
139 |
+
msgid " characters required"
|
140 |
+
msgstr " Buchstaben erforderlich"
|
141 |
+
|
142 |
+
#: classes/class.simple-wp-membership.php:666
|
143 |
+
msgid "Apostrophe character is not allowed"
|
144 |
+
msgstr "Apostroph ist nicht zulässig"
|
145 |
+
|
146 |
+
#: classes/class.simple-wp-membership.php:697
|
147 |
+
msgid "WP Membership"
|
148 |
+
msgstr "WP Mitgliedschaft"
|
149 |
+
|
150 |
+
#: classes/class.simple-wp-membership.php:698 classes/class.swpm-members.php:11
|
151 |
+
#: classes/class.swpm-members.php:581
|
152 |
+
msgid "Members"
|
153 |
+
msgstr "Mitglieder"
|
154 |
+
|
155 |
+
#: classes/class.simple-wp-membership.php:699
|
156 |
+
#: classes/class.swpm-category-list.php:20
|
157 |
+
#: classes/class.swpm-membership-levels.php:12
|
158 |
+
#: classes/class.swpm-membership-levels.php:265
|
159 |
+
#: classes/class.swpm-post-list.php:21
|
160 |
+
msgid "Membership Levels"
|
161 |
+
msgstr "Mitgliedschaftsstufen"
|
162 |
+
|
163 |
+
#: classes/class.simple-wp-membership.php:700
|
164 |
+
msgid "Settings"
|
165 |
+
msgstr "Einstellungen"
|
166 |
+
|
167 |
+
#: classes/class.simple-wp-membership.php:701
|
168 |
+
msgid "Payments"
|
169 |
+
msgstr "Zahlungen"
|
170 |
+
|
171 |
+
#: classes/class.simple-wp-membership.php:702
|
172 |
+
msgid "Add-ons"
|
173 |
+
msgstr "Add-ons"
|
174 |
+
|
175 |
+
#: classes/class.swpm-access-control.php:47
|
176 |
+
#: classes/class.swpm-access-control.php:120
|
177 |
+
msgid "You need to login to view this content. "
|
178 |
+
msgstr "Sie müssen sich anmelden, um diesen Inhalt ansehen zu können. "
|
179 |
+
|
180 |
+
#: classes/class.swpm-access-control.php:56
|
181 |
+
#: classes/class.swpm-access-control.php:128
|
182 |
+
#: classes/class.swpm-access-control.php:212
|
183 |
+
msgid "Your account has expired. "
|
184 |
+
msgstr "Mitgliedschaft abgelaufen. "
|
185 |
+
|
186 |
+
#: classes/class.swpm-access-control.php:66
|
187 |
+
#: classes/class.swpm-access-control.php:138
|
188 |
+
msgid "This content can only be viewed by members who joined on or before "
|
189 |
+
msgstr ""
|
190 |
+
"Dieser Inhalt kann nur von Mitgliedern angesehen werden, die sich "
|
191 |
+
"registriert haben an oder vor "
|
192 |
+
|
193 |
+
#: classes/class.swpm-access-control.php:79
|
194 |
+
#: classes/class.swpm-access-control.php:148
|
195 |
+
msgid "This content is not permitted for your membership level."
|
196 |
+
msgstr "Dieser Inhalt ist für Ihre Mitgliedschaftsstufe nicht freigeschaltet."
|
197 |
+
|
198 |
+
#: classes/class.swpm-access-control.php:204
|
199 |
+
msgid "You need to login to view the rest of the content. "
|
200 |
+
msgstr ""
|
201 |
+
"Sie müssen sich anmelden um den restlichen Inhalt angezeigt zu bekommen. "
|
202 |
+
|
203 |
+
#: classes/class.swpm-access-control.php:217
|
204 |
+
msgid " The rest of the content is not permitted for your membership level."
|
205 |
+
msgstr ""
|
206 |
+
" Der Rest des Inhalts ist für Ihre Mitgliedschaftsstufe nicht freigeschaltet."
|
207 |
+
|
208 |
+
#: classes/class.swpm-admin-registration.php:25
|
209 |
+
msgid "Error! Nonce verification failed for user registration from admin end."
|
210 |
+
msgstr ""
|
211 |
+
"Fehler! Nonce-Überprüfung für Benutzerregistrierung durch den Admin "
|
212 |
+
"fehlgeschlagen."
|
213 |
+
|
214 |
+
#: classes/class.swpm-admin-registration.php:71
|
215 |
+
msgid "Member record added successfully."
|
216 |
+
msgstr "Der Eintrag für das Mitglied wurde erfolgreich hinzugefügt."
|
217 |
+
|
218 |
+
#: classes/class.swpm-admin-registration.php:76
|
219 |
+
#: classes/class.swpm-admin-registration.php:124
|
220 |
+
#: classes/class.swpm-admin-registration.php:151
|
221 |
+
#: classes/class.swpm-membership-level.php:73
|
222 |
+
#: classes/class.swpm-membership-level.php:105
|
223 |
+
msgid "Please correct the following:"
|
224 |
+
msgstr "Bitte korrigieren Sie folgendes:"
|
225 |
+
|
226 |
+
#: classes/class.swpm-admin-registration.php:87
|
227 |
+
msgid "Error! Nonce verification failed for user edit from admin end."
|
228 |
+
msgstr ""
|
229 |
+
"Fehler! Nonce-Überprüfung für die Bearbeitung der Benutzerdaten durch den "
|
230 |
+
"Admin fehlgeschlagen."
|
231 |
+
|
232 |
+
#: classes/class.swpm-admin-registration.php:139
|
233 |
+
msgid "Your current password"
|
234 |
+
msgstr "Ihr aktuelles Passwort"
|
235 |
+
|
236 |
+
#: classes/class.swpm-ajax.php:14
|
237 |
+
msgid "Invalid Email Address"
|
238 |
+
msgstr "Ungültige E-Mail Adresse"
|
239 |
+
|
240 |
+
#: classes/class.swpm-ajax.php:21 classes/class.swpm-ajax.php:36
|
241 |
+
msgid "Aready taken"
|
242 |
+
msgstr "Wird schon verwendet"
|
243 |
+
|
244 |
+
#: classes/class.swpm-ajax.php:30
|
245 |
+
msgid "Name contains invalid character"
|
246 |
+
msgstr "Name enthält ungültiges Zeichen"
|
247 |
+
|
248 |
+
#: classes/class.swpm-ajax.php:37
|
249 |
+
msgid "Available"
|
250 |
+
msgstr "Verfügbar"
|
251 |
+
|
252 |
+
#: classes/class.swpm-auth.php:57
|
253 |
+
msgid ""
|
254 |
+
"Warning! Simple Membership plugin cannot process this login request to "
|
255 |
+
"prevent you from getting logged out of WP Admin accidentally."
|
256 |
+
msgstr ""
|
257 |
+
"Warnung! Simple Membership Plugin kann dieses Login nicht durchführen, um zu "
|
258 |
+
"verhindern, dass Sie versehentlich als WP Admin ausgeloggt werden."
|
259 |
+
|
260 |
+
#: classes/class.swpm-auth.php:58
|
261 |
+
msgid "Click here"
|
262 |
+
msgstr "Hier klicken"
|
263 |
+
|
264 |
+
#: classes/class.swpm-auth.php:58
|
265 |
+
msgid " to see the profile you are currently logged into in this browser."
|
266 |
+
msgstr ""
|
267 |
+
" um das Profil zu sehen, mit dem Sie in diesem Browser eingeloggt sind."
|
268 |
+
|
269 |
+
#: classes/class.swpm-auth.php:59
|
270 |
+
msgid ""
|
271 |
+
"You are logged into the site as an ADMIN user in this browser. First, logout "
|
272 |
+
"from WP Admin then you will be able to log in as a normal member."
|
273 |
+
msgstr ""
|
274 |
+
"Sie sind auf dieser Seite mit diesem Browser als ADMIN eingeloggt. Loggen "
|
275 |
+
"Sie sich zuerst als Admin aus, dann können Sie sich als Mitglied einloggen."
|
276 |
+
|
277 |
+
#: classes/class.swpm-auth.php:60
|
278 |
+
msgid ""
|
279 |
+
"Alternatively, you can use a different browser (where you are not logged-in "
|
280 |
+
"as ADMIN) to test the membership login."
|
281 |
+
msgstr ""
|
282 |
+
"Alternativ können Sie einen anderen Browser verwenden (in welchem Sie nicht "
|
283 |
+
"als Admin eingeloggt sind), um das Login-Interface zu testen."
|
284 |
+
|
285 |
+
#: classes/class.swpm-auth.php:61
|
286 |
+
msgid ""
|
287 |
+
"Your normal visitors or members will never see this message. This message is "
|
288 |
+
"ONLY for ADMIN user."
|
289 |
+
msgstr ""
|
290 |
+
"Ihre Besucher und Mitglieder werden diese Nachricht niemals sehen können. "
|
291 |
+
"Diese Meldung ist AUSSCHLIESSLICH für ADMIN."
|
292 |
+
|
293 |
+
#: classes/class.swpm-auth.php:68
|
294 |
+
msgid "Captcha validation failed on login form."
|
295 |
+
msgstr "Captcha-Validierung fehlgeschlagen."
|
296 |
+
|
297 |
+
#: classes/class.swpm-auth.php:93
|
298 |
+
msgid "User Not Found."
|
299 |
+
msgstr "Benutzer nicht gefunden."
|
300 |
+
|
301 |
+
#: classes/class.swpm-auth.php:100
|
302 |
+
msgid "Password Empty or Invalid."
|
303 |
+
msgstr "Passwort leer oder ungültig."
|
304 |
+
|
305 |
+
#: classes/class.swpm-auth.php:133
|
306 |
+
msgid "Account is inactive."
|
307 |
+
msgstr "Ihr Konto ist inaktiv."
|
308 |
+
|
309 |
+
#: classes/class.swpm-auth.php:136 classes/class.swpm-auth.php:162
|
310 |
+
msgid "Account has expired."
|
311 |
+
msgstr "Mitgliedschaft abgelaufen."
|
312 |
+
|
313 |
+
#: classes/class.swpm-auth.php:139
|
314 |
+
msgid "Account is pending."
|
315 |
+
msgstr "Ihr Konto ist inaktiv."
|
316 |
+
|
317 |
+
#: classes/class.swpm-auth.php:146
|
318 |
+
#, php-format
|
319 |
+
msgid ""
|
320 |
+
"You need to activate your account. If you didn't receive an email then %s to "
|
321 |
+
"resend the activation email."
|
322 |
+
msgstr ""
|
323 |
+
"Sie müssen Ihr Konto aktivieren. Falls Sie keine Email erhalten haben, dann "
|
324 |
+
"%s um die Aktivierungs-Email nochmal zu senden."
|
325 |
+
|
326 |
+
#: classes/class.swpm-auth.php:146
|
327 |
+
#: classes/class.swpm-front-registration.php:376
|
328 |
+
#: classes/class.swpm-front-registration.php:426
|
329 |
+
#: classes/class.swpm-utils-misc.php:169
|
330 |
+
msgid "click here"
|
331 |
+
msgstr "hier klicken"
|
332 |
+
|
333 |
+
#: classes/class.swpm-auth.php:170
|
334 |
+
msgid "You are logged in as:"
|
335 |
+
msgstr "Sie sind eingeloggt als:"
|
336 |
+
|
337 |
+
#: classes/class.swpm-auth.php:234
|
338 |
+
msgid "Logged Out Successfully."
|
339 |
+
msgstr "Abmeldung war erfolgreich."
|
340 |
+
|
341 |
+
#: classes/class.swpm-auth.php:287
|
342 |
+
msgid "Session Expired."
|
343 |
+
msgstr "Sitzung ist abgelaufen."
|
344 |
+
|
345 |
+
#: classes/class.swpm-auth.php:304
|
346 |
+
msgid "Please login again."
|
347 |
+
msgstr "Bitte loggen Sie sich erneut ein."
|
348 |
+
|
349 |
+
#: classes/class.swpm-category-list.php:19 classes/class.swpm-members.php:24
|
350 |
+
#: classes/class.swpm-membership-levels.php:11
|
351 |
+
#: classes/class.swpm-membership-levels.php:21
|
352 |
+
#: classes/class.swpm-post-list.php:20
|
353 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:85
|
354 |
+
#: views/add.php:40 views/admin_member_form_common_part.php:2 views/edit.php:75
|
355 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:50
|
356 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:34
|
357 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:229
|
358 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:49
|
359 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:35
|
360 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:317
|
361 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:47
|
362 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:273
|
363 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:99
|
364 |
+
msgid "Membership Level"
|
365 |
+
msgstr "Mitgliedschaftsstufe"
|
366 |
+
|
367 |
+
#: classes/class.swpm-category-list.php:33
|
368 |
+
msgid "Category ID"
|
369 |
+
msgstr "Kategorie ID"
|
370 |
+
|
371 |
+
#: classes/class.swpm-category-list.php:34
|
372 |
+
msgid "Category Name"
|
373 |
+
msgstr "Kategorie Name"
|
374 |
+
|
375 |
+
#: classes/class.swpm-category-list.php:35
|
376 |
+
msgid "Category Type (Taxonomy)"
|
377 |
+
msgstr "Kategorie Typ (Taxonomy)"
|
378 |
+
|
379 |
+
#: classes/class.swpm-category-list.php:36
|
380 |
+
msgid "Description"
|
381 |
+
msgstr "Beschreibung"
|
382 |
+
|
383 |
+
#: classes/class.swpm-category-list.php:37
|
384 |
+
msgid "Count"
|
385 |
+
msgstr "Anzahl"
|
386 |
+
|
387 |
+
#: classes/class.swpm-category-list.php:92
|
388 |
+
msgid "Category protection updated!"
|
389 |
+
msgstr "Kategorie Schutz aktualisiert!"
|
390 |
+
|
391 |
+
#: classes/class.swpm-category-list.php:130
|
392 |
+
msgid "No category found."
|
393 |
+
msgstr "Kategorie wurde nicht gefunden."
|
394 |
+
|
395 |
+
#: classes/class.swpm-comment-form-related.php:15
|
396 |
+
msgid "Please login to comment."
|
397 |
+
msgstr ""
|
398 |
+
"Bitte loggen Sie sich ein, damit Sie einen Kommentar hinterlassen können."
|
399 |
+
|
400 |
+
#: classes/class.swpm-comment-form-related.php:40
|
401 |
+
msgid "Please Login to Comment."
|
402 |
+
msgstr ""
|
403 |
+
"Bitte loggen Sie sich ein, damit Sie einen Kommentar hinterlassen können."
|
404 |
+
|
405 |
+
#: classes/class.swpm-comment-form-related.php:79
|
406 |
+
msgid "Comments not allowed by a non-member."
|
407 |
+
msgstr "Nicht-Mitglieder können keinen Kommentar hinterlassen."
|
408 |
+
|
409 |
+
#: classes/class.swpm-form.php:30
|
410 |
+
msgid ""
|
411 |
+
"Wordpress account exists with given username. But given email doesn't match."
|
412 |
+
msgstr ""
|
413 |
+
"Es existiert bereits ein Account mit den angegebenen Benutzernamen. Die E-"
|
414 |
+
"Mail Adresse passt aber nicht zum Benutzernamen."
|
415 |
+
|
416 |
+
#: classes/class.swpm-form.php:31
|
417 |
+
msgid ""
|
418 |
+
" Use a different username to complete the registration. If you want to use "
|
419 |
+
"that username then you must enter the correct email address associated with "
|
420 |
+
"the existing WP user to connect with that account."
|
421 |
+
msgstr ""
|
422 |
+
" Verwenden Sie einen anderen Benutzernamen, um die Registrierung "
|
423 |
+
"abzuschließen. Wenn Sie diesen Benutzernamen verwenden möchten, geben Sie "
|
424 |
+
"die korrekte e-Mail-Adresse, die verbunden ist mit dem bestehenden WP-"
|
425 |
+
"Benutzer, um sich mit diesem Konto zu verbinden."
|
426 |
+
|
427 |
+
#: classes/class.swpm-form.php:37
|
428 |
+
msgid ""
|
429 |
+
"Wordpress account exists with given email. But given username doesn't match."
|
430 |
+
msgstr ""
|
431 |
+
"Es existiert bereits ein WP Account mit der angegebenen E-Mail Adresse. Der "
|
432 |
+
"Benutzername passt aber nicht zur E-Mail Adresse."
|
433 |
+
|
434 |
+
#: classes/class.swpm-form.php:38
|
435 |
+
msgid ""
|
436 |
+
" Use a different email address to complete the registration. If you want to "
|
437 |
+
"use that email then you must enter the correct username associated with the "
|
438 |
+
"existing WP user to connect with that account."
|
439 |
+
msgstr ""
|
440 |
+
" Verwenden Sie eine andere E-Mail Adresse um Ihre Registrierung "
|
441 |
+
"abzuschließen. Wenn Sie diese E-Mail Adresse verwenden wollen, müssen Sie "
|
442 |
+
"den richtigen Benutzernamen des bestehenden WP Benutzereintrags eingeben, um "
|
443 |
+
"sich mit diesem Account zu verbinden."
|
444 |
+
|
445 |
+
#: classes/class.swpm-form.php:48
|
446 |
+
msgid "Username is required"
|
447 |
+
msgstr "Der Mitgliedername ist erforderlich"
|
448 |
+
|
449 |
+
#: classes/class.swpm-form.php:52
|
450 |
+
msgid "Username contains invalid character"
|
451 |
+
msgstr "Der Benutzername enthält ungültige Zeichen"
|
452 |
+
|
453 |
+
#: classes/class.swpm-form.php:60
|
454 |
+
msgid "Username already exists."
|
455 |
+
msgstr "Ihr Benutzername existiert bereits."
|
456 |
+
|
457 |
+
#: classes/class.swpm-form.php:83
|
458 |
+
msgid "Password is required"
|
459 |
+
msgstr "Passwort erforderlich"
|
460 |
+
|
461 |
+
#: classes/class.swpm-form.php:90
|
462 |
+
msgid "Password mismatch"
|
463 |
+
msgstr "Die Passwörter stimmen nicht überein"
|
464 |
+
|
465 |
+
#: classes/class.swpm-form.php:101
|
466 |
+
msgid "Email is required"
|
467 |
+
msgstr "E-Mail Adresse wird benötigt"
|
468 |
+
|
469 |
+
#: classes/class.swpm-form.php:105
|
470 |
+
msgid "Email is invalid"
|
471 |
+
msgstr "E-Mail Adresse ist ungültig"
|
472 |
+
|
473 |
+
#: classes/class.swpm-form.php:121
|
474 |
+
msgid "Email is already used."
|
475 |
+
msgstr "Ihre E-Mail Adresse existiert bereits."
|
476 |
+
|
477 |
+
#: classes/class.swpm-form.php:179
|
478 |
+
msgid "Member since field is invalid"
|
479 |
+
msgstr "\"Mitglied seit\" Feld ist inkorrekt"
|
480 |
+
|
481 |
+
#: classes/class.swpm-form.php:190
|
482 |
+
msgid "Access starts field is invalid"
|
483 |
+
msgstr "Ungültiger Wert für den Beginn des Zugangs"
|
484 |
+
|
485 |
+
#: classes/class.swpm-form.php:200
|
486 |
+
msgid "Gender field is invalid"
|
487 |
+
msgstr "Feld \"Geschlecht\" ist inkorrekt"
|
488 |
+
|
489 |
+
#: classes/class.swpm-form.php:211
|
490 |
+
msgid "Account state field is invalid"
|
491 |
+
msgstr "Kontostatusfeld ist ungültig"
|
492 |
+
|
493 |
+
#: classes/class.swpm-form.php:218
|
494 |
+
msgid "Invalid membership level"
|
495 |
+
msgstr "Ungültige Mitgliedschaftsstufe"
|
496 |
+
|
497 |
+
#: classes/class.swpm-front-registration.php:33
|
498 |
+
msgid ""
|
499 |
+
"Error! Invalid Request. Could not find a match for the given security code "
|
500 |
+
"and the user ID."
|
501 |
+
msgstr ""
|
502 |
+
"Fehler! Ungültige Anfrage. Konnte keine Übereinstimmung für den angegebenen "
|
503 |
+
"Sicherheitscode und die Benutzer-ID finden."
|
504 |
+
|
505 |
+
#: classes/class.swpm-front-registration.php:45
|
506 |
+
#: classes/class.swpm-utils-misc.php:274 views/login.php:36
|
507 |
+
msgid "Join Us"
|
508 |
+
msgstr "Noch kein Mitglied? Registrieren Sie sich hier"
|
509 |
+
|
510 |
+
#: classes/class.swpm-front-registration.php:47
|
511 |
+
msgid ""
|
512 |
+
"Free membership is disabled on this site. Please make a payment from the "
|
513 |
+
msgstr ""
|
514 |
+
"Die Kostenlose Mitgliedschaft ist auf dieser Seite deaktiviert. Bitte "
|
515 |
+
"erstellen Sie eine Zahlung für "
|
516 |
+
|
517 |
+
#: classes/class.swpm-front-registration.php:49
|
518 |
+
msgid " page to pay for a premium membership."
|
519 |
+
msgstr " Seite, um für eine Premium-Mitgliedschaft zu bezahlen."
|
520 |
+
|
521 |
+
#: classes/class.swpm-front-registration.php:51
|
522 |
+
msgid ""
|
523 |
+
"You will receive a unique link via email after the payment. You will be able "
|
524 |
+
"to use that link to complete the premium membership registration."
|
525 |
+
msgstr ""
|
526 |
+
"Sie werden einen persönlichen Link per E-Mail nach Beendigung des "
|
527 |
+
"Zahlungsvorgangs erhalten. Mit diesem Link können Sie die Registrierung "
|
528 |
+
"Ihrer Premium Mitgliedschaft abschließen."
|
529 |
+
|
530 |
+
#: classes/class.swpm-front-registration.php:79
|
531 |
+
msgid "Security check: captcha validation failed."
|
532 |
+
msgstr "Sicherheitskontrolle: Captcha-Validierung fehlgeschlagen."
|
533 |
+
|
534 |
+
#: classes/class.swpm-front-registration.php:89
|
535 |
+
msgid "You must accept the terms and conditions."
|
536 |
+
msgstr "Sie müssen die allgemeinen Geschäftsbedingungen akzeptieren."
|
537 |
+
|
538 |
+
#: classes/class.swpm-front-registration.php:100
|
539 |
+
msgid "You must agree to the privacy policy."
|
540 |
+
msgstr "Sie müssen der Datenschutzerklärung zustimmen."
|
541 |
+
|
542 |
+
#: classes/class.swpm-front-registration.php:140
|
543 |
+
msgid ""
|
544 |
+
"You need to confirm your email address. Please check your email and follow "
|
545 |
+
"instructions to complete your registration."
|
546 |
+
msgstr ""
|
547 |
+
"Sie müssen Ihre Email Adresse bestätigen. Bitte prüfen Sie Ihre Email "
|
548 |
+
"Adresse und folgen Sie den Anweisungen, um die Anmeldung abzuschließen."
|
549 |
+
|
550 |
+
#: classes/class.swpm-front-registration.php:145
|
551 |
+
msgid "Registration Successful. "
|
552 |
+
msgstr "Registrierung erfolgreich. "
|
553 |
+
|
554 |
+
#: classes/class.swpm-front-registration.php:145
|
555 |
+
#: classes/class.swpm-utils-misc.php:273 classes/class.swpm-utils-misc.php:285
|
556 |
+
msgid "Please"
|
557 |
+
msgstr "Bitte"
|
558 |
+
|
559 |
+
#: classes/class.swpm-front-registration.php:145
|
560 |
+
#: classes/class.swpm-utils-misc.php:273 views/login.php:30
|
561 |
+
msgid "Login"
|
562 |
+
msgstr "Einloggen"
|
563 |
+
|
564 |
+
#: classes/class.swpm-front-registration.php:159
|
565 |
+
msgid "Please correct the following"
|
566 |
+
msgstr "Bitte korrigieren Sie folgendes"
|
567 |
+
|
568 |
+
#: classes/class.swpm-front-registration.php:207
|
569 |
+
msgid "Membership Level Couldn't be found."
|
570 |
+
msgstr "Mitgliedschaftsstufe konnte nicht gefunden werden."
|
571 |
+
|
572 |
+
#: classes/class.swpm-front-registration.php:258
|
573 |
+
msgid "Error! Nonce verification failed for front end profile edit."
|
574 |
+
msgstr ""
|
575 |
+
"Fehler! Nonce-Überprüfung für Front-End Profil-Bearbeitung fehlgeschlagen."
|
576 |
+
|
577 |
+
#: classes/class.swpm-front-registration.php:266
|
578 |
+
msgid "Profile updated successfully."
|
579 |
+
msgstr "Profil erfolgreich aktualisiert."
|
580 |
+
|
581 |
+
#: classes/class.swpm-front-registration.php:275
|
582 |
+
msgid ""
|
583 |
+
"Profile updated successfully. You will need to re-login since you changed "
|
584 |
+
"your password."
|
585 |
+
msgstr ""
|
586 |
+
"Profil erfolgreich aktualisiert. Sie müssen sich erneut anmelden, da Sie Ihr "
|
587 |
+
"Passwort geändert haben."
|
588 |
+
|
589 |
+
#: classes/class.swpm-front-registration.php:289
|
590 |
+
msgid "Please correct the following."
|
591 |
+
msgstr "Bitte korrigieren Sie folgendes."
|
592 |
+
|
593 |
+
#: classes/class.swpm-front-registration.php:301
|
594 |
+
msgid "Captcha validation failed."
|
595 |
+
msgstr "Captcha-Validierung fehlgeschlagen."
|
596 |
+
|
597 |
+
#: classes/class.swpm-front-registration.php:309
|
598 |
+
msgid "Email address not valid."
|
599 |
+
msgstr "Ungültige E-Mail Adresse."
|
600 |
+
|
601 |
+
#: classes/class.swpm-front-registration.php:320
|
602 |
+
msgid "No user found with that email address."
|
603 |
+
msgstr "Kein Benutzer mit dieser E-Mail-Adresse gefunden."
|
604 |
+
|
605 |
+
#: classes/class.swpm-front-registration.php:321
|
606 |
+
#: classes/class.swpm-front-registration.php:350
|
607 |
+
msgid "Email Address: "
|
608 |
+
msgstr "E-Mail Adresse: "
|
609 |
+
|
610 |
+
#: classes/class.swpm-front-registration.php:349
|
611 |
+
msgid "New password has been sent to your email address."
|
612 |
+
msgstr "Es wurde ein neues Passwort an Ihre E-Mail-Adresse gesendet."
|
613 |
+
|
614 |
+
#: classes/class.swpm-front-registration.php:371
|
615 |
+
msgid "Can't find member account."
|
616 |
+
msgstr "Kann kein Mitgliedskonto finden."
|
617 |
+
|
618 |
+
#: classes/class.swpm-front-registration.php:376
|
619 |
+
#: classes/class.swpm-front-registration.php:426
|
620 |
+
msgid "Account already active. "
|
621 |
+
msgstr "Ihr Konto ist schon aktiv. "
|
622 |
+
|
623 |
+
#: classes/class.swpm-front-registration.php:376
|
624 |
+
#: classes/class.swpm-front-registration.php:426
|
625 |
+
msgid " to login."
|
626 |
+
msgstr " um einzuloggen."
|
627 |
+
|
628 |
+
#: classes/class.swpm-front-registration.php:383
|
629 |
+
msgid ""
|
630 |
+
"Activation code mismatch. Cannot activate this account. Please contact the "
|
631 |
+
"site admin."
|
632 |
+
msgstr ""
|
633 |
+
"Problem mit dem Aktivierungs-Code. Das Konto kann nicht aktiviert werden. "
|
634 |
+
"Bitte kontaktieren Sie den Admin."
|
635 |
+
|
636 |
+
#: classes/class.swpm-front-registration.php:397
|
637 |
+
msgid "Success! Your account has been activated successfully."
|
638 |
+
msgstr "Erfolg! Ihr Konto ist erfolgreich aktiviert."
|
639 |
+
|
640 |
+
#: classes/class.swpm-front-registration.php:421
|
641 |
+
msgid "Cannot find member account."
|
642 |
+
msgstr "Kann kein Mitgliedskonto finden."
|
643 |
+
|
644 |
+
#: classes/class.swpm-front-registration.php:443
|
645 |
+
msgid ""
|
646 |
+
"Activation email has been sent. Please check your email and activate your "
|
647 |
+
"account."
|
648 |
+
msgstr ""
|
649 |
+
"Aktivierungs-Email gesendet. Bitte checken Sie Ihre Emails und aktivieren "
|
650 |
+
"Sie das Konto."
|
651 |
+
|
652 |
+
#: classes/class.swpm-init-time-tasks.php:118
|
653 |
+
msgid "Sorry, Nonce verification failed."
|
654 |
+
msgstr "Entschuldigung, Nonce-Überprüfung fehlgeschlagen."
|
655 |
+
|
656 |
+
#: classes/class.swpm-init-time-tasks.php:125
|
657 |
+
msgid "Sorry, Password didn't match."
|
658 |
+
msgstr "Passwort stimmt leider nicht überein."
|
659 |
+
|
660 |
+
#: classes/class.swpm-level-form.php:50
|
661 |
+
msgid "Date format is not valid."
|
662 |
+
msgstr "Datumsformat ist nicht gültig."
|
663 |
+
|
664 |
+
#: classes/class.swpm-level-form.php:58
|
665 |
+
msgid "Access duration must be > 0."
|
666 |
+
msgstr "Zugriffsdauer muss >0 sein."
|
667 |
+
|
668 |
+
#: classes/class.swpm-members.php:10
|
669 |
+
msgid "Member"
|
670 |
+
msgstr "Mitglied"
|
671 |
+
|
672 |
+
#: classes/class.swpm-members.php:19
|
673 |
+
#: classes/class.swpm-membership-levels.php:20
|
674 |
+
msgid "ID"
|
675 |
+
msgstr "ID"
|
676 |
+
|
677 |
+
#: classes/class.swpm-members.php:20 views/add.php:16 views/admin_add.php:11
|
678 |
+
#: views/admin_edit.php:19 views/edit.php:23
|
679 |
+
#: includes/swpm_mda_show_profile.php:27
|
680 |
+
msgid "Username"
|
681 |
+
msgstr "Benutzername"
|
682 |
+
|
683 |
+
#: classes/class.swpm-members.php:21
|
684 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:78
|
685 |
+
#: views/add.php:32 views/admin_member_form_common_part.php:15
|
686 |
+
#: views/edit.php:39 includes/swpm_mda_show_profile.php:28
|
687 |
+
msgid "First Name"
|
688 |
+
msgstr "Vorname"
|
689 |
+
|
690 |
+
#: classes/class.swpm-members.php:22
|
691 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:79
|
692 |
+
#: views/add.php:36 views/admin_member_form_common_part.php:19
|
693 |
+
#: views/edit.php:43 includes/swpm_mda_show_profile.php:29
|
694 |
+
msgid "Last Name"
|
695 |
+
msgstr "Nachname"
|
696 |
+
|
697 |
+
#: classes/class.swpm-members.php:23 views/add.php:20 views/edit.php:27
|
698 |
+
#: includes/swpm_mda_show_profile.php:35
|
699 |
+
msgid "Email"
|
700 |
+
msgstr "E-Mail"
|
701 |
+
|
702 |
+
#: classes/class.swpm-members.php:25 views/admin_member_form_common_part.php:11
|
703 |
+
msgid "Access Starts"
|
704 |
+
msgstr "Beginn der Zugriffsmöglichkeit"
|
705 |
+
|
706 |
+
#: classes/class.swpm-members.php:26 includes/swpm_mda_show_profile.php:31
|
707 |
+
msgid "Account State"
|
708 |
+
msgstr "Kontostatus"
|
709 |
+
|
710 |
+
#: classes/class.swpm-members.php:27
|
711 |
+
msgid "Last Login Date"
|
712 |
+
msgstr "Datum des letzten Log-In"
|
713 |
+
|
714 |
+
#: classes/class.swpm-members.php:46
|
715 |
+
#: classes/class.swpm-membership-levels.php:36
|
716 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:94
|
717 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:102
|
718 |
+
msgid "Delete"
|
719 |
+
msgstr "Löschen"
|
720 |
+
|
721 |
+
#: classes/class.swpm-members.php:47
|
722 |
+
msgid "Set Status to Active"
|
723 |
+
msgstr "Setzen Sie den Status auf Aktiv"
|
724 |
+
|
725 |
+
#: classes/class.swpm-members.php:48
|
726 |
+
msgid "Set Status to Active and Notify"
|
727 |
+
msgstr "Setzen Sie den Status auf Aktiv und Benachrichtigen"
|
728 |
+
|
729 |
+
#: classes/class.swpm-members.php:49
|
730 |
+
msgid "Set Status to Inactive"
|
731 |
+
msgstr "Setzen Sie den Status auf Inaktiv"
|
732 |
+
|
733 |
+
#: classes/class.swpm-members.php:50
|
734 |
+
msgid "Set Status to Pending"
|
735 |
+
msgstr "Setzen Sie den Status auf Ausstehend"
|
736 |
+
|
737 |
+
#: classes/class.swpm-members.php:51
|
738 |
+
msgid "Set Status to Expired"
|
739 |
+
msgstr "Setzen Sie den Status auf abgelaufen"
|
740 |
+
|
741 |
+
#: classes/class.swpm-members.php:72
|
742 |
+
msgid "incomplete"
|
743 |
+
msgstr "unvollständig"
|
744 |
+
|
745 |
+
#: classes/class.swpm-members.php:191
|
746 |
+
msgid "No member found."
|
747 |
+
msgstr "Kein Mitglied gefunden."
|
748 |
+
|
749 |
+
#: classes/class.swpm-members.php:337
|
750 |
+
msgid "Error! Nonce verification failed for user delete from admin end."
|
751 |
+
msgstr ""
|
752 |
+
"Fehler! Nonce-Überprüfung für Löschung eines Benutzers durch den Admin "
|
753 |
+
"fehlgeschlagen."
|
754 |
+
|
755 |
+
#: classes/class.swpm-members.php:406 classes/class.swpm-members.php:436
|
756 |
+
msgid "Error! Please select a membership level first."
|
757 |
+
msgstr "Fehler! Bitte wählen Sie zuerst eine Mitgliedsstufe aus."
|
758 |
+
|
759 |
+
#: classes/class.swpm-members.php:423
|
760 |
+
msgid "Membership level change operation completed successfully."
|
761 |
+
msgstr "Änderung der Mitgliedschaftsstufe wurde erfolgreich abgeschlossen."
|
762 |
+
|
763 |
+
#: classes/class.swpm-members.php:453
|
764 |
+
msgid "Access starts date change operation successfully completed."
|
765 |
+
msgstr "Datumsänderung erfolgreich abgeschlossen."
|
766 |
+
|
767 |
+
#: classes/class.swpm-members.php:462
|
768 |
+
msgid "Bulk Update Membership Level of Members"
|
769 |
+
msgstr "Massen-Änderung der Mitgliedschaftsstufe der Mitglieder"
|
770 |
+
|
771 |
+
#: classes/class.swpm-members.php:465
|
772 |
+
msgid ""
|
773 |
+
"You can manually change the membership level of any member by editing the "
|
774 |
+
"record from the members menu. "
|
775 |
+
msgstr ""
|
776 |
+
"Sie können die Mitgliedschaftsstufe eines beliebigen Mitglieds manuell "
|
777 |
+
"ändern, indem Sie den Datensatz aus dem Mitgliedermenü bearbeiten. "
|
778 |
+
|
779 |
+
#: classes/class.swpm-members.php:466
|
780 |
+
msgid ""
|
781 |
+
"You can use the following option to bulk update the membership level of "
|
782 |
+
"users who belong to the level you select below."
|
783 |
+
msgstr ""
|
784 |
+
"Sie können die folgende Option verwenden, um die Mitgliedschaftsstufe aller "
|
785 |
+
"Benutzer gesammelt zu aktualisieren, die zu der Ebene gehören, die Sie unten "
|
786 |
+
"auswählen."
|
787 |
+
|
788 |
+
#: classes/class.swpm-members.php:472 classes/class.swpm-members.php:520
|
789 |
+
msgid "Membership Level: "
|
790 |
+
msgstr "Mitgliedschaftsstufe: "
|
791 |
+
|
792 |
+
#: classes/class.swpm-members.php:476
|
793 |
+
msgid "Select Current Level"
|
794 |
+
msgstr "Wählen Sie die aktuelle Stufe aus"
|
795 |
+
|
796 |
+
#: classes/class.swpm-members.php:479
|
797 |
+
msgid ""
|
798 |
+
"Select the current membership level (the membership level of all members who "
|
799 |
+
"are in this level will be updated)."
|
800 |
+
msgstr ""
|
801 |
+
"Wählen Sie die aktuelle Mitgliedschaftsstufe aus (die Mitgliedschaftsstufe "
|
802 |
+
"aller Mitglieder, die sich in dieser Ebene befinden, wird aktualisiert)."
|
803 |
+
|
804 |
+
#: classes/class.swpm-members.php:485
|
805 |
+
msgid "Level to Change to: "
|
806 |
+
msgstr "Mitgliedschaft ändern in: "
|
807 |
+
|
808 |
+
#: classes/class.swpm-members.php:489
|
809 |
+
msgid "Select Target Level"
|
810 |
+
msgstr "Ziel Ebene auswählen"
|
811 |
+
|
812 |
+
#: classes/class.swpm-members.php:492
|
813 |
+
msgid "Select the new membership level."
|
814 |
+
msgstr "Wählen Sie die neue Mitgliedschaftsstufe aus."
|
815 |
+
|
816 |
+
#: classes/class.swpm-members.php:498
|
817 |
+
msgid "Bulk Change Membership Level"
|
818 |
+
msgstr "Massen-Änderung der Mitgliedschaftsstufe"
|
819 |
+
|
820 |
+
#: classes/class.swpm-members.php:508
|
821 |
+
msgid "Bulk Update Access Starts Date of Members"
|
822 |
+
msgstr "Massen-Änderung des Datums, ab dem die Mitgliedschaft beginnt"
|
823 |
+
|
824 |
+
#: classes/class.swpm-members.php:512
|
825 |
+
msgid ""
|
826 |
+
"The access starts date of a member is set to the day the user registers. "
|
827 |
+
"This date value is used to calculate how long the member can access your "
|
828 |
+
"content that are protected with a duration type protection in the membership "
|
829 |
+
"level. "
|
830 |
+
msgstr ""
|
831 |
+
"Der Zugriff eines Mitglieds startet am Tag, an dem sich der Benutzer "
|
832 |
+
"registriert hat. Dieser Datumswert wird verwendet, um zu berechnen, wie "
|
833 |
+
"lange das Mitglied auf Ihre Inhalte zugreifen kann. "
|
834 |
+
|
835 |
+
#: classes/class.swpm-members.php:513
|
836 |
+
msgid ""
|
837 |
+
"You can manually set a specific access starts date value of all members who "
|
838 |
+
"belong to a particular level using the following option."
|
839 |
+
msgstr ""
|
840 |
+
"Sie können mit der folgenden Option manuell ein bestimmtes Start-Datum "
|
841 |
+
"festlegen, für alle Mitglieder, die zu einer bestimmten "
|
842 |
+
"Mitgliedschaftsstufe gehören."
|
843 |
+
|
844 |
+
#: classes/class.swpm-members.php:523
|
845 |
+
msgid "Select Level"
|
846 |
+
msgstr "Stufe auswählen"
|
847 |
+
|
848 |
+
#: classes/class.swpm-members.php:526
|
849 |
+
msgid ""
|
850 |
+
"Select the Membership level (the access start date of all members who are in "
|
851 |
+
"this level will be updated)."
|
852 |
+
msgstr ""
|
853 |
+
"Wählen Sie die Mitgliedschaftsstufe aus (das Zugangsstartdatum aller "
|
854 |
+
"Mitglieder, die sich auf dieser Ebene befinden, wird aktualisiert)."
|
855 |
+
|
856 |
+
#: classes/class.swpm-members.php:535
|
857 |
+
msgid "Specify the access starts date value."
|
858 |
+
msgstr "Geben Sie das Datum ein, ab dem der Zugriff möglich ist."
|
859 |
+
|
860 |
+
#: classes/class.swpm-members.php:541
|
861 |
+
msgid "Bulk Change Access Starts Date"
|
862 |
+
msgstr "Massen-Änderung des Datums, ab dem der Zugriff möglich ist"
|
863 |
+
|
864 |
+
#: classes/class.swpm-members.php:576
|
865 |
+
msgid "Simple WP Membership::Members"
|
866 |
+
msgstr "Simple WP Membership::Mitglieder"
|
867 |
+
|
868 |
+
#: classes/class.swpm-members.php:577
|
869 |
+
#: classes/class.swpm-membership-levels.php:226 views/admin_members_list.php:44
|
870 |
+
msgid "Add New"
|
871 |
+
msgstr "Neu hinzufügen"
|
872 |
+
|
873 |
+
#: classes/class.swpm-members.php:582 views/admin_add.php:6
|
874 |
+
msgid "Add Member"
|
875 |
+
msgstr "Neues Mitglied hinzufügen"
|
876 |
+
|
877 |
+
#: classes/class.swpm-members.php:583
|
878 |
+
msgid "Bulk Operation"
|
879 |
+
msgstr "Massen-Änderung"
|
880 |
+
|
881 |
+
#: classes/class.swpm-membership-level.php:52
|
882 |
+
msgid ""
|
883 |
+
"Error! Nonce verification failed for membership level creation from admin "
|
884 |
+
"end."
|
885 |
+
msgstr ""
|
886 |
+
"Fehler! Nonce-Überprüfung für die Erstellung von Mitgliedschaft-Stufen durch "
|
887 |
+
"den Admin fehlgeschlagen."
|
888 |
+
|
889 |
+
#: classes/class.swpm-membership-level.php:68
|
890 |
+
msgid "Membership Level Creation Successful."
|
891 |
+
msgstr "Mitgliedschaftstufe erfolgreich erstellt.."
|
892 |
+
|
893 |
+
#: classes/class.swpm-membership-level.php:84
|
894 |
+
msgid ""
|
895 |
+
"Error! Nonce verification failed for membership level edit from admin end."
|
896 |
+
msgstr ""
|
897 |
+
"Fehler! Nonce-Überprüfung für Bearbeiten der Mitgliedschafts-Stufe durch den "
|
898 |
+
"Admin fehlgeschlagen ."
|
899 |
+
|
900 |
+
#: classes/class.swpm-membership-level.php:100
|
901 |
+
msgid "Membership Level Updated Successfully."
|
902 |
+
msgstr "Mitgliedschaftstufe wurde erfolgreich aktualisiert."
|
903 |
+
|
904 |
+
#: classes/class.swpm-membership-levels.php:22
|
905 |
+
msgid "Role"
|
906 |
+
msgstr "Rolle"
|
907 |
+
|
908 |
+
#: classes/class.swpm-membership-levels.php:23
|
909 |
+
msgid "Access Valid For/Until"
|
910 |
+
msgstr "Zugang gültig für/bis"
|
911 |
+
|
912 |
+
#: classes/class.swpm-membership-levels.php:133
|
913 |
+
msgid "No membership levels found."
|
914 |
+
msgstr "Keine Mitgliedschaftsstufen gefunden."
|
915 |
+
|
916 |
+
#: classes/class.swpm-membership-levels.php:197
|
917 |
+
msgid ""
|
918 |
+
"Error! Nonce verification failed for membership level delete from admin end."
|
919 |
+
msgstr ""
|
920 |
+
"Fehler! Nonce-Überprüfung für das Löschen der Mitgliedschaftsstufe durch den "
|
921 |
+
"Admin fehlgeschlagen."
|
922 |
+
|
923 |
+
#: classes/class.swpm-membership-levels.php:216 views/admin_members_list.php:31
|
924 |
+
#: views/payments/admin_all_payment_transactions.php:16 views/template-1.php:53
|
925 |
+
#: views/template-2.php:54
|
926 |
+
msgid "Search"
|
927 |
+
msgstr "Suchen"
|
928 |
+
|
929 |
+
#: classes/class.swpm-membership-levels.php:261
|
930 |
+
msgid "Simple WP Membership::Membership Levels"
|
931 |
+
msgstr "Simple WP Membership::Mitgliedschaftsstufen"
|
932 |
+
|
933 |
+
#: classes/class.swpm-membership-levels.php:266
|
934 |
+
msgid "Add Level"
|
935 |
+
msgstr "Neue Mitgliedschaftsstufe hinzufügen"
|
936 |
+
|
937 |
+
#: classes/class.swpm-membership-levels.php:267
|
938 |
+
msgid "Manage Content Protection"
|
939 |
+
msgstr "Schutz der Inhalte verwalten"
|
940 |
+
|
941 |
+
#: classes/class.swpm-membership-levels.php:268
|
942 |
+
msgid "Category Protection"
|
943 |
+
msgstr "Kategorie Schutz"
|
944 |
+
|
945 |
+
#: classes/class.swpm-membership-levels.php:269
|
946 |
+
msgid "Post and Page Protection"
|
947 |
+
msgstr "Schutz von Beiträgen und Seiten"
|
948 |
+
|
949 |
+
#: classes/class.swpm-post-list.php:43 classes/class.swpm-post-list.php:52
|
950 |
+
#: classes/class.swpm-post-list.php:62
|
951 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:81
|
952 |
+
msgid "Date"
|
953 |
+
msgstr "Datum"
|
954 |
+
|
955 |
+
#: classes/class.swpm-post-list.php:44 classes/class.swpm-post-list.php:53
|
956 |
+
#: classes/class.swpm-post-list.php:63
|
957 |
+
msgid "Title"
|
958 |
+
msgstr "Titel"
|
959 |
+
|
960 |
+
#: classes/class.swpm-post-list.php:45 classes/class.swpm-post-list.php:54
|
961 |
+
#: classes/class.swpm-post-list.php:64
|
962 |
+
msgid "Author"
|
963 |
+
msgstr "Autor"
|
964 |
+
|
965 |
+
#: classes/class.swpm-post-list.php:46 classes/class.swpm-post-list.php:56
|
966 |
+
#: classes/class.swpm-post-list.php:66
|
967 |
+
msgid "Status"
|
968 |
+
msgstr "Status"
|
969 |
+
|
970 |
+
#: classes/class.swpm-post-list.php:55
|
971 |
+
msgid "Categories"
|
972 |
+
msgstr "Kategorien"
|
973 |
+
|
974 |
+
#: classes/class.swpm-post-list.php:65
|
975 |
+
msgid "Type"
|
976 |
+
msgstr "Typ"
|
977 |
+
|
978 |
+
#: classes/class.swpm-post-list.php:125
|
979 |
+
msgid "Protection settings updated!"
|
980 |
+
msgstr "Schutz-Einstellungen aktualisiert!"
|
981 |
+
|
982 |
+
#: classes/class.swpm-post-list.php:230
|
983 |
+
msgid "No items found."
|
984 |
+
msgstr "Keine Einträge gefunden."
|
985 |
+
|
986 |
+
#: classes/class.swpm-protection.php:22
|
987 |
+
msgid ""
|
988 |
+
"The category or parent category of this post is protected. You can change "
|
989 |
+
"the category protection settings from the "
|
990 |
+
msgstr ""
|
991 |
+
"Die Kategorie oder Eltern-Kategorie diese Beitrags ist geschützt. Sie können "
|
992 |
+
"den Schutz der Kategorie ändern von "
|
993 |
+
|
994 |
+
#: classes/class.swpm-protection.php:23
|
995 |
+
msgid "category protection menu"
|
996 |
+
msgstr "Menue des Kategorie Schutzes"
|
997 |
+
|
998 |
+
#: classes/class.swpm-settings.php:26 classes/class.swpm-settings.php:54
|
999 |
+
msgid "General Settings"
|
1000 |
+
msgstr "Allgemeine Einstellungen"
|
1001 |
+
|
1002 |
+
#: classes/class.swpm-settings.php:27
|
1003 |
+
msgid "Payment Settings"
|
1004 |
+
msgstr "Einstellungen für Zahlungsvorgänge"
|
1005 |
+
|
1006 |
+
#: classes/class.swpm-settings.php:28
|
1007 |
+
msgid "Email Settings"
|
1008 |
+
msgstr "E-Mail Einstellungen"
|
1009 |
+
|
1010 |
+
#: classes/class.swpm-settings.php:29
|
1011 |
+
msgid "Tools"
|
1012 |
+
msgstr "Tools"
|
1013 |
+
|
1014 |
+
#: classes/class.swpm-settings.php:30 classes/class.swpm-settings.php:187
|
1015 |
+
msgid "Advanced Settings"
|
1016 |
+
msgstr "Erweiterte Einstellungen"
|
1017 |
+
|
1018 |
+
#: classes/class.swpm-settings.php:31
|
1019 |
+
msgid "Addons Settings"
|
1020 |
+
msgstr "Einstellungen für die Erweiterungen"
|
1021 |
+
|
1022 |
+
#: classes/class.swpm-settings.php:53
|
1023 |
+
msgid "Plugin Documentation"
|
1024 |
+
msgstr "Plugin-Dokumentation"
|
1025 |
+
|
1026 |
+
#: classes/class.swpm-settings.php:55
|
1027 |
+
msgid "Enable Free Membership"
|
1028 |
+
msgstr "Kostenlose Mitgliedschaft erlauben"
|
1029 |
+
|
1030 |
+
#: classes/class.swpm-settings.php:56
|
1031 |
+
msgid ""
|
1032 |
+
"Enable/disable registration for free membership level. When you enable this "
|
1033 |
+
"option, make sure to specify a free membership level ID in the field below."
|
1034 |
+
msgstr ""
|
1035 |
+
"Aktivierung/Deaktivierung der Registrierung für eine kostenlose "
|
1036 |
+
"Mitgliedschaft. Wenn Sie diese Option aktivieren, stellen Sie bitte sicher, "
|
1037 |
+
"dass Sie eine ID für eine kostenlose Mitgliedschaft angeben."
|
1038 |
+
|
1039 |
+
#: classes/class.swpm-settings.php:57
|
1040 |
+
msgid "Free Membership Level ID"
|
1041 |
+
msgstr "Kostenlose Mitgliedschaftsstufen-ID"
|
1042 |
+
|
1043 |
+
#: classes/class.swpm-settings.php:58
|
1044 |
+
msgid "Assign free membership level ID"
|
1045 |
+
msgstr "ID der kostenlosen Mitgliedschaftsstufe zuweisen"
|
1046 |
+
|
1047 |
+
#: classes/class.swpm-settings.php:59
|
1048 |
+
msgid "Enable More Tag Protection"
|
1049 |
+
msgstr "Aktiviere den \"Mehr\"-Tag Schutz"
|
1050 |
+
|
1051 |
+
#: classes/class.swpm-settings.php:60
|
1052 |
+
msgid ""
|
1053 |
+
"Enables or disables \"more\" tag protection in the posts and pages. Anything "
|
1054 |
+
"after the More tag is protected. Anything before the more tag is teaser "
|
1055 |
+
"content."
|
1056 |
+
msgstr ""
|
1057 |
+
"Aktiviert oder deaktiviert den \"mehr\" Tag Schutz in Beiträgen und Seiten. "
|
1058 |
+
"Der Inhalt nach dem \"mehr\" Tag ist geschützt. Inhalt vor diesem Tag ist "
|
1059 |
+
"\"Teaser\" Inhalt."
|
1060 |
+
|
1061 |
+
#: classes/class.swpm-settings.php:61
|
1062 |
+
msgid "Hide Adminbar"
|
1063 |
+
msgstr "Admin-Bar ausblenden"
|
1064 |
+
|
1065 |
+
#: classes/class.swpm-settings.php:62
|
1066 |
+
msgid ""
|
1067 |
+
"WordPress shows an admin toolbar to the logged in users of the site. Check "
|
1068 |
+
"this if you want to hide that admin toolbar in the frontend of your site."
|
1069 |
+
msgstr ""
|
1070 |
+
"Für eingeloggte User ist in WordPress die Admin Toolbar standardmäßig "
|
1071 |
+
"sichtbar. Setzen Sie ein Häkchen um die Admin Toolbar auszublenden."
|
1072 |
+
|
1073 |
+
#: classes/class.swpm-settings.php:63
|
1074 |
+
msgid "Show Adminbar to Admin"
|
1075 |
+
msgstr "Adminbar dem Admin anzeigen"
|
1076 |
+
|
1077 |
+
#: classes/class.swpm-settings.php:64
|
1078 |
+
msgid ""
|
1079 |
+
"Use this option if you want to show the admin toolbar to admin users only. "
|
1080 |
+
"The admin toolbar will be hidden for all other users."
|
1081 |
+
msgstr ""
|
1082 |
+
"Aktivieren Sie diese Option, wenn die Admin Toolbar nur für Admins sichtbar "
|
1083 |
+
"sein soll. Die Admin Toolbar ist für alle anderen Anwender nicht sichtbar."
|
1084 |
+
|
1085 |
+
#: classes/class.swpm-settings.php:65
|
1086 |
+
msgid "Disable Access to WP Dashboard"
|
1087 |
+
msgstr "Deaktivieren Sie den Zugriff auf das WP Dashboard"
|
1088 |
+
|
1089 |
+
#: classes/class.swpm-settings.php:66
|
1090 |
+
msgid ""
|
1091 |
+
"WordPress allows a standard wp user to be able to go to the wp-admin URL and "
|
1092 |
+
"access his profile from the wp dashbaord. Using this option will prevent any "
|
1093 |
+
"non admin users from going to the wp dashboard."
|
1094 |
+
msgstr ""
|
1095 |
+
"WordPress ermöglicht es einem Standard-WP-Benutzer, in die WP-Admin URL zu "
|
1096 |
+
"gelangen und auf sein Profil aus dem WP-Dashboard zuzugreifen. Mit dieser "
|
1097 |
+
"Option wird verhindert, dass Benutzer, die nicht Admins sind, auf das WP-"
|
1098 |
+
"Dashboard zugreifen können."
|
1099 |
+
|
1100 |
+
#: classes/class.swpm-settings.php:68 classes/class.swpm-settings.php:242
|
1101 |
+
msgid "Default Account Status"
|
1102 |
+
msgstr "Standardkonto Status"
|
1103 |
+
|
1104 |
+
#: classes/class.swpm-settings.php:71
|
1105 |
+
msgid ""
|
1106 |
+
"Select the default account status for newly registered users. If you want to "
|
1107 |
+
"manually approve the members then you can set the status to \"Pending\"."
|
1108 |
+
msgstr ""
|
1109 |
+
"Wählen Sie eine Voreinstellung für den Mitglieder-Status neu registrierter "
|
1110 |
+
"Mitglieder. Wenn Sie die Registrierung neuer Mitglieder manuell bestätigen "
|
1111 |
+
"möchten, setzen Sie den Status auf \"ausstehend\"."
|
1112 |
+
|
1113 |
+
#: classes/class.swpm-settings.php:73
|
1114 |
+
msgid "Members Must be Logged in to Comment"
|
1115 |
+
msgstr ""
|
1116 |
+
"Mitglieder müssen eingeloggt sein, um Kommentare hinterlassen zu können"
|
1117 |
+
|
1118 |
+
#: classes/class.swpm-settings.php:74
|
1119 |
+
msgid ""
|
1120 |
+
"Enable this option if you only want the members of the site to be able to "
|
1121 |
+
"post a comment."
|
1122 |
+
msgstr ""
|
1123 |
+
"Aktivieren Sie diese Option, wenn Sie nur Mitgliedern die Möglichkeit geben "
|
1124 |
+
"wollen, Kommentare zu hinterlassen."
|
1125 |
+
|
1126 |
+
#: classes/class.swpm-settings.php:83
|
1127 |
+
msgid "Pages Settings"
|
1128 |
+
msgstr "Seiteneinstellungen"
|
1129 |
+
|
1130 |
+
#: classes/class.swpm-settings.php:84
|
1131 |
+
msgid "Login Page URL"
|
1132 |
+
msgstr "URL der Login Seite"
|
1133 |
+
|
1134 |
+
#: classes/class.swpm-settings.php:86
|
1135 |
+
msgid "Registration Page URL"
|
1136 |
+
msgstr "Registrierungsseiten-URL"
|
1137 |
+
|
1138 |
+
#: classes/class.swpm-settings.php:88
|
1139 |
+
msgid "Join Us Page URL"
|
1140 |
+
msgstr "Jetzt Anmelden-URL"
|
1141 |
+
|
1142 |
+
#: classes/class.swpm-settings.php:90
|
1143 |
+
msgid "Edit Profile Page URL"
|
1144 |
+
msgstr "Profilseite URL bearbeiten"
|
1145 |
+
|
1146 |
+
#: classes/class.swpm-settings.php:92
|
1147 |
+
msgid "Password Reset Page URL"
|
1148 |
+
msgstr "Passwort zurücksetzten-URL"
|
1149 |
+
|
1150 |
+
#: classes/class.swpm-settings.php:95
|
1151 |
+
msgid "Test & Debug Settings"
|
1152 |
+
msgstr "Test & Debug-Einstellungen"
|
1153 |
+
|
1154 |
+
#: classes/class.swpm-settings.php:97
|
1155 |
+
msgid "Check this option to enable debug logging."
|
1156 |
+
msgstr ""
|
1157 |
+
"Aktivieren Sie diese Option, um die Debug-Protokollierung zu aktivieren."
|
1158 |
+
|
1159 |
+
#: classes/class.swpm-settings.php:98
|
1160 |
+
msgid ""
|
1161 |
+
" This can be useful when troubleshooting an issue. Turn it off and reset the "
|
1162 |
+
"log files after the troubleshooting is complete."
|
1163 |
+
msgstr ""
|
1164 |
+
" Dies kann hilfreich sein um einen Fehler zu lokalisieren. Schalten Sie es "
|
1165 |
+
"aus und setzen Sie die Log Dateien zurück, wenn Sie die Fehlersuche "
|
1166 |
+
"abgeschlossen haben."
|
1167 |
+
|
1168 |
+
#: classes/class.swpm-settings.php:100
|
1169 |
+
msgid "View general debug log file by clicking "
|
1170 |
+
msgstr "Allgemeine Debug Log Datei ansehen "
|
1171 |
+
|
1172 |
+
#: classes/class.swpm-settings.php:100 classes/class.swpm-settings.php:101
|
1173 |
+
#: classes/class.swpm-settings.php:102
|
1174 |
+
msgid "here"
|
1175 |
+
msgstr "hier"
|
1176 |
+
|
1177 |
+
#: classes/class.swpm-settings.php:101
|
1178 |
+
msgid "View login related debug log file by clicking "
|
1179 |
+
msgstr "Login Debug Log Datei ansehen "
|
1180 |
+
|
1181 |
+
#: classes/class.swpm-settings.php:102
|
1182 |
+
msgid "Reset debug log files by clicking "
|
1183 |
+
msgstr "Zurücksetzen der Debug Log Dateien "
|
1184 |
+
|
1185 |
+
#: classes/class.swpm-settings.php:103
|
1186 |
+
msgid "Enable Debug"
|
1187 |
+
msgstr "Debug aktivieren"
|
1188 |
+
|
1189 |
+
#: classes/class.swpm-settings.php:105
|
1190 |
+
msgid "Enable Sandbox Testing"
|
1191 |
+
msgstr "Sandbox-Test aktivieren"
|
1192 |
+
|
1193 |
+
#: classes/class.swpm-settings.php:106
|
1194 |
+
msgid "Enable this option if you want to do sandbox payment testing."
|
1195 |
+
msgstr ""
|
1196 |
+
"Aktivieren Sie die Testumgebung, um diese Option um die Bezahlmethode zu "
|
1197 |
+
"testen."
|
1198 |
+
|
1199 |
+
#: classes/class.swpm-settings.php:119
|
1200 |
+
msgid "Email Settings Overview"
|
1201 |
+
msgstr "E-Mail Einstellungen"
|
1202 |
+
|
1203 |
+
#: classes/class.swpm-settings.php:120
|
1204 |
+
msgid "Email Misc. Settings"
|
1205 |
+
msgstr "E-Mail Einstellungen"
|
1206 |
+
|
1207 |
+
#: classes/class.swpm-settings.php:122
|
1208 |
+
msgid "From Email Address"
|
1209 |
+
msgstr "Von E-Mail-Adresse"
|
1210 |
+
|
1211 |
+
#: classes/class.swpm-settings.php:126
|
1212 |
+
msgid "Email Settings (Prompt to Complete Registration )"
|
1213 |
+
msgstr "E-Mail-Einstellungen (Eingabeaufforderung zur Anmeldung)"
|
1214 |
+
|
1215 |
+
#: classes/class.swpm-settings.php:127 classes/class.swpm-settings.php:140
|
1216 |
+
#: classes/class.swpm-settings.php:158 classes/class.swpm-settings.php:163
|
1217 |
+
#: classes/class.swpm-settings.php:168 classes/class.swpm-settings.php:173
|
1218 |
+
msgid "Email Subject"
|
1219 |
+
msgstr "E-Mail Betreff"
|
1220 |
+
|
1221 |
+
#: classes/class.swpm-settings.php:129 classes/class.swpm-settings.php:142
|
1222 |
+
#: classes/class.swpm-settings.php:159 classes/class.swpm-settings.php:164
|
1223 |
+
#: classes/class.swpm-settings.php:169 classes/class.swpm-settings.php:174
|
1224 |
+
msgid "Email Body"
|
1225 |
+
msgstr "E-Mail Text"
|
1226 |
+
|
1227 |
+
#: classes/class.swpm-settings.php:133
|
1228 |
+
msgid ""
|
1229 |
+
"Enter the email address where you want the admin notification email to be "
|
1230 |
+
"sent to."
|
1231 |
+
msgstr ""
|
1232 |
+
"Geben Sie hier die Email Adresse ein, zu der die Benachrichtigung an den "
|
1233 |
+
"Admin gesendet werden soll."
|
1234 |
+
|
1235 |
+
#: classes/class.swpm-settings.php:134
|
1236 |
+
msgid ""
|
1237 |
+
" You can put multiple email addresses separated by comma (,) in the above "
|
1238 |
+
"field to send the notification to multiple email addresses."
|
1239 |
+
msgstr ""
|
1240 |
+
" Sie können mehrere Email Adressen eingeben, an die die Benachrichtigungen "
|
1241 |
+
"gesendet werden sollen. Die Email Adressen müssen durch Komma (,) getrennt "
|
1242 |
+
"werden."
|
1243 |
+
|
1244 |
+
#: classes/class.swpm-settings.php:136
|
1245 |
+
msgid "Enter the subject for the admin notification email."
|
1246 |
+
msgstr "Geben Sie den Betreff für die Admin-Benachrichtigungs-E-Mail ein."
|
1247 |
+
|
1248 |
+
#: classes/class.swpm-settings.php:137
|
1249 |
+
msgid ""
|
1250 |
+
"This email will be sent to the admin when a new user completes the "
|
1251 |
+
"membership registration. Only works if you have enabled the \"Send "
|
1252 |
+
"Notification to Admin\" option above."
|
1253 |
+
msgstr ""
|
1254 |
+
"Diese Email wird an den Admin gesendet, wenn ein neues Mitglied die "
|
1255 |
+
"Registrierung abgeschlossen hat. Der Email Versand erfolgt nur, wenn Sie die "
|
1256 |
+
"Option \"Den Admin benachrichtigen\" aktiviert haben."
|
1257 |
+
|
1258 |
+
#: classes/class.swpm-settings.php:139
|
1259 |
+
msgid "Email Settings (Registration Complete)"
|
1260 |
+
msgstr "E-Mail-Einstellungen (Anmeldung abgeschlossen)"
|
1261 |
+
|
1262 |
+
#: classes/class.swpm-settings.php:144
|
1263 |
+
msgid "Send Notification to Admin"
|
1264 |
+
msgstr "Benachrichtigung an Admin senden"
|
1265 |
+
|
1266 |
+
#: classes/class.swpm-settings.php:145
|
1267 |
+
msgid ""
|
1268 |
+
"Enable this option if you want the admin to receive a notification when a "
|
1269 |
+
"member registers."
|
1270 |
+
msgstr ""
|
1271 |
+
"Aktivieren Sie diese Option, wenn der Admin benachrichtigt werden soll, wenn "
|
1272 |
+
"sich ein neues Mitglied registriert hat."
|
1273 |
+
|
1274 |
+
#: classes/class.swpm-settings.php:146
|
1275 |
+
msgid "Admin Email Address"
|
1276 |
+
msgstr "Email Adresse des Admin"
|
1277 |
+
|
1278 |
+
#: classes/class.swpm-settings.php:148
|
1279 |
+
msgid "Admin Notification Email Subject"
|
1280 |
+
msgstr "Betreff-Zeile der Admin Benachrichtigung"
|
1281 |
+
|
1282 |
+
#: classes/class.swpm-settings.php:150
|
1283 |
+
msgid "Admin Notification Email Body"
|
1284 |
+
msgstr "E-Mail Text der Admin Benachrichtigung"
|
1285 |
+
|
1286 |
+
#: classes/class.swpm-settings.php:153
|
1287 |
+
msgid "Send Email to Member When Added via Admin Dashboard"
|
1288 |
+
msgstr ""
|
1289 |
+
"Mitglied mit E-Mail benachrichtigen wenn er vom Administrator hinzugefügt "
|
1290 |
+
"wird"
|
1291 |
+
|
1292 |
+
#: classes/class.swpm-settings.php:157
|
1293 |
+
msgid "Email Settings (Password Reset)"
|
1294 |
+
msgstr "E-Mail-Einstellungen (Passwort zurücksetzen)"
|
1295 |
+
|
1296 |
+
#: classes/class.swpm-settings.php:162
|
1297 |
+
msgid " Email Settings (Account Upgrade Notification)"
|
1298 |
+
msgstr " E-Mail-Einstellungen (Kontoaktualisierungsbenachrichtigung)"
|
1299 |
+
|
1300 |
+
#: classes/class.swpm-settings.php:167
|
1301 |
+
msgid " Email Settings (Bulk Account Activate Notification)"
|
1302 |
+
msgstr " E-Mail-Einstellungen (Account Benachrichtigung aktivieren)"
|
1303 |
+
|
1304 |
+
#: classes/class.swpm-settings.php:172
|
1305 |
+
msgid " Email Settings (Email Activation)"
|
1306 |
+
msgstr " E-Mail-Einstellungen (Email Aktivierung)"
|
1307 |
+
|
1308 |
+
#: classes/class.swpm-settings.php:189
|
1309 |
+
msgid "Enable Expired Account Login"
|
1310 |
+
msgstr "Aktivieren Sie das \"abgelaufene Konto\" Login"
|
1311 |
+
|
1312 |
+
#: classes/class.swpm-settings.php:190
|
1313 |
+
msgid ""
|
1314 |
+
"When enabled, expired members will be able to log into the system but won't "
|
1315 |
+
"be able to view any protected content. This allows them to easily renew "
|
1316 |
+
"their account by making another payment."
|
1317 |
+
msgstr ""
|
1318 |
+
"Wenn aktiviert, können Mitglieder mit abgelaufener Mitgliedschaft sich "
|
1319 |
+
"einloggen, können aber nicht auf geschützten Inhalte zugreifen. Dies es "
|
1320 |
+
"ermöglicht es ihnen, Ihre Mitgliedschaft durch Bezahlung zu reaktivieren."
|
1321 |
+
|
1322 |
+
#: classes/class.swpm-settings.php:192
|
1323 |
+
msgid "Membership Renewal URL"
|
1324 |
+
msgstr "URL zur Erneuerung der Mitgliedschaft"
|
1325 |
+
|
1326 |
+
#: classes/class.swpm-settings.php:193
|
1327 |
+
msgid ""
|
1328 |
+
"You can create a renewal page for your site. Read <a href=\"https://simple-"
|
1329 |
+
"membership-plugin.com/creating-membership-renewal-button/\" target=\"_blank"
|
1330 |
+
"\">this documentation</a> to learn how to create a renewal page."
|
1331 |
+
msgstr ""
|
1332 |
+
"Sie können eine Seite für die Erneuerung der Mitgliedschaft für Ihre Website "
|
1333 |
+
"einrichten. Lesen Sie dazu <a href=\"https://simple-membership-plugin.com/"
|
1334 |
+
"creating-membership-renewal-button/\" target=\"_blank\">diese Dokumentation</"
|
1335 |
+
"a> für Informationen, wie Sie eine Seite für die Erneuerung der "
|
1336 |
+
"Mitgliedschaft einrichten."
|
1337 |
+
|
1338 |
+
#: classes/class.swpm-settings.php:195
|
1339 |
+
msgid "After Registration Redirect URL"
|
1340 |
+
msgstr "URL, zu der nach der Registrierung weitergeleitet wird"
|
1341 |
+
|
1342 |
+
#: classes/class.swpm-settings.php:196
|
1343 |
+
msgid ""
|
1344 |
+
"You can enter an URL here to redirect the members to this page after they "
|
1345 |
+
"submit the registration form. Read <a href=\"https://simple-membership-"
|
1346 |
+
"plugin.com/configure-after-registration-redirect-for-members/\" target="
|
1347 |
+
"\"_blank\">this documentation</a> to learn how to setup after registration "
|
1348 |
+
"redirect."
|
1349 |
+
msgstr ""
|
1350 |
+
"Sie können hier eine URL eingeben, um die Mitglieder auf diese Seite "
|
1351 |
+
"weiterzuleiten, nachdem sie das Registrierungsformular abgeschickt haben. "
|
1352 |
+
"Lesen Sie dazu <a href=\"https://simple-membership-plugin.com/creating-"
|
1353 |
+
"membership-renewal-button/\" target=\"_blank\">diese Dokumentation</a> für "
|
1354 |
+
"Informationen, wie Sie die Weiterleitung nach der Registrierung einrichten."
|
1355 |
+
|
1356 |
+
#: classes/class.swpm-settings.php:198
|
1357 |
+
msgid "Enable Auto Login After Registration"
|
1358 |
+
msgstr "Autom. Login nach Registrierung erlauben"
|
1359 |
+
|
1360 |
+
#: classes/class.swpm-settings.php:199
|
1361 |
+
msgid ""
|
1362 |
+
"Use this option if you want the members to be automatically logged into your "
|
1363 |
+
"site right after they complete the registration. This option will override "
|
1364 |
+
"any after registration redirection and instead it will trigger the after "
|
1365 |
+
"login redirection. Read <a href=\"https://simple-membership-plugin.com/"
|
1366 |
+
"configure-auto-login-after-registration-members/\" target=\"_blank\">this "
|
1367 |
+
"documentation</a> to learn more."
|
1368 |
+
msgstr ""
|
1369 |
+
"Wenden Sie diese Möglichkeit an, wenn Sie möchten, dass die Mitglieder "
|
1370 |
+
"automatisch eingeloggt sind, wenn sie die Registrierung abgeschlossen haben. "
|
1371 |
+
"Lesen Sie dazu <a href=\"https://simple-membership-plugin.com/creating-"
|
1372 |
+
"membership-renewal-button/\" target=\"_blank\">diese Dokumentation</a> für "
|
1373 |
+
"weitere Informationen."
|
1374 |
+
|
1375 |
+
#: classes/class.swpm-settings.php:201
|
1376 |
+
msgid "After Logout Redirect URL"
|
1377 |
+
msgstr ""
|
1378 |
+
"URL, zu der nach dem Logout\n"
|
1379 |
+
" weitergeleitet wird"
|
1380 |
+
|
1381 |
+
#: classes/class.swpm-settings.php:202
|
1382 |
+
msgid ""
|
1383 |
+
"You can enter an URL here to redirect the members to this page after they "
|
1384 |
+
"click the logout link to logout from your site."
|
1385 |
+
msgstr ""
|
1386 |
+
"Sie können hier eine URL angeben, auf die Mitglieder geleitet werden, "
|
1387 |
+
"nachdem Sie den Logout Link zum Ausloggen angeklickt haben."
|
1388 |
+
|
1389 |
+
#: classes/class.swpm-settings.php:204
|
1390 |
+
msgid "Logout Member on Browser Close"
|
1391 |
+
msgstr "Mitglied ausloggen, wenn der Browser geschlossen wird"
|
1392 |
+
|
1393 |
+
#: classes/class.swpm-settings.php:205
|
1394 |
+
msgid ""
|
1395 |
+
"Enable this option if you want the member to be logged out of the account "
|
1396 |
+
"when he closes the browser."
|
1397 |
+
msgstr ""
|
1398 |
+
"Aktivieren Sie diese Option, wenn Sie möchten, dass das Mitglied aus dem "
|
1399 |
+
"Konto ausgeloggt wird, wenn es den Browser schließt."
|
1400 |
+
|
1401 |
+
#: classes/class.swpm-settings.php:207
|
1402 |
+
msgid "Allow Account Deletion"
|
1403 |
+
msgstr "Kontolöschung zulassen"
|
1404 |
+
|
1405 |
+
#: classes/class.swpm-settings.php:208
|
1406 |
+
msgid "Allow users to delete their accounts."
|
1407 |
+
msgstr "Benutzern erlauben, ihre Konten zu löschen."
|
1408 |
+
|
1409 |
+
#: classes/class.swpm-settings.php:210
|
1410 |
+
msgid "Force Strong Password for Members"
|
1411 |
+
msgstr "Ein starkes Passwort erzwingen"
|
1412 |
+
|
1413 |
+
#: classes/class.swpm-settings.php:211
|
1414 |
+
msgid ""
|
1415 |
+
"Enable this if you want the users to be forced to use a strong password for "
|
1416 |
+
"their accounts."
|
1417 |
+
msgstr ""
|
1418 |
+
"Aktivieren Sie diese Option, wenn Mitglieder nur starke Passworte nutzen "
|
1419 |
+
"dürfen."
|
1420 |
+
|
1421 |
+
#: classes/class.swpm-settings.php:213
|
1422 |
+
msgid "Use WordPress Timezone"
|
1423 |
+
msgstr "Die Wordpress Zeitzone benutzen"
|
1424 |
+
|
1425 |
+
#: classes/class.swpm-settings.php:214
|
1426 |
+
msgid ""
|
1427 |
+
"Use this option if you want to use the timezone value specified in your "
|
1428 |
+
"WordPress General Settings interface."
|
1429 |
+
msgstr ""
|
1430 |
+
"Verwenden Sie diese Option, wenn Sie den in Ihrer WordPress Einstellungen "
|
1431 |
+
"angegebenen Zeitzonenwert verwenden möchten."
|
1432 |
+
|
1433 |
+
#: classes/class.swpm-settings.php:216
|
1434 |
+
msgid "Auto Delete Pending Account"
|
1435 |
+
msgstr "Automatisches Löschen einer ausstehenden Mitgliedschaft"
|
1436 |
+
|
1437 |
+
#: classes/class.swpm-settings.php:219
|
1438 |
+
msgid "Select how long you want to keep \"pending\" account."
|
1439 |
+
msgstr ""
|
1440 |
+
"Wählen Sie aus, wie lange Sie ausstehende Benutzerkonten behalten möchten."
|
1441 |
+
|
1442 |
+
#: classes/class.swpm-settings.php:221
|
1443 |
+
msgid "Admin Dashboard Access Permission"
|
1444 |
+
msgstr "Admin-Dashboard Zugriffsberechtigung"
|
1445 |
+
|
1446 |
+
#: classes/class.swpm-settings.php:224
|
1447 |
+
msgid ""
|
1448 |
+
"SWPM admin dashboard is accessible to admin users only (just like any other "
|
1449 |
+
"plugin). You can allow users with other WP user role to access the SWPM "
|
1450 |
+
"admin dashboard by selecting a value here."
|
1451 |
+
msgstr ""
|
1452 |
+
"Auf das SWPM Dashboard können nur Admins zugreifen (wie bei jedem Plugin). "
|
1453 |
+
"Sie können anderen Benutzern mit anderen WP Rollen den Zugriff auf das SWPM "
|
1454 |
+
"Dashboard ermöglichen, wenn Sie hier den entsprechenden Wert wählen."
|
1455 |
+
|
1456 |
+
#: classes/class.swpm-settings.php:226
|
1457 |
+
msgid "Force WP User Synchronization"
|
1458 |
+
msgstr "Synchronisation mit den WP Benutzereinträgen erzwingen"
|
1459 |
+
|
1460 |
+
#: classes/class.swpm-settings.php:227
|
1461 |
+
msgid ""
|
1462 |
+
"Enable this option if you want to force the member login to be synchronized "
|
1463 |
+
"with WP user account. This can be useful if you are using another plugin "
|
1464 |
+
"that uses WP user records. For example: bbPress plugin."
|
1465 |
+
msgstr ""
|
1466 |
+
"Aktivieren Sie diese Option, wenn eingeloggte Mitglieder mit den WP User "
|
1467 |
+
"Einträgen synchronisiert werden sollen. Dies kann hilfreich sein, wenn Sie "
|
1468 |
+
"ein anderes Plugin installiert haben, das WP User Einträge verwendet. Bspw. "
|
1469 |
+
"das bbPress Plugin."
|
1470 |
+
|
1471 |
+
#: classes/class.swpm-settings.php:230
|
1472 |
+
msgid "Create Member Accounts for New WP Users"
|
1473 |
+
msgstr "Mitgliedschaften für neue Anwender einrichten"
|
1474 |
+
|
1475 |
+
#: classes/class.swpm-settings.php:232
|
1476 |
+
msgid "Enable Auto Create Member Accounts"
|
1477 |
+
msgstr "Automatische Erstellung einer Mitgliedschaft erlauben"
|
1478 |
+
|
1479 |
+
#: classes/class.swpm-settings.php:233
|
1480 |
+
msgid ""
|
1481 |
+
"Enable this option to automatically create member accounts for any new WP "
|
1482 |
+
"user that is created by another plugin."
|
1483 |
+
msgstr ""
|
1484 |
+
"Aktivieren Sie diese Option um Mitgliedschaften automatisch einrichten zu "
|
1485 |
+
"lassen, wenn ein WP User Datensatz durch ein anderes WP Plugin erstellt "
|
1486 |
+
"worden ist."
|
1487 |
+
|
1488 |
+
#: classes/class.swpm-settings.php:236
|
1489 |
+
msgid "Default Membership Level"
|
1490 |
+
msgstr "Voreingestellte Mitgliedschaftsstufe"
|
1491 |
+
|
1492 |
+
#: classes/class.swpm-settings.php:239
|
1493 |
+
msgid ""
|
1494 |
+
"When automatically creating a member account using this feature, the "
|
1495 |
+
"membership level of the user will be set to the one you specify here."
|
1496 |
+
msgstr ""
|
1497 |
+
"Wenn mit dieser Funktion eine Mitgliedschaft automatisch eingerichtet wird, "
|
1498 |
+
"wird die hier angegebene Mitgliedschaftsstufe gesetzt."
|
1499 |
+
|
1500 |
+
#: classes/class.swpm-settings.php:245
|
1501 |
+
msgid ""
|
1502 |
+
"When automatically creating a member account using this feature, the "
|
1503 |
+
"membership account status of the user will be set to the one you specify "
|
1504 |
+
"here."
|
1505 |
+
msgstr ""
|
1506 |
+
"Wenn mit dieser Funktion eine Mitgliedschaft automatisch eingerichtet wird, "
|
1507 |
+
"wird der hier angegebene Mitglieder-Status gesetzt."
|
1508 |
+
|
1509 |
+
#: classes/class.swpm-settings.php:247
|
1510 |
+
msgid "Payment Notification Forward URL"
|
1511 |
+
msgstr "URL an die die Zahlungsbenachrichtigung weitergeleitet werden soll"
|
1512 |
+
|
1513 |
+
#: classes/class.swpm-settings.php:248
|
1514 |
+
msgid ""
|
1515 |
+
"You can enter an URL here to forward the payment notification after the "
|
1516 |
+
"membership payment has been processed by this plugin. Useful if you want to "
|
1517 |
+
"forward the payment notification to an external script for further "
|
1518 |
+
"processing."
|
1519 |
+
msgstr ""
|
1520 |
+
"Sie können hier eine URL angeben, an die die Zahlungsbenachrichtigung "
|
1521 |
+
"weitergeleitet wird, nachdem die Zahlung durch dieses Plugin verarbeitet "
|
1522 |
+
"worden ist. Nützlich, wenn die die Zahlungsbenachrichtigung an ein externes "
|
1523 |
+
"Skript für eine Weiterverarbeitung weitergegebene werden soll."
|
1524 |
+
|
1525 |
+
#: classes/class.swpm-settings.php:251 views/add.php:65
|
1526 |
+
msgid "Terms and Conditions"
|
1527 |
+
msgstr "Allgemeine Geschäftbedingungen"
|
1528 |
+
|
1529 |
+
#: classes/class.swpm-settings.php:253
|
1530 |
+
msgid "Enable Terms and Conditions"
|
1531 |
+
msgstr "Allgemeine Geschäftsbedingungen aktivieren"
|
1532 |
+
|
1533 |
+
#: classes/class.swpm-settings.php:254
|
1534 |
+
msgid "Users must accept the terms before they can complete the registration."
|
1535 |
+
msgstr ""
|
1536 |
+
"Mitglieder müssen die allgemeinen Geschäftsbedingungen akzeptieren, um die "
|
1537 |
+
"Registrierung abzuschließen."
|
1538 |
+
|
1539 |
+
#: classes/class.swpm-settings.php:255
|
1540 |
+
msgid "Terms and Conditions Page URL"
|
1541 |
+
msgstr "URL der allgemeinen Geschäftsbedingungen"
|
1542 |
+
|
1543 |
+
#: classes/class.swpm-settings.php:256
|
1544 |
+
msgid ""
|
1545 |
+
"Enter the URL of your terms and conditions page. You can create a WordPress "
|
1546 |
+
"page and specify your terms in there then specify the URL of that page in "
|
1547 |
+
"the above field."
|
1548 |
+
msgstr "Geben Sie die URL Ihrer allgemeinen Geschäftsbedingungen ein."
|
1549 |
+
|
1550 |
+
#: classes/class.swpm-settings.php:257
|
1551 |
+
msgid "Enable Privacy Policy"
|
1552 |
+
msgstr "Datenschutzerklärung aktivieren"
|
1553 |
+
|
1554 |
+
#: classes/class.swpm-settings.php:258
|
1555 |
+
msgid "Users must accept it before they can complete the registration."
|
1556 |
+
msgstr ""
|
1557 |
+
"Mitglieder müssen die Datenschutzerklärung bestätigen, um die Registrierung "
|
1558 |
+
"abzuschließen."
|
1559 |
+
|
1560 |
+
#: classes/class.swpm-settings.php:259
|
1561 |
+
msgid "Privacy Policy Page URL"
|
1562 |
+
msgstr "URL der Datenschutzerklärung"
|
1563 |
+
|
1564 |
+
#: classes/class.swpm-settings.php:260
|
1565 |
+
msgid "Enter the URL of your privacy policy page."
|
1566 |
+
msgstr "Geben Sie die URL der Datenschutzerklärung an."
|
1567 |
+
|
1568 |
+
#: classes/class.swpm-settings.php:350 classes/class.swpm-settings.php:396
|
1569 |
+
#: classes/class.swpm-settings.php:425
|
1570 |
+
msgid "Settings updated!"
|
1571 |
+
msgstr "Einstellungen aktualisiert!"
|
1572 |
+
|
1573 |
+
#: classes/class.swpm-settings.php:355
|
1574 |
+
msgid "General Plugin Settings."
|
1575 |
+
msgstr "Allgemeine Plugin-Einstellungen."
|
1576 |
+
|
1577 |
+
#: classes/class.swpm-settings.php:359
|
1578 |
+
msgid "Page Setup and URL Related settings."
|
1579 |
+
msgstr "Seiten- und URL-spezifische Einstellungen."
|
1580 |
+
|
1581 |
+
#: classes/class.swpm-settings.php:362
|
1582 |
+
msgid ""
|
1583 |
+
"The following pages are required for the plugin to function correctly. These "
|
1584 |
+
"pages were automatically created by the plugin at install time."
|
1585 |
+
msgstr ""
|
1586 |
+
"Die folgenden Seiten sind für ein korrektes Funktionieren des Plugin "
|
1587 |
+
"erforderlich. Diese Seiten werden bei der Installation des Plugin "
|
1588 |
+
"automatisch angelegt."
|
1589 |
+
|
1590 |
+
#: classes/class.swpm-settings.php:367
|
1591 |
+
msgid "Testing and Debug Related Settings."
|
1592 |
+
msgstr "Einstellungen zum Testen und Debuggen."
|
1593 |
+
|
1594 |
+
#: classes/class.swpm-settings.php:371
|
1595 |
+
msgid ""
|
1596 |
+
"This email will be sent to your users when they complete the registration "
|
1597 |
+
"and become a member."
|
1598 |
+
msgstr ""
|
1599 |
+
"Diese Email wird den Benutzern gesendet, wenn Sie Ihre Registrierung "
|
1600 |
+
"abgeschlossen haben und Mitglied geworden sind."
|
1601 |
+
|
1602 |
+
#: classes/class.swpm-settings.php:375
|
1603 |
+
msgid ""
|
1604 |
+
"This email will be sent to your users when they use the password reset "
|
1605 |
+
"functionality."
|
1606 |
+
msgstr ""
|
1607 |
+
"Diese Email wird den Mitgliedern gesendet, wenn sie das Passwort zurück "
|
1608 |
+
"setzen."
|
1609 |
+
|
1610 |
+
#: classes/class.swpm-settings.php:381
|
1611 |
+
msgid ""
|
1612 |
+
"This interface lets you custsomize the various emails that gets sent to your "
|
1613 |
+
"members for various actions. The default settings should be good to get your "
|
1614 |
+
"started."
|
1615 |
+
msgstr ""
|
1616 |
+
"Über diese Schnittstelle können Sie die verschiedenen E-Mails anpassen, die "
|
1617 |
+
"für verschiedene Aktionen an Ihre Mitglieder gesendet werden. Die "
|
1618 |
+
"Standardeinstellungen sollten ausreichen, um loszulegen."
|
1619 |
+
|
1620 |
+
#: classes/class.swpm-settings.php:385 views/admin_tools_settings.php:82
|
1621 |
+
msgid "This documentation"
|
1622 |
+
msgstr "Plugin-Dokumentation"
|
1623 |
+
|
1624 |
+
#: classes/class.swpm-settings.php:386
|
1625 |
+
msgid ""
|
1626 |
+
" explains what email merge tags you can use in the email body field to "
|
1627 |
+
"customize it (if you want to)."
|
1628 |
+
msgstr ""
|
1629 |
+
" erklärt, welche E-Mail-Merge-Tags Sie im E-Mail-Text verwenden können, um "
|
1630 |
+
"sie anzupassen (wenn Sie möchten)."
|
1631 |
+
|
1632 |
+
#: classes/class.swpm-settings.php:399
|
1633 |
+
msgid "Settings in this section apply to all emails."
|
1634 |
+
msgstr "Die Einstellungen in diesem Abschnitt gelten für alle E-Mails."
|
1635 |
+
|
1636 |
+
#: classes/class.swpm-settings.php:403
|
1637 |
+
msgid ""
|
1638 |
+
"This email will be sent to your users after account upgrade (when an "
|
1639 |
+
"existing member pays for a new membership level)."
|
1640 |
+
msgstr ""
|
1641 |
+
"Diese Email wird den Mitgliedern gesendet, wenn sie den Zahlungsvorgang für "
|
1642 |
+
"einen höheren Level der Mitgliedschaft abgeschlossen haben."
|
1643 |
+
|
1644 |
+
#: classes/class.swpm-settings.php:407
|
1645 |
+
msgid ""
|
1646 |
+
"This email will be sent to your members when you use the bulk account "
|
1647 |
+
"activate and notify action."
|
1648 |
+
msgstr ""
|
1649 |
+
"Diese Email wird an die Mitglieder gesendet, wenn Sie die Aktivierung und "
|
1650 |
+
"Benachrichtigung gesammelt vornehmen."
|
1651 |
+
|
1652 |
+
#: classes/class.swpm-settings.php:408
|
1653 |
+
msgid ""
|
1654 |
+
" You cannot use email merge tags in this email. You can only use generic "
|
1655 |
+
"text."
|
1656 |
+
msgstr ""
|
1657 |
+
" Sie können nicht E-Mail-Merge-Tags in dieser e-Mail verwenden. Sie können "
|
1658 |
+
"nur generische Text verwenden."
|
1659 |
+
|
1660 |
+
#: classes/class.swpm-settings.php:413
|
1661 |
+
msgid ""
|
1662 |
+
"This email will be sent if Email Activation is enabled for a Membership "
|
1663 |
+
"Level."
|
1664 |
+
msgstr ""
|
1665 |
+
"Diese E-Mail wird gesendet, wenn die E-Mail-Aktivierung für eine "
|
1666 |
+
"Mitgliedschaftsstufe aktiviert ist."
|
1667 |
+
|
1668 |
+
#: classes/class.swpm-settings.php:417
|
1669 |
+
msgid ""
|
1670 |
+
"This email will be sent to prompt users to complete registration after the "
|
1671 |
+
"payment."
|
1672 |
+
msgstr ""
|
1673 |
+
"Diese E-Mail wird gesendet, um Benutzer zu veranlassen, die Registrierung "
|
1674 |
+
"nach der Zahlung zu vervollständigen."
|
1675 |
+
|
1676 |
+
#: classes/class.swpm-settings.php:428
|
1677 |
+
msgid "This page allows you to configure some advanced features of the plugin."
|
1678 |
+
msgstr ""
|
1679 |
+
"Auf dieser Seite können Sie einige erweiterte Einstellungen dieses Plugins "
|
1680 |
+
"konfigurieren."
|
1681 |
+
|
1682 |
+
#: classes/class.swpm-settings.php:432
|
1683 |
+
msgid ""
|
1684 |
+
"This section allows you to configure automatic creation of member accounts "
|
1685 |
+
"when new WP User records are created by another plugin. It can be useful if "
|
1686 |
+
"you are using another plugin that creates WP user records and you want them "
|
1687 |
+
"to be recognized in the membership plugin."
|
1688 |
+
msgstr ""
|
1689 |
+
"Dies ermöglicht Ihnen, Mitgliedschaften automatisch einrichten zu lassen, "
|
1690 |
+
"wenn ein WP User Datensatz durch ein anderes WP Plugin erstellt worden ist. "
|
1691 |
+
"Dies kann hilfreich sein, wenn Sie ein anderes Plugin installiert haben, das "
|
1692 |
+
"WP User Einträge erstellt und Sie möchten, dass diese Einträge von "
|
1693 |
+
"Membership Plugin übernommen werden."
|
1694 |
+
|
1695 |
+
#: classes/class.swpm-settings.php:436
|
1696 |
+
msgid ""
|
1697 |
+
"This section allows you to configure terms and conditions and privacy policy "
|
1698 |
+
"that users must accept at registration time."
|
1699 |
+
msgstr ""
|
1700 |
+
"In diesem Bereich können Sie die Zugriffe auf die allgemeinen "
|
1701 |
+
"Geschäftsbedingungen und die Datenschutzerklärung eingeben, die die Anwender "
|
1702 |
+
"bei der Registrierung akzeptieren müssen."
|
1703 |
+
|
1704 |
+
#: classes/class.swpm-settings.php:565
|
1705 |
+
msgid "Simple WP Membership::Settings"
|
1706 |
+
msgstr "Simple WP Membership::Einstellungen"
|
1707 |
+
|
1708 |
+
#: classes/class.swpm-utils-member.php:36
|
1709 |
+
#: classes/class.swpm-utils-member.php:44
|
1710 |
+
#: classes/class.swpm-utils-member.php:52
|
1711 |
+
#: classes/class.swpm-utils-member.php:62
|
1712 |
+
msgid "User is not logged in."
|
1713 |
+
msgstr "Benutzer ist nicht angemeldet."
|
1714 |
+
|
1715 |
+
#: classes/class.swpm-utils-member.php:80
|
1716 |
+
msgid "No Expiry"
|
1717 |
+
msgstr "Kein Ablaufdatum"
|
1718 |
+
|
1719 |
+
#: classes/class.swpm-utils-misc.php:50
|
1720 |
+
msgid "Registration"
|
1721 |
+
msgstr "Registrierung"
|
1722 |
+
|
1723 |
+
#: classes/class.swpm-utils-misc.php:73
|
1724 |
+
msgid "Member Login"
|
1725 |
+
msgstr "Login für Mitglieder"
|
1726 |
+
|
1727 |
+
#: classes/class.swpm-utils-misc.php:96
|
1728 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:117
|
1729 |
+
msgid "Profile"
|
1730 |
+
msgstr "Profil"
|
1731 |
+
|
1732 |
+
#: classes/class.swpm-utils-misc.php:119
|
1733 |
+
msgid "Password Reset"
|
1734 |
+
msgstr "Passwort zurücksetzen"
|
1735 |
+
|
1736 |
+
#: classes/class.swpm-utils-misc.php:168
|
1737 |
+
#, php-format
|
1738 |
+
msgid ""
|
1739 |
+
"You will be automatically redirected in a few seconds. If not, please %s."
|
1740 |
+
msgstr ""
|
1741 |
+
"Sie werden automatisch in ein paar Sekunden weitergeleitet. Falls nicht, "
|
1742 |
+
"bitte %s."
|
1743 |
+
|
1744 |
+
#: classes/class.swpm-utils-misc.php:172
|
1745 |
+
msgid "Action Status"
|
1746 |
+
msgstr "Aktionsstatus"
|
1747 |
+
|
1748 |
+
#: classes/class.swpm-utils-misc.php:274
|
1749 |
+
msgid "Not a Member?"
|
1750 |
+
msgstr "Noch kein Mitglied?"
|
1751 |
+
|
1752 |
+
#: classes/class.swpm-utils-misc.php:285
|
1753 |
+
msgid "renew"
|
1754 |
+
msgstr "erneuern"
|
1755 |
+
|
1756 |
+
#: classes/class.swpm-utils-misc.php:285
|
1757 |
+
msgid " your account to gain access to this content."
|
1758 |
+
msgstr " Ihr Konto, um Zugang zu diesem Inhalt zu erhalten."
|
1759 |
+
|
1760 |
+
#: classes/class.swpm-utils-misc.php:343 classes/class.swpm-utils-misc.php:349
|
1761 |
+
msgid "Error! This action ("
|
1762 |
+
msgstr "Fehler! Diese Aktion ("
|
1763 |
+
|
1764 |
+
#: classes/class.swpm-utils-misc.php:421
|
1765 |
+
msgid "(Please Select)"
|
1766 |
+
msgstr "(Bitte auswählen)"
|
1767 |
+
|
1768 |
+
#: classes/class.swpm-utils-template.php:38
|
1769 |
+
msgid "Error! Failed to find a template path for the specified template: "
|
1770 |
+
msgstr ""
|
1771 |
+
"Fehler! Ein Zugriffspfad auf dieses Template konnte nicht gefunden werden: "
|
1772 |
+
|
1773 |
+
#: classes/class.swpm-utils.php:101
|
1774 |
+
msgid "Never"
|
1775 |
+
msgstr "Niemals"
|
1776 |
+
|
1777 |
+
#: classes/class.swpm-utils.php:116 views/admin_members_list.php:19
|
1778 |
+
msgid "Active"
|
1779 |
+
msgstr "Aktiv"
|
1780 |
+
|
1781 |
+
#: classes/class.swpm-utils.php:117 views/admin_members_list.php:20
|
1782 |
+
msgid "Inactive"
|
1783 |
+
msgstr "Inaktiv"
|
1784 |
+
|
1785 |
+
#: classes/class.swpm-utils.php:118 views/admin_members_list.php:21
|
1786 |
+
msgid "Activation Required"
|
1787 |
+
msgstr "Aktivierung benötigt"
|
1788 |
+
|
1789 |
+
#: classes/class.swpm-utils.php:119 views/admin_members_list.php:22
|
1790 |
+
msgid "Pending"
|
1791 |
+
msgstr "Ausstehend"
|
1792 |
+
|
1793 |
+
#: classes/class.swpm-utils.php:120 views/admin_members_list.php:24
|
1794 |
+
msgid "Expired"
|
1795 |
+
msgstr "Abgelaufen"
|
1796 |
+
|
1797 |
+
#: classes/class.swpm-utils.php:414 views/account_delete_warning.php:3
|
1798 |
+
msgid "Delete Account"
|
1799 |
+
msgstr "Konto löschen"
|
1800 |
+
|
1801 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:75
|
1802 |
+
msgid "Payment Button ID"
|
1803 |
+
msgstr "Zahlungs-Button-ID"
|
1804 |
+
|
1805 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:76
|
1806 |
+
msgid "Payment Button Title"
|
1807 |
+
msgstr "Zahlungs Button Titel"
|
1808 |
+
|
1809 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:77
|
1810 |
+
msgid "Membership Level ID"
|
1811 |
+
msgstr "Mitgliedsschaftsstufen ID"
|
1812 |
+
|
1813 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:78
|
1814 |
+
msgid "Button Type"
|
1815 |
+
msgstr "Button Typ"
|
1816 |
+
|
1817 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:79
|
1818 |
+
msgid "Button Shortcode"
|
1819 |
+
msgstr "Button Shortcode"
|
1820 |
+
|
1821 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:127
|
1822 |
+
#: views/admin_members_list.php:9
|
1823 |
+
#: views/payments/admin_all_payment_transactions.php:32
|
1824 |
+
msgid "The selected entry was deleted!"
|
1825 |
+
msgstr "Der ausgewählte Eintrag wurde gelöscht!"
|
1826 |
+
|
1827 |
+
#: classes/admin-includes/class.swpm-payments-admin-menu.php:21
|
1828 |
+
msgid "Simple Membership::Payments"
|
1829 |
+
msgstr "Simple WP Membership::Zahlungsvorgänge"
|
1830 |
+
|
1831 |
+
#: classes/admin-includes/class.swpm-payments-admin-menu.php:25
|
1832 |
+
msgid "Transactions"
|
1833 |
+
msgstr "Transaktionen"
|
1834 |
+
|
1835 |
+
#: classes/admin-includes/class.swpm-payments-admin-menu.php:26
|
1836 |
+
msgid "Manage Payment Buttons"
|
1837 |
+
msgstr "Zahlungsarten verwalten"
|
1838 |
+
|
1839 |
+
#: classes/admin-includes/class.swpm-payments-admin-menu.php:27
|
1840 |
+
#: views/payments/admin_payment_buttons.php:27
|
1841 |
+
msgid "Create New Button"
|
1842 |
+
msgstr "Neue Schaltfläche erstellen"
|
1843 |
+
|
1844 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:57
|
1845 |
+
#: views/template-1.php:95 views/template-2.php:97
|
1846 |
+
msgid "View Profile"
|
1847 |
+
msgstr "Profil anzeigen"
|
1848 |
+
|
1849 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:76
|
1850 |
+
msgid "Row ID"
|
1851 |
+
msgstr "Zeilen-ID"
|
1852 |
+
|
1853 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:77
|
1854 |
+
#: views/forgot_password.php:5
|
1855 |
+
msgid "Email Address"
|
1856 |
+
msgstr "E-Mail Adresse"
|
1857 |
+
|
1858 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:80
|
1859 |
+
msgid "Member Profile"
|
1860 |
+
msgstr "Mitgliedsprofil"
|
1861 |
+
|
1862 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:82
|
1863 |
+
msgid "Transaction ID"
|
1864 |
+
msgstr "Transaktions-ID"
|
1865 |
+
|
1866 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:83
|
1867 |
+
msgid "Subscriber ID"
|
1868 |
+
msgstr "Abonnenten-ID"
|
1869 |
+
|
1870 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:84
|
1871 |
+
msgid "Amount"
|
1872 |
+
msgstr "Summe"
|
1873 |
+
|
1874 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:60
|
1875 |
+
msgid "Your membership profile will be updated to reflect the payment."
|
1876 |
+
msgstr "Ihr Mitglieds Profil wird gemäß Zahlungsbetrag aktualisiert."
|
1877 |
+
|
1878 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:61
|
1879 |
+
msgid "Your profile username: "
|
1880 |
+
msgstr "Ihr Benutzername: "
|
1881 |
+
|
1882 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:73
|
1883 |
+
msgid "Click on the following link to complete the registration."
|
1884 |
+
msgstr ""
|
1885 |
+
"Klicken Sie auf den folgenden Link, um die Registrierung abzuschließen."
|
1886 |
+
|
1887 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:74
|
1888 |
+
msgid "Click here to complete your paid registration"
|
1889 |
+
msgstr "Klicken Sie hier, um Ihre bezahlte Registrierung abzuschließen"
|
1890 |
+
|
1891 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:79
|
1892 |
+
msgid ""
|
1893 |
+
"If you have just made a membership payment then your payment is yet to be "
|
1894 |
+
"processed. Please check back in a few minutes. An email will be sent to you "
|
1895 |
+
"with the details shortly."
|
1896 |
+
msgstr ""
|
1897 |
+
"Wenn Sie die Zahlung für die Mitgliedschaft gerade veranlasst haben, dann "
|
1898 |
+
"ist der Zahlungsvorgang möglicherweise noch nicht abgeschlossen. Bitte "
|
1899 |
+
"warten Sie noch eine kurze Zeit. Sie erhalten in Kürze eine Email zur "
|
1900 |
+
"Bestätigung."
|
1901 |
+
|
1902 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:93
|
1903 |
+
msgid "Expiry: "
|
1904 |
+
msgstr "Ablauf: "
|
1905 |
+
|
1906 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:95
|
1907 |
+
msgid "You are not logged-in as a member"
|
1908 |
+
msgstr "Sie sind nicht als Mitglied angemeldet"
|
1909 |
+
|
1910 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:115
|
1911 |
+
msgid "Logged in as: "
|
1912 |
+
msgstr "Eingeloggt als: "
|
1913 |
+
|
1914 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:118
|
1915 |
+
#: views/loggedin.php:31
|
1916 |
+
msgid "Logout"
|
1917 |
+
msgstr "Ausloggen"
|
1918 |
+
|
1919 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:121
|
1920 |
+
msgid "Login Here"
|
1921 |
+
msgstr "Hier einloggen"
|
1922 |
+
|
1923 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:122
|
1924 |
+
msgid "Not a member? "
|
1925 |
+
msgstr "Noch kein Mitglied? "
|
1926 |
+
|
1927 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:123
|
1928 |
+
msgid "Join Now"
|
1929 |
+
msgstr "Noch kein Mitglied? Registrieren Sie sich hier"
|
1930 |
+
|
1931 |
+
#: ipn/swpm-smart-checkout-ipn.php:260 ipn/swpm-smart-checkout-ipn.php:285
|
1932 |
+
#, php-format
|
1933 |
+
msgid "Error occured during payment verification. Error code: %d. Message: %s"
|
1934 |
+
msgstr ""
|
1935 |
+
"Fehler bei der Verifizierung der Zahlung aufgetreten. Fehler Code: %d. "
|
1936 |
+
"Nachricht: %s"
|
1937 |
+
|
1938 |
+
#: ipn/swpm-smart-checkout-ipn.php:298
|
1939 |
+
#, php-format
|
1940 |
+
msgid ""
|
1941 |
+
"Payment check failed: invalid amount received. Expected %s %s, got %s %s."
|
1942 |
+
msgstr ""
|
1943 |
+
"Zahlungsprüfung fehlgeschlagen: ungültiger Betrag. Erwartet %s %s, erhalten "
|
1944 |
+
"%s %s."
|
1945 |
+
|
1946 |
+
#: ipn/swpm-smart-checkout-ipn.php:315
|
1947 |
+
msgid "Empty payment data received."
|
1948 |
+
msgstr "Leere Zahlungsdaten erhalten."
|
1949 |
+
|
1950 |
+
#: ipn/swpm-smart-checkout-ipn.php:355
|
1951 |
+
msgid "IPN product validation failed. Check debug log for more details."
|
1952 |
+
msgstr ""
|
1953 |
+
"IPN Produkt Verifizierung fehlgeschlagen. Siehe Debug Log für weitere "
|
1954 |
+
"Details."
|
1955 |
+
|
1956 |
+
#: views/account_delete_warning.php:7
|
1957 |
+
msgid ""
|
1958 |
+
"You are about to delete an account. This will delete user data associated "
|
1959 |
+
"with this account. "
|
1960 |
+
msgstr ""
|
1961 |
+
"Sie sind dabei, ein Mitglieds-Konto zu löschen. Es werden alle "
|
1962 |
+
"entsprechenden Einträge gelöscht. "
|
1963 |
+
|
1964 |
+
#: views/account_delete_warning.php:8
|
1965 |
+
msgid "It will also delete associated WordPress user account."
|
1966 |
+
msgstr "Das entsprechende WordPress Benutzer Konto wird auch gelöscht."
|
1967 |
+
|
1968 |
+
#: views/account_delete_warning.php:9
|
1969 |
+
msgid ""
|
1970 |
+
"(NOTE: for safety, we do not allow deletion of any associated WordPress "
|
1971 |
+
"account with administrator role)."
|
1972 |
+
msgstr ""
|
1973 |
+
"(Hinweis: zur Sicherheit können keine WordPress Benutzerkonten mit "
|
1974 |
+
"Administrator-Rechten gelöscht werden)"
|
1975 |
+
|
1976 |
+
#: views/account_delete_warning.php:10
|
1977 |
+
msgid "Continue?"
|
1978 |
+
msgstr "Fortfahren?"
|
1979 |
+
|
1980 |
+
#: views/account_delete_warning.php:13
|
1981 |
+
msgid "Password: "
|
1982 |
+
msgstr "Passwort: "
|
1983 |
+
|
1984 |
+
#: views/account_delete_warning.php:14
|
1985 |
+
msgid "Confirm Account Deletion"
|
1986 |
+
msgstr "Kontolöschung bestätigen"
|
1987 |
+
|
1988 |
+
#: views/add.php:24 views/admin_add.php:19 views/admin_edit.php:44
|
1989 |
+
#: views/edit.php:31 views/login.php:17
|
1990 |
+
msgid "Password"
|
1991 |
+
msgstr "Passwort"
|
1992 |
+
|
1993 |
+
#: views/add.php:28 views/edit.php:35
|
1994 |
+
msgid "Repeat Password"
|
1995 |
+
msgstr "Passwort wiederholen"
|
1996 |
+
|
1997 |
+
#: views/add.php:65
|
1998 |
+
msgid "I accept the "
|
1999 |
+
msgstr "Ich akzeptiere "
|
2000 |
+
|
2001 |
+
#: views/add.php:77
|
2002 |
+
msgid "I agree to the "
|
2003 |
+
msgstr "Ich akzeptiere "
|
2004 |
+
|
2005 |
+
#: views/add.php:77
|
2006 |
+
msgid "Privacy Policy"
|
2007 |
+
msgstr "Datenschutzerklärung"
|
2008 |
+
|
2009 |
+
#: views/add.php:88
|
2010 |
+
msgid "Register"
|
2011 |
+
msgstr "Registrieren"
|
2012 |
+
|
2013 |
+
#: views/admin_add.php:7
|
2014 |
+
msgid "Create a brand new user and add it to this site."
|
2015 |
+
msgstr ""
|
2016 |
+
"Erstellen Sie einen neuen Benutzer und fügen Sie ihn zu dieser Website hinzu."
|
2017 |
+
|
2018 |
+
#: views/admin_add.php:11 views/admin_add.php:15 views/admin_add_level.php:12
|
2019 |
+
#: views/admin_add_level.php:16 views/admin_add_level.php:20
|
2020 |
+
#: views/admin_edit.php:19 views/admin_edit.php:40
|
2021 |
+
#: views/admin_edit_level.php:16 views/admin_edit_level.php:20
|
2022 |
+
#: views/admin_edit_level.php:24
|
2023 |
+
msgid "(required)"
|
2024 |
+
msgstr "(Pflichtfeld)"
|
2025 |
+
|
2026 |
+
#: views/admin_add.php:15 views/admin_edit.php:40
|
2027 |
+
msgid "E-mail"
|
2028 |
+
msgstr "E-Mail Adresse"
|
2029 |
+
|
2030 |
+
#: views/admin_add.php:19
|
2031 |
+
msgid "(twice, required)"
|
2032 |
+
msgstr "(zweimal, erforderlich)"
|
2033 |
+
|
2034 |
+
#: views/admin_add.php:24 views/admin_edit.php:48
|
2035 |
+
msgid "Strength indicator"
|
2036 |
+
msgstr "Passwortsicherheit"
|
2037 |
+
|
2038 |
+
#: views/admin_add.php:25 views/admin_edit.php:49
|
2039 |
+
msgid ""
|
2040 |
+
"Hint: The password should be at least seven characters long. To make it "
|
2041 |
+
"stronger, use upper and lower case letters, numbers and symbols like ! \" ? "
|
2042 |
+
"$ % ^ & )."
|
2043 |
+
msgstr ""
|
2044 |
+
"Hinweis: Das Passwort sollte mindestens sieben Zeichen lang sein. Um es "
|
2045 |
+
"stärker zu machen, verwenden Sie Groß- und Kleinbuchstaben, Zahlen und "
|
2046 |
+
"Symbole wie! \" ? $ % ^ &)."
|
2047 |
+
|
2048 |
+
#: views/admin_add.php:29 views/admin_edit.php:53 views/loggedin.php:10
|
2049 |
+
msgid "Account Status"
|
2050 |
+
msgstr "Kontostatus"
|
2051 |
+
|
2052 |
+
#: views/admin_add.php:39
|
2053 |
+
msgid "Add New Member "
|
2054 |
+
msgstr "Neues Mitglied hinzufügen "
|
2055 |
+
|
2056 |
+
#: views/admin_addon_settings.php:3
|
2057 |
+
msgid ""
|
2058 |
+
"Some of the simple membership plugin's addon settings and options will be "
|
2059 |
+
"displayed here (if you have them)"
|
2060 |
+
msgstr ""
|
2061 |
+
"Einstellungen einiger der Erweiterungen und Optionen des Simple Membership "
|
2062 |
+
"Plugins werden hier angezeigt (sofern sie installiert sind)"
|
2063 |
+
|
2064 |
+
#: views/admin_addon_settings.php:8
|
2065 |
+
msgid "Save Changes"
|
2066 |
+
msgstr "Änderungen speichern"
|
2067 |
+
|
2068 |
+
#: views/admin_add_level.php:6
|
2069 |
+
msgid "Add Membership Level"
|
2070 |
+
msgstr "Mitgliedschaftsstufe hinzufügen"
|
2071 |
+
|
2072 |
+
#: views/admin_add_level.php:7
|
2073 |
+
msgid "Create new membership level."
|
2074 |
+
msgstr "Neue Mitgliedschaftsstufe erstellen."
|
2075 |
+
|
2076 |
+
#: views/admin_add_level.php:12 views/admin_edit_level.php:16
|
2077 |
+
msgid "Membership Level Name"
|
2078 |
+
msgstr "Name der Mitgliedschaftsstufe"
|
2079 |
+
|
2080 |
+
#: views/admin_add_level.php:16 views/admin_edit_level.php:20
|
2081 |
+
msgid "Default WordPress Role"
|
2082 |
+
msgstr "Standard-WordPress-Rolle"
|
2083 |
+
|
2084 |
+
#: views/admin_add_level.php:20 views/admin_edit_level.php:24
|
2085 |
+
msgid "Access Duration"
|
2086 |
+
msgstr "Zugriffsdauer"
|
2087 |
+
|
2088 |
+
#: views/admin_add_level.php:23
|
2089 |
+
msgid "No Expiry (Access for this level will not expire until cancelled"
|
2090 |
+
msgstr "Kein Ablauf (Zugriff läuft nicht ab, bis er storniert wird"
|
2091 |
+
|
2092 |
+
#: views/admin_add_level.php:24 views/admin_add_level.php:26
|
2093 |
+
#: views/admin_add_level.php:28 views/admin_add_level.php:30
|
2094 |
+
#: views/admin_edit_level.php:28 views/admin_edit_level.php:31
|
2095 |
+
#: views/admin_edit_level.php:34 views/admin_edit_level.php:37
|
2096 |
+
msgid "Expire After"
|
2097 |
+
msgstr "Läuft aus nach"
|
2098 |
+
|
2099 |
+
#: views/admin_add_level.php:25 views/admin_edit_level.php:29
|
2100 |
+
msgid "Days (Access expires after given number of days)"
|
2101 |
+
msgstr "Tage (Zugang läuft nach vorgegebener Anzahl der Tage ab.)"
|
2102 |
+
|
2103 |
+
#: views/admin_add_level.php:27
|
2104 |
+
msgid "Weeks (Access expires after given number of weeks"
|
2105 |
+
msgstr "Wochen (Zugang läuft nach vorgegebener Anzahl der Wochen ab)"
|
2106 |
+
|
2107 |
+
#: views/admin_add_level.php:29 views/admin_edit_level.php:35
|
2108 |
+
msgid "Months (Access expires after given number of months)"
|
2109 |
+
msgstr "Monate (Zugang läuft nach vorgegebener Anzahl der Monate ab.)"
|
2110 |
+
|
2111 |
+
#: views/admin_add_level.php:31 views/admin_edit_level.php:38
|
2112 |
+
msgid "Years (Access expires after given number of years)"
|
2113 |
+
msgstr "Jahre (Zugang läuft nach vorgegebener Anzahl der Jahre ab.)"
|
2114 |
+
|
2115 |
+
#: views/admin_add_level.php:32 views/admin_edit_level.php:40
|
2116 |
+
msgid "Fixed Date Expiry"
|
2117 |
+
msgstr "Festes Ablaufdatum"
|
2118 |
+
|
2119 |
+
#: views/admin_add_level.php:33 views/admin_edit_level.php:41
|
2120 |
+
msgid "(Access expires on a fixed date)"
|
2121 |
+
msgstr "(Der Zugang läuft zu einem festen Termin ab)"
|
2122 |
+
|
2123 |
+
#: views/admin_add_level.php:38 views/admin_edit_level.php:46
|
2124 |
+
msgid "Email Activation"
|
2125 |
+
msgstr "E-Mail-Aktivierung"
|
2126 |
+
|
2127 |
+
#: views/admin_add_level.php:43
|
2128 |
+
msgid ""
|
2129 |
+
"Enable new user activation via email. When enabled, members will need to "
|
2130 |
+
"click on an activation link that is sent to their email address to activate "
|
2131 |
+
"the account. Useful for free membership. "
|
2132 |
+
msgstr ""
|
2133 |
+
"Aktivierung neuer Benutzer über Email freigeben. Wenn es freigegeben ist, "
|
2134 |
+
"müssen neue Mitglieder einen Aktivierungslink anklicken, der an ihre Email-"
|
2135 |
+
"Adresse gesendet wird. Vorteilhaft für kostenlose Mitgliedschaften. "
|
2136 |
+
|
2137 |
+
#: views/admin_add_level.php:44 views/admin_edit_level.php:52
|
2138 |
+
msgid "View Documentation"
|
2139 |
+
msgstr "Dokumentation ansehen"
|
2140 |
+
|
2141 |
+
#: views/admin_add_level.php:45 views/admin_edit_level.php:53
|
2142 |
+
msgid "Note:"
|
2143 |
+
msgstr "Hinweis:"
|
2144 |
+
|
2145 |
+
#: views/admin_add_level.php:45 views/admin_edit_level.php:53
|
2146 |
+
msgid ""
|
2147 |
+
"If enabled, decryptable member password is temporarily stored in the "
|
2148 |
+
"database until the account is activated."
|
2149 |
+
msgstr ""
|
2150 |
+
"Wenn aktiviert wird das unverschlüsselte Passwort zeitweilig in der "
|
2151 |
+
"Datenbank gespeichert, bis die Mitgliedschaft aktiviert ist."
|
2152 |
+
|
2153 |
+
#: views/admin_add_level.php:52
|
2154 |
+
msgid "Add New Membership Level "
|
2155 |
+
msgstr "Neue Mitgliedschaftsstufe hinzufügen "
|
2156 |
+
|
2157 |
+
#: views/admin_add_ons_page.php:7
|
2158 |
+
msgid "Simple WP Membership::Add-ons"
|
2159 |
+
msgstr "Simple WP Membership::Add-ons"
|
2160 |
+
|
2161 |
+
#: views/admin_category_list.php:5
|
2162 |
+
msgid ""
|
2163 |
+
"First of all, globally protect the category on your site by selecting "
|
2164 |
+
"\"General Protection\" from the drop-down box below and then select the "
|
2165 |
+
"categories that should be protected from non-logged in users."
|
2166 |
+
msgstr ""
|
2167 |
+
"Zuerst wählen Sie im Drop-Down Menue \"Genereller Schutz\" und wählen dann "
|
2168 |
+
"die Kategorien aus, die Sie vor nicht eingeloggten Benutzern schützen wollen."
|
2169 |
+
|
2170 |
+
#: views/admin_category_list.php:8
|
2171 |
+
msgid ""
|
2172 |
+
"Next, select an existing membership level from the drop-down box below and "
|
2173 |
+
"then select the categories you want to grant access to (for that particular "
|
2174 |
+
"membership level)."
|
2175 |
+
msgstr ""
|
2176 |
+
"Dann wählen Sie einen Mitglieder-Level aus dem Drop-Down Menue und wählen "
|
2177 |
+
"die Kategorien, zu denen Sie Mitgliedern dieses Levels Zugriff gewähren "
|
2178 |
+
"wollen."
|
2179 |
+
|
2180 |
+
#: views/admin_category_list.php:11 views/admin_post_list.php:11
|
2181 |
+
msgid "Read the "
|
2182 |
+
msgstr "Lesen Sie "
|
2183 |
+
|
2184 |
+
#: views/admin_category_list.php:11
|
2185 |
+
msgid "category protection documentation"
|
2186 |
+
msgstr "die Dokumentation zu Kategorie-Schutz"
|
2187 |
+
|
2188 |
+
#: views/admin_category_list.php:17 views/admin_post_list.php:27
|
2189 |
+
msgid "Membership Level:"
|
2190 |
+
msgstr "Mitgliedschaftsstufe:"
|
2191 |
+
|
2192 |
+
#: views/admin_category_list.php:19 views/admin_post_list.php:29
|
2193 |
+
msgid "General Protection"
|
2194 |
+
msgstr "Genereller Schutz"
|
2195 |
+
|
2196 |
+
#: views/admin_category_list.php:23 views/admin_post_list.php:33
|
2197 |
+
#: views/edit.php:83
|
2198 |
+
msgid "Update"
|
2199 |
+
msgstr "Aktualisieren"
|
2200 |
+
|
2201 |
+
#: views/admin_edit.php:11
|
2202 |
+
msgid "Edit Member"
|
2203 |
+
msgstr "Mitglied bearbeiten"
|
2204 |
+
|
2205 |
+
#: views/admin_edit.php:13
|
2206 |
+
msgid "Edit existing member details."
|
2207 |
+
msgstr "Bearbeiten Sie die vorhandenen Mitglieds-Details."
|
2208 |
+
|
2209 |
+
#: views/admin_edit.php:14
|
2210 |
+
msgid " You are currenty editing member with member ID: "
|
2211 |
+
msgstr " Sie bearbeiten gerade das Mitglied mit der Mitglieds-ID: "
|
2212 |
+
|
2213 |
+
#: views/admin_edit.php:44
|
2214 |
+
msgid "(twice, leave empty to retain old password)"
|
2215 |
+
msgstr "(doppelt, leer lassen, um das bestehende Passwort zu behalten)"
|
2216 |
+
|
2217 |
+
#: views/admin_edit.php:59
|
2218 |
+
msgid ""
|
2219 |
+
"This is the member's account status. If you want to manually activate an "
|
2220 |
+
"expired member's account then read"
|
2221 |
+
msgstr ""
|
2222 |
+
"Dies ist der Status der Mitgliedschaft. Wenn Sie eine abgelaufene "
|
2223 |
+
"Mitgliedschaft manuell aktivieren möchten, dann lesen Sie"
|
2224 |
+
|
2225 |
+
#: views/admin_edit.php:60
|
2226 |
+
msgid "this documentation"
|
2227 |
+
msgstr "diese Dokumentation"
|
2228 |
+
|
2229 |
+
#: views/admin_edit.php:61
|
2230 |
+
msgid " to learn how to do it."
|
2231 |
+
msgstr " lernen, wie es zu machen ist."
|
2232 |
+
|
2233 |
+
#: views/admin_edit.php:66
|
2234 |
+
msgid "Notify User"
|
2235 |
+
msgstr "Benutzer benachrichtigen"
|
2236 |
+
|
2237 |
+
#: views/admin_edit.php:69
|
2238 |
+
msgid ""
|
2239 |
+
"You can use this option to send a quick notification email to this member "
|
2240 |
+
"(the email will be sent when you hit the save button below)."
|
2241 |
+
msgstr ""
|
2242 |
+
"Sie können mit dieser Option eine Nachricht an dieses Mitglied senden. (die "
|
2243 |
+
"E-Mail wird gesendet, wenn Sie den Button zum speichern anklicken)"
|
2244 |
+
|
2245 |
+
#: views/admin_edit.php:75
|
2246 |
+
msgid "Subscriber ID/Reference"
|
2247 |
+
msgstr "Abonennten ID / Referenz"
|
2248 |
+
|
2249 |
+
#: views/admin_edit.php:79
|
2250 |
+
msgid "Last Accessed Date"
|
2251 |
+
msgstr "Datum des letzten Zugriffs"
|
2252 |
+
|
2253 |
+
#: views/admin_edit.php:82 views/admin_edit.php:89
|
2254 |
+
msgid "This value gets updated when this member logs into your site."
|
2255 |
+
msgstr "Dieser Wert wird aktualisiert, wenn dieses Mitglied sich einloggt."
|
2256 |
+
|
2257 |
+
#: views/admin_edit.php:86
|
2258 |
+
msgid "Last Accessed From IP"
|
2259 |
+
msgstr "Letzter Zugriff von IP"
|
2260 |
+
|
2261 |
+
#: views/admin_edit.php:97
|
2262 |
+
msgid "Save Data"
|
2263 |
+
msgstr "Daten speichern"
|
2264 |
+
|
2265 |
+
#: views/admin_edit.php:102
|
2266 |
+
msgid "Delete User Profile"
|
2267 |
+
msgstr "Benutzerprofil löschen"
|
2268 |
+
|
2269 |
+
#: views/admin_edit_level.php:6
|
2270 |
+
msgid "Edit membership level"
|
2271 |
+
msgstr "Mitgliedschaft bearbeiten"
|
2272 |
+
|
2273 |
+
#: views/admin_edit_level.php:9
|
2274 |
+
msgid ""
|
2275 |
+
"You can edit details of a selected membership level from this interface. "
|
2276 |
+
msgstr ""
|
2277 |
+
"Sie können die Details des ausgewählten Mitgliederlevels hier bearbeiten. "
|
2278 |
+
|
2279 |
+
#: views/admin_edit_level.php:10
|
2280 |
+
msgid "You are currently editing: "
|
2281 |
+
msgstr "Sie bearbeiten gerade: "
|
2282 |
+
|
2283 |
+
#: views/admin_edit_level.php:27
|
2284 |
+
msgid "No Expiry (Access for this level will not expire until cancelled)"
|
2285 |
+
msgstr "Kein Ablauf (Zugriff läuft nicht ab, bis er storniert wird)"
|
2286 |
+
|
2287 |
+
#: views/admin_edit_level.php:32
|
2288 |
+
msgid "Weeks (Access expires after given number of weeks)"
|
2289 |
+
msgstr "Wochen (Zugang läuft nach vorgegebener Anzahl von Wochen)"
|
2290 |
+
|
2291 |
+
#: views/admin_edit_level.php:51
|
2292 |
+
msgid ""
|
2293 |
+
"Enable new user activation via email. When enabled, members will need to "
|
2294 |
+
"click on an activation link that is sent to their email address to activate "
|
2295 |
+
"the account. Useful for free membership."
|
2296 |
+
msgstr ""
|
2297 |
+
"Aktivierung neuer Benutzer über Email freigeben. Wenn es freigegeben ist, "
|
2298 |
+
"müssen neue Mitglieder einen Aktivierungslink anklicken, der an ihre Email-"
|
2299 |
+
"Adresse gesendet wird. Vorteilhaft für kostenlose Mitgliedschaften."
|
2300 |
+
|
2301 |
+
#: views/admin_edit_level.php:60
|
2302 |
+
msgid "Save Membership Level "
|
2303 |
+
msgstr "Mitgliedschaftsstufe speichern "
|
2304 |
+
|
2305 |
+
#: views/admin_membership_manage.php:18
|
2306 |
+
msgid "Example Content Protection Settings"
|
2307 |
+
msgstr "Beispiel Inhaltsschutz Einstellungen"
|
2308 |
+
|
2309 |
+
#: views/admin_members_list.php:18
|
2310 |
+
msgid "All"
|
2311 |
+
msgstr "Alle"
|
2312 |
+
|
2313 |
+
#: views/admin_members_list.php:23
|
2314 |
+
msgid "Incomplete"
|
2315 |
+
msgstr "Unvollständig"
|
2316 |
+
|
2317 |
+
#: views/admin_member_form_common_part.php:23
|
2318 |
+
#: includes/swpm_mda_show_profile.php:37
|
2319 |
+
msgid "Gender"
|
2320 |
+
msgstr "Geschlecht"
|
2321 |
+
|
2322 |
+
#: views/admin_member_form_common_part.php:30 views/edit.php:47
|
2323 |
+
#: includes/swpm_mda_show_profile.php:34
|
2324 |
+
msgid "Phone"
|
2325 |
+
msgstr "Telefonnummer"
|
2326 |
+
|
2327 |
+
#: views/admin_member_form_common_part.php:34 views/edit.php:51
|
2328 |
+
msgid "Street"
|
2329 |
+
msgstr "Straße"
|
2330 |
+
|
2331 |
+
#: views/admin_member_form_common_part.php:38 views/edit.php:55
|
2332 |
+
msgid "City"
|
2333 |
+
msgstr "Stadt"
|
2334 |
+
|
2335 |
+
#: views/admin_member_form_common_part.php:42 views/edit.php:59
|
2336 |
+
msgid "State"
|
2337 |
+
msgstr "Bundesland"
|
2338 |
+
|
2339 |
+
#: views/admin_member_form_common_part.php:46 views/edit.php:63
|
2340 |
+
msgid "Zipcode"
|
2341 |
+
msgstr "PLZ"
|
2342 |
+
|
2343 |
+
#: views/admin_member_form_common_part.php:50 views/edit.php:67
|
2344 |
+
#: includes/swpm_mda_show_profile.php:33
|
2345 |
+
msgid "Country"
|
2346 |
+
msgstr "Land"
|
2347 |
+
|
2348 |
+
#: views/admin_member_form_common_part.php:54
|
2349 |
+
#: includes/swpm_mda_show_profile.php:38
|
2350 |
+
msgid "Company"
|
2351 |
+
msgstr "Firma"
|
2352 |
+
|
2353 |
+
#: views/admin_member_form_common_part.php:58
|
2354 |
+
#: includes/swpm_mda_show_profile.php:36
|
2355 |
+
msgid "Member Since"
|
2356 |
+
msgstr "Mitglied seit"
|
2357 |
+
|
2358 |
+
#: views/admin_post_list.php:5
|
2359 |
+
msgid ""
|
2360 |
+
"First of all, globally protect posts and pages on your site by selecting "
|
2361 |
+
"\"General Protection\" from the drop-down box below and then select posts "
|
2362 |
+
"and pages that should be protected from non-logged in users."
|
2363 |
+
msgstr ""
|
2364 |
+
"Zuerst wählen Sie im Drop-Down Menue \"Genereller Schutz\" und wählen dann "
|
2365 |
+
"die Beiträge und Seiten aus, die Sie vor nicht eingeloggten Benutzern "
|
2366 |
+
"schützen wollen."
|
2367 |
+
|
2368 |
+
#: views/admin_post_list.php:8
|
2369 |
+
msgid ""
|
2370 |
+
"Next, select an existing membership level from the drop-down box below and "
|
2371 |
+
"then select posts and pages you want to grant access to (for that particular "
|
2372 |
+
"membership level)."
|
2373 |
+
msgstr ""
|
2374 |
+
"Dann wählen Sie einen Mitglieder-Level aus dem Drop-Down Menue und wählen "
|
2375 |
+
"die Beiträge und Seiten, zu denen Sie Mitgliedern dieses Levels Zugriff "
|
2376 |
+
"gewähren wollen."
|
2377 |
+
|
2378 |
+
#: views/admin_post_list.php:11
|
2379 |
+
msgid "bulk protect posts and pages documentation"
|
2380 |
+
msgstr ""
|
2381 |
+
"die Dokumentation, wie Beiträge und Seiten in einer Massenanwendung "
|
2382 |
+
"geschützt werden"
|
2383 |
+
|
2384 |
+
#: views/admin_post_list.php:11
|
2385 |
+
msgid " to learn how to use it."
|
2386 |
+
msgstr " um zu lernen, wie es benutzt wird."
|
2387 |
+
|
2388 |
+
#: views/admin_post_list.php:21
|
2389 |
+
msgid "Posts"
|
2390 |
+
msgstr "Beiträge"
|
2391 |
+
|
2392 |
+
#: views/admin_post_list.php:22
|
2393 |
+
msgid "Pages"
|
2394 |
+
msgstr "Seiten"
|
2395 |
+
|
2396 |
+
#: views/admin_post_list.php:23
|
2397 |
+
msgid "Custom Posts"
|
2398 |
+
msgstr "Benutzerdefinierte Beiträge"
|
2399 |
+
|
2400 |
+
#: views/admin_tools_settings.php:14
|
2401 |
+
msgid "The required pages have been re-created."
|
2402 |
+
msgstr "Die notwendigen Seiten wurden wiederhergestellt."
|
2403 |
+
|
2404 |
+
#: views/admin_tools_settings.php:21
|
2405 |
+
msgid "Generate a Registration Completion link"
|
2406 |
+
msgstr "Einen \"Registrierung abgeschlossen\" Link generieren"
|
2407 |
+
|
2408 |
+
#: views/admin_tools_settings.php:24
|
2409 |
+
msgid ""
|
2410 |
+
"You can manually generate a registration completion link here and give it to "
|
2411 |
+
"your customer if they have missed the email that was automatically sent out "
|
2412 |
+
"to them after the payment."
|
2413 |
+
msgstr ""
|
2414 |
+
"Sie können hier manuell einen \"Registrierung abgeschlossen\" Link "
|
2415 |
+
"generieren falls Ihr Kunde die automatische E-Mail verlegt hat."
|
2416 |
+
|
2417 |
+
#: views/admin_tools_settings.php:29
|
2418 |
+
msgid "Generate Registration Completion Link"
|
2419 |
+
msgstr "\"Registrierung Abgeschlossen\" Link generieren"
|
2420 |
+
|
2421 |
+
#: views/admin_tools_settings.php:30
|
2422 |
+
msgid "For a Particular Member ID"
|
2423 |
+
msgstr "Für eine bestimmte Mitglieds-ID"
|
2424 |
+
|
2425 |
+
#: views/admin_tools_settings.php:32
|
2426 |
+
msgid "OR"
|
2427 |
+
msgstr "ODER"
|
2428 |
+
|
2429 |
+
#: views/admin_tools_settings.php:33
|
2430 |
+
msgid "For All Incomplete Registrations"
|
2431 |
+
msgstr "Für alle unvollständigen Anmeldungen"
|
2432 |
+
|
2433 |
+
#: views/admin_tools_settings.php:38
|
2434 |
+
msgid "Send Registration Reminder Email Too"
|
2435 |
+
msgstr "Registrierungserinnerung auch per E-Mail verschicken"
|
2436 |
+
|
2437 |
+
#: views/admin_tools_settings.php:44
|
2438 |
+
msgid "Submit"
|
2439 |
+
msgstr "Absenden"
|
2440 |
+
|
2441 |
+
#: views/admin_tools_settings.php:53
|
2442 |
+
msgid ""
|
2443 |
+
"Link(s) generated successfully. The following link(s) can be used to "
|
2444 |
+
"complete the registration."
|
2445 |
+
msgstr ""
|
2446 |
+
"Link(s) sind erfolgreich angelegt. Folgende(r) Link(s) kann/können genutzt "
|
2447 |
+
"werden, um die Registrierung zu Vervollständigen."
|
2448 |
+
|
2449 |
+
#: views/admin_tools_settings.php:55
|
2450 |
+
msgid "Registration completion links will appear below"
|
2451 |
+
msgstr ""
|
2452 |
+
"Der Link für die Vervollständigung der Registrierung wird unten angezeigt"
|
2453 |
+
|
2454 |
+
#: views/admin_tools_settings.php:65
|
2455 |
+
msgid "A prompt to complete registration email was also sent."
|
2456 |
+
msgstr ""
|
2457 |
+
"Eine Aufforderung, die Registrierung zu vervollständigen, wurde ebenfalls "
|
2458 |
+
"gesendet."
|
2459 |
+
|
2460 |
+
#: views/admin_tools_settings.php:78 views/admin_tools_settings.php:88
|
2461 |
+
msgid "Re-create the Required Pages"
|
2462 |
+
msgstr "Die notwendigen Seiten wiederherstellen"
|
2463 |
+
|
2464 |
+
#: views/admin_tools_settings.php:81
|
2465 |
+
msgid ""
|
2466 |
+
"If you have accidentally deleted the required pages that this plugin creates "
|
2467 |
+
"at install time, you can use this option to re-create them."
|
2468 |
+
msgstr ""
|
2469 |
+
"Falls Sie aus Versehen die von diesem Plugin automatisch erstellten und "
|
2470 |
+
"benötigten Seiten gelöscht haben, können Sie sie mit dieser Option wieder "
|
2471 |
+
"herstellen."
|
2472 |
+
|
2473 |
+
#: views/admin_tools_settings.php:82
|
2474 |
+
msgid " has full explanation."
|
2475 |
+
msgstr " vollständige Erklärung hat."
|
2476 |
+
|
2477 |
+
#: views/edit.php:32 views/edit.php:36
|
2478 |
+
msgid "Leave empty to keep the current password"
|
2479 |
+
msgstr "Lassen Sie das Feld leer, um das aktuelle Passwort beizubehalten"
|
2480 |
+
|
2481 |
+
#: views/edit.php:71
|
2482 |
+
msgid "Company Name"
|
2483 |
+
msgstr "Firmennname"
|
2484 |
+
|
2485 |
+
#: views/forgot_password.php:12
|
2486 |
+
msgid "Reset Password"
|
2487 |
+
msgstr "Passwort zurücksetzen"
|
2488 |
+
|
2489 |
+
#: views/loggedin.php:6
|
2490 |
+
msgid "Logged in as"
|
2491 |
+
msgstr "Eingeloggt als"
|
2492 |
+
|
2493 |
+
#: views/loggedin.php:14
|
2494 |
+
msgid "Membership"
|
2495 |
+
msgstr "Mitgliedschaft"
|
2496 |
+
|
2497 |
+
#: views/loggedin.php:18
|
2498 |
+
msgid "Account Expiry"
|
2499 |
+
msgstr "Kontoablauf"
|
2500 |
+
|
2501 |
+
#: views/loggedin.php:26
|
2502 |
+
msgid "Edit Profile"
|
2503 |
+
msgstr "Profil bearbeiten"
|
2504 |
+
|
2505 |
+
#: views/login.php:11
|
2506 |
+
msgid "Username or Email"
|
2507 |
+
msgstr "Mitgliedsname oder Email"
|
2508 |
+
|
2509 |
+
#: views/login.php:24
|
2510 |
+
msgid "Remember Me"
|
2511 |
+
msgstr "Erinneren Sie sich an mich"
|
2512 |
+
|
2513 |
+
#: views/login.php:33
|
2514 |
+
msgid "Forgot Password?"
|
2515 |
+
msgstr "Passwort vergessen?"
|
2516 |
+
|
2517 |
+
#: views/payments/admin_all_payment_transactions.php:6
|
2518 |
+
msgid "All the payments/transactions of your members are recorded here."
|
2519 |
+
msgstr ""
|
2520 |
+
"Alle Zahlungen / Transaktionen Ihrer Mitglieder werden hier aufgezeichnet."
|
2521 |
+
|
2522 |
+
#: views/payments/admin_all_payment_transactions.php:12
|
2523 |
+
msgid "Search for a transaction by using email or name"
|
2524 |
+
msgstr "Suche nach einer Transaktion mit Email oder Name"
|
2525 |
+
|
2526 |
+
#: views/payments/admin_create_payment_buttons.php:15
|
2527 |
+
msgid ""
|
2528 |
+
"You can create new payment button for your memberships using this interface."
|
2529 |
+
msgstr ""
|
2530 |
+
"Sie können eine neue Schaltfläche für Zahlungen für Mitgliedschaften mit "
|
2531 |
+
"diesem Interface erzeugen."
|
2532 |
+
|
2533 |
+
#: views/payments/admin_create_payment_buttons.php:23
|
2534 |
+
msgid "Select Payment Button Type"
|
2535 |
+
msgstr "Wählen Sie den Schaltflächen Typ für Zahlungen"
|
2536 |
+
|
2537 |
+
#: views/payments/admin_create_payment_buttons.php:26
|
2538 |
+
msgid "PayPal Buy Now"
|
2539 |
+
msgstr "PayPal Jetzt kaufen"
|
2540 |
+
|
2541 |
+
#: views/payments/admin_create_payment_buttons.php:28
|
2542 |
+
msgid "PayPal Subscription"
|
2543 |
+
msgstr "PayPal Abonnement"
|
2544 |
+
|
2545 |
+
#: views/payments/admin_create_payment_buttons.php:30
|
2546 |
+
msgid "PayPal Smart Checkout"
|
2547 |
+
msgstr "PayPal Smart Checkout"
|
2548 |
+
|
2549 |
+
#: views/payments/admin_create_payment_buttons.php:32
|
2550 |
+
msgid "Stripe Buy Now"
|
2551 |
+
msgstr "Stripe Jetzt kaufen"
|
2552 |
+
|
2553 |
+
#: views/payments/admin_create_payment_buttons.php:34
|
2554 |
+
msgid "Stripe Subscription"
|
2555 |
+
msgstr "Stripe Mitgliedschaft"
|
2556 |
+
|
2557 |
+
#: views/payments/admin_create_payment_buttons.php:36
|
2558 |
+
msgid "Braintree Buy Now"
|
2559 |
+
msgstr "Braintree Jetzt kaufen"
|
2560 |
+
|
2561 |
+
#: views/payments/admin_create_payment_buttons.php:43
|
2562 |
+
msgid "Next"
|
2563 |
+
msgstr "Weiter"
|
2564 |
+
|
2565 |
+
#: views/payments/admin_edit_payment_buttons.php:15
|
2566 |
+
msgid "You can edit a payment button using this interface."
|
2567 |
+
msgstr "Sie können eine Schaltfläche für Zahlungen hier bearbeiten."
|
2568 |
+
|
2569 |
+
#: views/payments/admin_payment_buttons.php:6
|
2570 |
+
msgid ""
|
2571 |
+
"All the membership buttons that you created in the plugin are displayed here."
|
2572 |
+
msgstr ""
|
2573 |
+
"Alle Schaltflächen für Mitgliedschaften, die Sie angelegt haben, finden Sie "
|
2574 |
+
"hier."
|
2575 |
+
|
2576 |
+
#: views/payments/admin_payment_settings.php:21
|
2577 |
+
msgid "Error! The membership level ID ("
|
2578 |
+
msgstr "Fehler! Die Mitgliederstufen-ID ("
|
2579 |
+
|
2580 |
+
#: views/payments/admin_payment_settings.php:28
|
2581 |
+
msgid ""
|
2582 |
+
"You can create membership payment buttons from the payments menu of this "
|
2583 |
+
"plugin (useful if you want to offer paid membership on the site)."
|
2584 |
+
msgstr ""
|
2585 |
+
"Sie können Schaltflächen für die Zahlungen für Mitgliedschaften über das "
|
2586 |
+
"Zahlungsmenü dieses Plugins erstellen (nützlich, wenn Sie eine "
|
2587 |
+
"kostenpflichtige Mitgliedschaft auf der Website anbieten möchten)."
|
2588 |
+
|
2589 |
+
#: views/payments/admin_payment_settings.php:33
|
2590 |
+
msgid "PayPal Integration Settings"
|
2591 |
+
msgstr "PayPal Integration Einstellungen"
|
2592 |
+
|
2593 |
+
#: views/payments/admin_payment_settings.php:36
|
2594 |
+
msgid "Generate the \"Advanced Variables\" Code for your PayPal button"
|
2595 |
+
msgstr "Generieren Sie den \"Advanced Variables\" Code für Ihren PayPal-Button"
|
2596 |
+
|
2597 |
+
#: views/payments/admin_payment_settings.php:39
|
2598 |
+
msgid "Enter the Membership Level ID"
|
2599 |
+
msgstr "Geben Sie die Mitgliederstufen-ID ein"
|
2600 |
+
|
2601 |
+
#: views/payments/admin_payment_settings.php:41
|
2602 |
+
msgid "Generate Code"
|
2603 |
+
msgstr "Code generieren"
|
2604 |
+
|
2605 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:22
|
2606 |
+
msgid "Braintree Buy Now Button Configuration"
|
2607 |
+
msgstr "Braintree \"Jetzt kaufen\" Button Konfiguration"
|
2608 |
+
|
2609 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:34
|
2610 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:213
|
2611 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:33
|
2612 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:301
|
2613 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:259
|
2614 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:83
|
2615 |
+
msgid "Button ID"
|
2616 |
+
msgstr "Button ID"
|
2617 |
+
|
2618 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:42
|
2619 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:26
|
2620 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:221
|
2621 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:41
|
2622 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:27
|
2623 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:309
|
2624 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:39
|
2625 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:266
|
2626 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:91
|
2627 |
+
msgid "Button Title"
|
2628 |
+
msgstr "Button Titel"
|
2629 |
+
|
2630 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:60
|
2631 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:44
|
2632 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:239
|
2633 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:59
|
2634 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:57
|
2635 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:282
|
2636 |
+
msgid "Payment Amount"
|
2637 |
+
msgstr "Zahlungsbetrag"
|
2638 |
+
|
2639 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:68
|
2640 |
+
msgid ""
|
2641 |
+
"Braintree API key and account details. You can get this from your Braintree "
|
2642 |
+
"account."
|
2643 |
+
msgstr ""
|
2644 |
+
"Braintree API Schlüssel und Konto Details. Sie können diese aus Ihrem "
|
2645 |
+
"Braintree Konto erhalten."
|
2646 |
+
|
2647 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:72
|
2648 |
+
msgid "Merchant ID"
|
2649 |
+
msgstr "Händler ID"
|
2650 |
+
|
2651 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:80
|
2652 |
+
msgid "Public Key"
|
2653 |
+
msgstr "Öffentlicher Schlüssel"
|
2654 |
+
|
2655 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:87
|
2656 |
+
msgid "Private Key"
|
2657 |
+
msgstr "Privater Schlüssel"
|
2658 |
+
|
2659 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:95
|
2660 |
+
msgid "Merchant Account ID"
|
2661 |
+
msgstr "Händler-Konto-ID"
|
2662 |
+
|
2663 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:113
|
2664 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:137
|
2665 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:361
|
2666 |
+
msgid "The following details are optional."
|
2667 |
+
msgstr "Die folgenden Angaben sind optional."
|
2668 |
+
|
2669 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:117
|
2670 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:92
|
2671 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:287
|
2672 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:204
|
2673 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:172
|
2674 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:456
|
2675 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:149
|
2676 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:373
|
2677 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:191
|
2678 |
+
msgid "Return URL"
|
2679 |
+
msgstr "Zu URL zurückkehren"
|
2680 |
+
|
2681 |
+
#: views/payments/payment-gateway/admin_braintree_buy_now_button.php:127
|
2682 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:126
|
2683 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:321
|
2684 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:214
|
2685 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:200
|
2686 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:484
|
2687 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:159
|
2688 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:383
|
2689 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:212
|
2690 |
+
msgid "Save Payment Data"
|
2691 |
+
msgstr "Zahlungsdaten speichern"
|
2692 |
+
|
2693 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:16
|
2694 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:204
|
2695 |
+
msgid "PayPal Buy Now Button Configuration"
|
2696 |
+
msgstr "PayPal \"Jetzt kaufen\" Button Configuration"
|
2697 |
+
|
2698 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:52
|
2699 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:247
|
2700 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:67
|
2701 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:45
|
2702 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:327
|
2703 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:65
|
2704 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:289
|
2705 |
+
msgid "Payment Currency"
|
2706 |
+
msgstr "Währung der Zahlung"
|
2707 |
+
|
2708 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:100
|
2709 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:295
|
2710 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:85
|
2711 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:367
|
2712 |
+
msgid "PayPal Email"
|
2713 |
+
msgstr "PayPal E-Mail Adresse"
|
2714 |
+
|
2715 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:108
|
2716 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:303
|
2717 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:180
|
2718 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:464
|
2719 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:199
|
2720 |
+
msgid "Button Image URL"
|
2721 |
+
msgstr "Button Bild-URL"
|
2722 |
+
|
2723 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:116
|
2724 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:311
|
2725 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:188
|
2726 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:472
|
2727 |
+
msgid "Custom Checkout Page Logo Image"
|
2728 |
+
msgstr "Benutzerdefinierte Checkout Seiten Logo"
|
2729 |
+
|
2730 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:21
|
2731 |
+
msgid "PayPal Smart Checkout Button Configuration"
|
2732 |
+
msgstr "PayPal Smart Checkout Button Konfiguration"
|
2733 |
+
|
2734 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:107
|
2735 |
+
msgid ""
|
2736 |
+
"PayPal Smart Checkout API Credentials (you can get this from your PayPal "
|
2737 |
+
"account)"
|
2738 |
+
msgstr ""
|
2739 |
+
"PayPal Smart Checkout API Berechtigungen (Sie können diese von Ihrem PayPal-"
|
2740 |
+
"Konto erhalten)"
|
2741 |
+
|
2742 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:111
|
2743 |
+
msgid "Live Client ID"
|
2744 |
+
msgstr "Kunden ID"
|
2745 |
+
|
2746 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:119
|
2747 |
+
msgid "Live Secret"
|
2748 |
+
msgstr "Live Secret"
|
2749 |
+
|
2750 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:127
|
2751 |
+
msgid "Sandbox Client ID"
|
2752 |
+
msgstr "Sandbox Kunden ID"
|
2753 |
+
|
2754 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:135
|
2755 |
+
msgid "Sandbox Secret"
|
2756 |
+
msgstr "Sandbox Geheimschlüssel"
|
2757 |
+
|
2758 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:143
|
2759 |
+
msgid "Button Appearance Settings"
|
2760 |
+
msgstr "Button Erscheinungsbild Einstellungen"
|
2761 |
+
|
2762 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:147
|
2763 |
+
msgid "Size"
|
2764 |
+
msgstr "Größe"
|
2765 |
+
|
2766 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:150
|
2767 |
+
msgid "Medium"
|
2768 |
+
msgstr "Medium"
|
2769 |
+
|
2770 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:151
|
2771 |
+
msgid "Large"
|
2772 |
+
msgstr "Groß"
|
2773 |
+
|
2774 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:152
|
2775 |
+
msgid "Repsonsive"
|
2776 |
+
msgstr "Repsonsive"
|
2777 |
+
|
2778 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:154
|
2779 |
+
msgid "Select button size."
|
2780 |
+
msgstr "Schaltflächengröße auswählen."
|
2781 |
+
|
2782 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:158
|
2783 |
+
msgid "Color"
|
2784 |
+
msgstr "Farbe"
|
2785 |
+
|
2786 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:161
|
2787 |
+
msgid "Gold"
|
2788 |
+
msgstr "Gold"
|
2789 |
+
|
2790 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:162
|
2791 |
+
msgid "Blue"
|
2792 |
+
msgstr "Blau"
|
2793 |
+
|
2794 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:163
|
2795 |
+
msgid "Silver"
|
2796 |
+
msgstr "Silber"
|
2797 |
+
|
2798 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:164
|
2799 |
+
msgid "Black"
|
2800 |
+
msgstr "Schwarz"
|
2801 |
+
|
2802 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:166
|
2803 |
+
msgid "Select button color."
|
2804 |
+
msgstr "Schaltflächenfarbe wählen."
|
2805 |
+
|
2806 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:170
|
2807 |
+
msgid "Shape"
|
2808 |
+
msgstr "Form"
|
2809 |
+
|
2810 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:172
|
2811 |
+
msgid "Rectangular"
|
2812 |
+
msgstr "Rechteckig"
|
2813 |
+
|
2814 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:173
|
2815 |
+
msgid "Pill"
|
2816 |
+
msgstr "Pill"
|
2817 |
+
|
2818 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:174
|
2819 |
+
msgid "Select button shape."
|
2820 |
+
msgstr "Schaltflächenform wählen."
|
2821 |
+
|
2822 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:178
|
2823 |
+
msgid "Layout"
|
2824 |
+
msgstr "Layout"
|
2825 |
+
|
2826 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:180
|
2827 |
+
msgid "Vertical"
|
2828 |
+
msgstr "Vertikal"
|
2829 |
+
|
2830 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:181
|
2831 |
+
msgid "Horizontal"
|
2832 |
+
msgstr "Horizontal"
|
2833 |
+
|
2834 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:182
|
2835 |
+
msgid "Select button layout."
|
2836 |
+
msgstr "Schaltflächenform wählen."
|
2837 |
+
|
2838 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:187
|
2839 |
+
msgid "Additional Settings"
|
2840 |
+
msgstr "Weitere Einstellungen"
|
2841 |
+
|
2842 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:191
|
2843 |
+
msgid "Payment Methods"
|
2844 |
+
msgstr "Zahlungsmethoden"
|
2845 |
+
|
2846 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:193
|
2847 |
+
msgid "PayPal Credit"
|
2848 |
+
msgstr "PayPal Kredit"
|
2849 |
+
|
2850 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:194
|
2851 |
+
msgid "ELV"
|
2852 |
+
msgstr "ELV"
|
2853 |
+
|
2854 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:195
|
2855 |
+
msgid ""
|
2856 |
+
"Select payment methods that could be used by customers. Note that payment "
|
2857 |
+
"with cards is always enabled."
|
2858 |
+
msgstr ""
|
2859 |
+
"Wählen Sie Zahlungsmethoden, die von Kunden genutzt werden können. Hinweis: "
|
2860 |
+
"Zahlung über Karten ist immer freigegeben."
|
2861 |
+
|
2862 |
+
#: views/payments/payment-gateway/admin_paypal_smart_checkout_button.php:200
|
2863 |
+
msgid "The following details are optional"
|
2864 |
+
msgstr "Die folgenden Angaben sind optional"
|
2865 |
+
|
2866 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:18
|
2867 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:295
|
2868 |
+
msgid "PayPal Subscription Button Configuration"
|
2869 |
+
msgstr "PayPal \"Abonnieren\" Button Konfiguration"
|
2870 |
+
|
2871 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:93
|
2872 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:375
|
2873 |
+
msgid "Billing Amount Each Cycle"
|
2874 |
+
msgstr "Abrechnungsbetrag des Zyklusses"
|
2875 |
+
|
2876 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:101
|
2877 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:383
|
2878 |
+
msgid "Billing Cycle"
|
2879 |
+
msgstr "Abrechnungszyklus"
|
2880 |
+
|
2881 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:114
|
2882 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:396
|
2883 |
+
msgid "Billing Cycle Count"
|
2884 |
+
msgstr "Abrechnungszyklen"
|
2885 |
+
|
2886 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:122
|
2887 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:404
|
2888 |
+
msgid "Re-attempt on Failure"
|
2889 |
+
msgstr "Wiederholungsversuch bei aufgetretenem Fehler"
|
2890 |
+
|
2891 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:135
|
2892 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:419
|
2893 |
+
msgid ""
|
2894 |
+
"Trial Billing Details (Leave empty if you are not offering a trial period)"
|
2895 |
+
msgstr ""
|
2896 |
+
"Abrechnungsdetails für Probezeitraum (Leer lassen, wenn Sie keine Probezeit "
|
2897 |
+
"anbieten)"
|
2898 |
+
|
2899 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:141
|
2900 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:425
|
2901 |
+
msgid "Trial Billing Amount"
|
2902 |
+
msgstr "Rechnungsbetrag für Probezeitraum"
|
2903 |
+
|
2904 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:149
|
2905 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:433
|
2906 |
+
msgid "Trial Billing Period"
|
2907 |
+
msgstr "Abrechnungszeitraum für Probezeitraum"
|
2908 |
+
|
2909 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:166
|
2910 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:450
|
2911 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:177
|
2912 |
+
msgid "Optional Details"
|
2913 |
+
msgstr "Optionale Details"
|
2914 |
+
|
2915 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:29
|
2916 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:250
|
2917 |
+
msgid "Stripe Buy Now Button Configuration"
|
2918 |
+
msgstr "Stripe \"Jetzt kaufen\" Button Konfiguration"
|
2919 |
+
|
2920 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:104
|
2921 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:328
|
2922 |
+
msgid "Stripe API keys. You can get this from your Stripe account."
|
2923 |
+
msgstr ""
|
2924 |
+
"Stripe API-Schlüssel. Sie können diese von Ihrem Stripe-Konto erhalten."
|
2925 |
+
|
2926 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:108
|
2927 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:332
|
2928 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:131
|
2929 |
+
msgid "Test Publishable Key"
|
2930 |
+
msgstr "Testen Sie den Veröffentlichungs-Schlüssel"
|
2931 |
+
|
2932 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:115
|
2933 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:339
|
2934 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:139
|
2935 |
+
msgid "Test Secret Key"
|
2936 |
+
msgstr "Testen Sie den geheimen Schlüssel"
|
2937 |
+
|
2938 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:122
|
2939 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:346
|
2940 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:147
|
2941 |
+
msgid "Live Publishable Key"
|
2942 |
+
msgstr "Veröffentlichungs Schlüssel"
|
2943 |
+
|
2944 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:129
|
2945 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:353
|
2946 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:155
|
2947 |
+
msgid "Live Secret Key"
|
2948 |
+
msgstr "Geheimer Schlüssel"
|
2949 |
+
|
2950 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:141
|
2951 |
+
#: views/payments/payment-gateway/admin_stripe_buy_now_button.php:365
|
2952 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:183
|
2953 |
+
msgid "Collect Customer Address"
|
2954 |
+
msgstr "Adress-Daten des Kunden anfordern"
|
2955 |
+
|
2956 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:75
|
2957 |
+
msgid "Stripe Subscription Button Configuration"
|
2958 |
+
msgstr "Konfiguration des Stripe Anmeldungs-Button"
|
2959 |
+
|
2960 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:109
|
2961 |
+
msgid "Stripe Plan ID"
|
2962 |
+
msgstr "Stripe Plan ID"
|
2963 |
+
|
2964 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:125
|
2965 |
+
msgid "Stripe API Settings"
|
2966 |
+
msgstr "Stripe API Einstellungen"
|
2967 |
+
|
2968 |
+
#: views/payments/payment-gateway/admin_stripe_subscription_button.php:163
|
2969 |
+
msgid "Webook Endpoint URL"
|
2970 |
+
msgstr "Webook Endpoint URL"
|
2971 |
+
|
2972 |
+
#: views/payments/payment-gateway/braintree_button_shortcode_view.php:20
|
2973 |
+
#: views/payments/payment-gateway/paypal_button_shortcode_view.php:91
|
2974 |
+
#: views/payments/payment-gateway/paypal_button_shortcode_view.php:93
|
2975 |
+
#: views/payments/payment-gateway/paypal_smart_checkout_button_shortcode_view.php:15
|
2976 |
+
#: views/payments/payment-gateway/stripe_button_shortcode_view.php:20
|
2977 |
+
#: views/payments/payment-gateway/stripe_button_shortcode_view.php:150
|
2978 |
+
msgid "Buy Now"
|
2979 |
+
msgstr "Jetzt kaufen"
|
2980 |
+
|
2981 |
+
#: views/payments/payment-gateway/paypal_button_shortcode_view.php:226
|
2982 |
+
#: views/payments/payment-gateway/paypal_button_shortcode_view.php:228
|
2983 |
+
msgid "Subscribe Now"
|
2984 |
+
msgstr "Jetzt abonnieren"
|
2985 |
+
|
2986 |
+
#: views/payments/payment-gateway/paypal_smart_checkout_button_shortcode_view.php:137
|
2987 |
+
msgid "Error occured during PayPal Smart Checkout process."
|
2988 |
+
msgstr "Fehler aufgetreten während des PayPal Smart Checkout Prozesses."
|
2989 |
+
|
2990 |
+
#: views/payments/payment-gateway/paypal_smart_checkout_button_shortcode_view.php:165
|
2991 |
+
msgid "HTTP error occured during payment process:"
|
2992 |
+
msgstr "HTTP Fehler aufgetreten während des Zahlungsvorgangs:"
|
2993 |
+
|
2994 |
+
#: Translation strings from addons === Form builder addon
|
2995 |
+
msgid "Type password here"
|
2996 |
+
msgstr "Passowrt hier eingeben"
|
2997 |
+
|
2998 |
+
msgid "Retype password here"
|
2999 |
+
msgstr "Passwort hier nochmal eingeben"
|
3000 |
+
|
3001 |
+
msgid "Registration is complete. You can now log into the site."
|
3002 |
+
msgstr "Registrierung ist vollständig. Sie können sich jetzt einloggen."
|
3003 |
+
|
3004 |
+
msgid " Field has invalid character"
|
3005 |
+
msgstr " Eingabe nicht erlaubter Zeichen"
|
3006 |
+
|
3007 |
+
msgid " Password does not match"
|
3008 |
+
msgstr " Passworte stimmen nicht überein"
|
3009 |
+
|
3010 |
+
msgid "Already taken."
|
3011 |
+
msgstr "Schon verwendet."
|
3012 |
+
|
3013 |
+
msgid "Street Address"
|
3014 |
+
msgstr "Strassen Adresse"
|
3015 |
+
|
3016 |
+
msgid "Apt, Suite, Bldg. (optional)"
|
3017 |
+
msgstr "Gebäude (optional)"
|
3018 |
+
|
3019 |
+
msgid "State / Province / Region"
|
3020 |
+
msgstr "Staat / Land / Region"
|
3021 |
+
|
3022 |
+
msgid "Postal / Zip Code"
|
3023 |
+
msgstr "PLZ"
|
3024 |
+
|
3025 |
+
msgid ""
|
3026 |
+
"Check this box to delete the image. The image will be deleted when you save "
|
3027 |
+
"the profile."
|
3028 |
+
msgstr ""
|
3029 |
+
"Setzen Sie im Kontrolkästchen einen Haken, um das Bidl zu löschen. Das Bild "
|
3030 |
+
"wird gelöscht, wenn Sie das Profil abspeichern."
|
3031 |
+
|
3032 |
+
msgid "You will need to re-login since you changed your password."
|
3033 |
+
msgstr "Sie müssen sich neu anmelden, da Sie Ihr Passwort geändert haben."
|
3034 |
+
|
3035 |
+
msgid ""
|
3036 |
+
"Please enter any two digits with <strong>no</strong> spaces (Example: 12)"
|
3037 |
+
msgstr ""
|
3038 |
+
"Bitte geben Sie zwei Ziffern <strong>ohne</strong>Leerzeichen ein (bspw.: 12)"
|
3039 |
+
|
3040 |
+
msgid "Verification"
|
3041 |
+
msgstr "Verifizierung"
|
3042 |
+
|
3043 |
+
msgid "Please enter any two digits with no spaces (Example: 12)*"
|
3044 |
+
msgstr "Bitte geben Sie zwei Ziffern ohne Leerzeichen ein (bspw.: 12)"
|
3045 |
+
|
3046 |
+
msgid "Username can only contain: letters, numbers and .-*@"
|
3047 |
+
msgstr "Mitgliedsname kann nur enthalten: Buchstaben, Zahlen und .-*@"
|
3048 |
+
|
3049 |
+
#: === Partial protection addon strings
|
3050 |
+
msgid "You do not have permission to view this content."
|
3051 |
+
msgstr "Ihre Mitgliedschaft erlaubt es nicht, diesen Inhalt anzuzeigen."
|
3052 |
+
|
3053 |
+
msgid "Your membership level does not have permission to view this content."
|
3054 |
+
msgstr "Ihre Mitgliedschaft erlaubt es nicht, diesen Inhalt anzuzeigen."
|
3055 |
+
|
3056 |
+
msgid "This content is for members only."
|
3057 |
+
msgstr "Auf diesen Inhalt dürfen nur Mitglieder zugreifen."
|
3058 |
+
|
3059 |
+
#: === Member Directory Listing addon strings swpm-member-directory-admin.php:9
|
3060 |
+
msgid "Member Directory"
|
3061 |
+
msgstr "Mitglieder Verzeichnis"
|
3062 |
+
|
3063 |
+
#: includes/swpm_mda_show_profile.php:26
|
3064 |
+
msgid "Member ID"
|
3065 |
+
msgstr "Mitglieds ID"
|
3066 |
+
|
3067 |
+
#: includes/swpm_mda_show_profile.php:30
|
3068 |
+
msgid "Level"
|
3069 |
+
msgstr "Level"
|
3070 |
+
|
3071 |
+
#: includes/swpm_mda_show_profile.php:32
|
3072 |
+
msgid "Address"
|
3073 |
+
msgstr "Adresse"
|
3074 |
+
|
3075 |
+
#: views/template-1.php:52 views/template-2.php:53
|
3076 |
+
msgid "Search..."
|
3077 |
+
msgstr "Suche..."
|
3078 |
+
|
3079 |
+
#: views/template-1.php:60 views/template-2.php:62
|
3080 |
+
msgid "Clear Search"
|
3081 |
+
msgstr "Suche löschen"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/simple-membership-ja.mo
CHANGED
Binary file
|
languages/simple-membership-ja.po
CHANGED
@@ -1,1328 +1,1400 @@
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"
|
4 |
-
"POT-Creation-Date: 2016-05-20 21:44+0900\n"
|
5 |
-
"PO-Revision-Date: 2016-05-20 23:23+0900\n"
|
6 |
-
"Language-Team: \n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
"Content-Transfer-Encoding: 8bit\n"
|
10 |
-
"X-Generator: Poedit 1.8.7\n"
|
11 |
-
"X-Poedit-KeywordsList: __;_e\n"
|
12 |
-
"X-Poedit-Basepath: .\n"
|
13 |
-
"Last-Translator: \n"
|
14 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
|
15 |
"Language: ja_JP\n"
|
16 |
-
"
|
|
|
|
|
|
|
17 |
|
18 |
-
|
19 |
-
msgid "
|
20 |
-
msgstr "
|
21 |
|
22 |
-
|
23 |
-
msgid "
|
24 |
-
msgstr "
|
25 |
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
29 |
|
30 |
-
|
31 |
-
msgid "
|
32 |
-
msgstr "
|
33 |
|
34 |
-
#:
|
35 |
-
|
36 |
-
|
|
|
37 |
|
38 |
-
#:
|
39 |
-
|
40 |
-
|
|
|
41 |
|
42 |
-
#:
|
43 |
-
#: views/
|
44 |
-
msgid "
|
45 |
-
msgstr "
|
46 |
|
47 |
-
#:
|
48 |
-
#:
|
49 |
-
|
50 |
-
|
51 |
-
msgstr "会員レベル"
|
52 |
|
53 |
-
#:
|
54 |
-
|
55 |
-
|
|
|
56 |
|
57 |
-
#:
|
58 |
-
|
59 |
-
|
|
|
60 |
|
61 |
-
#:
|
62 |
-
|
63 |
-
|
|
|
64 |
|
65 |
-
#:
|
66 |
-
#:
|
67 |
-
|
68 |
-
|
69 |
-
msgstr "このコンテンツを閲覧するにはログインが必要です。"
|
70 |
|
71 |
-
#:
|
72 |
-
#:
|
73 |
-
msgid ""
|
74 |
-
|
75 |
-
"content."
|
76 |
-
msgstr "アカウントが期限切れです。アカウントの更新が必要です。"
|
77 |
|
78 |
-
#:
|
79 |
-
|
80 |
-
|
|
|
81 |
|
82 |
-
#:
|
83 |
-
#:
|
84 |
-
msgid "
|
85 |
-
msgstr "
|
86 |
|
87 |
-
#:
|
88 |
-
|
89 |
-
|
|
|
90 |
|
91 |
-
#:
|
92 |
-
#:
|
93 |
-
|
94 |
-
|
|
|
|
|
95 |
|
96 |
-
#:
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
99 |
|
100 |
-
#:
|
101 |
-
#:
|
102 |
-
#:
|
103 |
-
#:
|
104 |
-
|
105 |
-
|
106 |
-
msgstr "以下の内容を修正してください。"
|
107 |
|
108 |
-
#:
|
109 |
-
|
110 |
-
|
|
|
|
|
|
|
111 |
|
112 |
-
#:
|
113 |
-
|
114 |
-
|
|
|
|
|
|
|
115 |
|
116 |
-
#:
|
117 |
-
|
118 |
-
|
|
|
119 |
|
120 |
-
#:
|
121 |
-
|
122 |
-
|
|
|
|
|
|
|
123 |
|
124 |
-
#:
|
125 |
-
|
126 |
-
|
|
|
127 |
|
128 |
-
#:
|
129 |
-
msgid "
|
130 |
-
msgstr "
|
131 |
|
132 |
-
#:
|
133 |
-
msgid "
|
134 |
-
msgstr "
|
135 |
|
136 |
-
#:
|
137 |
-
msgid "
|
138 |
-
msgstr "
|
139 |
|
140 |
-
#:
|
141 |
-
msgid "
|
142 |
-
msgstr "
|
143 |
|
144 |
-
#:
|
145 |
-
msgid "
|
146 |
-
msgstr "
|
147 |
|
148 |
-
#:
|
149 |
-
msgid "
|
150 |
-
msgstr "
|
151 |
|
152 |
-
#:
|
153 |
-
msgid "
|
154 |
-
msgstr "
|
155 |
|
156 |
-
#:
|
157 |
-
msgid "
|
158 |
-
msgstr "
|
159 |
|
160 |
-
#:
|
161 |
-
msgid "
|
162 |
-
msgstr "
|
163 |
|
164 |
-
#:
|
165 |
-
msgid "
|
166 |
-
msgstr "
|
167 |
|
168 |
-
#:
|
169 |
-
|
170 |
-
|
171 |
-
#: classes/admin-includes/class.swpm-payments-list-table.php:80
|
172 |
-
#: views/add.php:30 views/admin_member_form_common_part.php:2 views/edit.php:53
|
173 |
-
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:36
|
174 |
-
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:217
|
175 |
-
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:37
|
176 |
-
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:310
|
177 |
-
msgid "Membership Level"
|
178 |
-
msgstr "会員レベル"
|
179 |
|
180 |
-
#:
|
181 |
-
|
182 |
-
|
183 |
-
msgstr "ID"
|
184 |
|
185 |
-
#:
|
186 |
-
msgid "
|
187 |
-
msgstr "
|
188 |
|
189 |
-
#:
|
190 |
-
msgid "
|
191 |
-
msgstr "
|
192 |
|
193 |
-
#:
|
194 |
-
msgid "
|
195 |
-
msgstr "
|
196 |
|
197 |
-
#:
|
198 |
-
msgid "
|
199 |
-
msgstr "
|
200 |
|
201 |
-
#:
|
202 |
-
msgid ""
|
203 |
-
|
204 |
-
msgstr ""
|
205 |
-
"入力したユーザー名でWordPressアカウント登録済みですが、メールアドレスと一致し"
|
206 |
-
"ません。"
|
207 |
|
208 |
-
#:
|
209 |
-
msgid ""
|
210 |
-
|
211 |
-
msgstr ""
|
212 |
-
"入力したメールアドレスでWordPressアカウント登録済みですが、ユーザー名と一致し"
|
213 |
-
"ません。"
|
214 |
|
215 |
-
#:
|
216 |
-
msgid "
|
217 |
-
msgstr "
|
218 |
|
219 |
-
#:
|
220 |
-
msgid "
|
221 |
-
msgstr "
|
222 |
|
223 |
-
#:
|
224 |
-
msgid "
|
225 |
-
msgstr "
|
226 |
|
227 |
-
#:
|
228 |
-
|
229 |
-
|
|
|
230 |
|
231 |
-
#:
|
232 |
-
|
233 |
-
|
|
|
234 |
|
235 |
-
#:
|
236 |
-
|
237 |
-
|
|
|
238 |
|
239 |
-
#:
|
240 |
-
msgid "
|
241 |
-
msgstr "
|
242 |
|
243 |
-
#:
|
244 |
-
|
245 |
-
|
|
|
246 |
|
247 |
-
#:
|
248 |
-
|
249 |
-
|
|
|
250 |
|
251 |
-
#:
|
252 |
-
|
253 |
-
|
|
|
254 |
|
255 |
-
#:
|
256 |
-
|
257 |
-
|
|
|
258 |
|
259 |
-
#:
|
260 |
-
msgid "
|
261 |
-
msgstr "
|
262 |
|
263 |
-
#:
|
264 |
-
msgid "
|
265 |
-
msgstr "
|
266 |
|
267 |
-
#:
|
268 |
-
msgid "
|
269 |
-
msgstr "
|
270 |
|
271 |
-
#:
|
272 |
-
msgid "
|
273 |
-
msgstr "
|
274 |
|
275 |
-
#:
|
276 |
-
|
277 |
-
|
278 |
-
msgstr "→"
|
279 |
|
280 |
-
#:
|
281 |
-
|
282 |
-
|
283 |
-
msgstr "ログイン"
|
284 |
|
285 |
-
#:
|
286 |
-
|
287 |
-
|
288 |
-
msgstr "以下の項目をご確認ください。"
|
289 |
|
290 |
-
#:
|
291 |
-
msgid "
|
292 |
-
msgstr "
|
293 |
|
294 |
-
#:
|
295 |
-
msgid "
|
296 |
-
msgstr "
|
297 |
|
298 |
-
#:
|
299 |
-
msgid ""
|
300 |
-
|
301 |
-
"your password."
|
302 |
-
msgstr "プロフィールが更新されました。再度ログインが必要です。"
|
303 |
|
304 |
-
#:
|
305 |
-
msgid "
|
306 |
-
msgstr "
|
307 |
|
308 |
-
#:
|
309 |
-
msgid "
|
310 |
-
msgstr "
|
311 |
|
312 |
-
#:
|
313 |
-
|
314 |
-
|
315 |
-
msgstr "メールアドレス;"
|
316 |
|
317 |
-
#:
|
318 |
-
msgid "
|
319 |
-
msgstr "
|
320 |
|
321 |
-
#:
|
322 |
-
msgid "
|
323 |
-
msgstr "
|
324 |
|
325 |
-
#:
|
326 |
-
msgid "
|
327 |
-
msgstr "
|
328 |
|
329 |
-
#:
|
330 |
-
msgid "
|
331 |
-
msgstr "
|
332 |
|
333 |
-
#:
|
334 |
-
msgid "
|
335 |
-
msgstr "
|
336 |
|
337 |
-
#:
|
338 |
-
|
339 |
-
|
340 |
-
#: classes/class.swpm-member-utils.php:48
|
341 |
-
msgid "User is not logged in."
|
342 |
-
msgstr "ログインしていません。"
|
343 |
|
344 |
-
#:
|
345 |
-
msgid "
|
346 |
-
msgstr "
|
347 |
|
348 |
-
#:
|
349 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
msgid "Username"
|
351 |
msgstr "ユーザー名"
|
352 |
|
353 |
-
#:
|
354 |
-
|
355 |
-
|
356 |
-
#: views/edit.php:21
|
357 |
-
msgid "First Name"
|
358 |
-
msgstr "お名前(名)"
|
359 |
|
360 |
-
#:
|
361 |
-
|
362 |
-
|
363 |
-
#: views/edit.php:25
|
364 |
-
msgid "Last Name"
|
365 |
-
msgstr "お名前(姓)"
|
366 |
|
367 |
-
#:
|
368 |
-
msgid "
|
369 |
-
msgstr "
|
370 |
|
371 |
-
#:
|
372 |
-
msgid "
|
373 |
-
msgstr "
|
374 |
|
375 |
-
#:
|
376 |
-
msgid "
|
377 |
-
msgstr "
|
378 |
|
379 |
-
#:
|
380 |
-
|
381 |
-
|
382 |
-
#: classes/admin-includes/class.swpm-payments-list-table.php:95
|
383 |
-
msgid "Delete"
|
384 |
-
msgstr "削除"
|
385 |
|
386 |
-
#:
|
387 |
-
msgid "
|
388 |
-
msgstr "
|
389 |
|
390 |
-
#:
|
391 |
-
|
392 |
-
|
|
|
|
|
393 |
|
394 |
-
#:
|
395 |
-
msgid "
|
396 |
-
msgstr "
|
397 |
|
398 |
-
#:
|
399 |
-
msgid "
|
400 |
-
msgstr "
|
401 |
|
402 |
-
#:
|
403 |
-
msgid "
|
404 |
-
msgstr "
|
405 |
|
406 |
-
#:
|
407 |
-
msgid "
|
408 |
-
msgstr "
|
409 |
|
410 |
-
#:
|
411 |
-
msgid "
|
412 |
-
msgstr "
|
413 |
|
414 |
-
#:
|
415 |
-
msgid "
|
416 |
-
msgstr "
|
417 |
|
418 |
-
#:
|
419 |
-
msgid "Access
|
420 |
-
msgstr "
|
421 |
|
422 |
-
#:
|
423 |
-
msgid "
|
424 |
-
msgstr "
|
425 |
|
426 |
-
#:
|
427 |
-
|
428 |
-
|
|
|
|
|
|
|
429 |
|
430 |
-
#:
|
431 |
-
msgid "
|
432 |
-
msgstr "
|
433 |
|
434 |
-
#:
|
435 |
-
msgid "
|
436 |
-
msgstr "
|
437 |
|
438 |
-
#:
|
439 |
-
msgid "
|
440 |
-
msgstr "
|
441 |
|
442 |
-
#:
|
443 |
-
msgid "
|
444 |
-
msgstr "
|
445 |
|
446 |
-
#:
|
447 |
-
msgid "
|
448 |
-
msgstr "
|
449 |
|
450 |
-
#:
|
451 |
-
msgid "
|
452 |
-
msgstr "
|
453 |
|
454 |
-
#:
|
455 |
-
msgid "
|
456 |
-
msgstr "
|
457 |
|
458 |
-
#:
|
459 |
-
msgid "
|
460 |
-
msgstr "
|
461 |
|
462 |
-
#:
|
463 |
-
msgid "
|
464 |
-
msgstr "
|
465 |
|
466 |
-
|
467 |
-
|
468 |
-
|
|
|
469 |
|
470 |
-
#:
|
471 |
-
msgid ""
|
472 |
-
|
473 |
-
"option, make sure to specify a free membership level ID in the field below."
|
474 |
-
msgstr ""
|
475 |
-
"無料会員レベルの有効化/無効化。この機能を利用するときは、無料会員レベルのID"
|
476 |
-
"を入力してください。"
|
477 |
|
478 |
-
#:
|
479 |
-
|
480 |
-
|
|
|
|
|
|
|
481 |
|
482 |
-
#:
|
483 |
-
msgid "
|
484 |
-
msgstr "
|
485 |
|
486 |
-
#:
|
487 |
-
msgid "
|
488 |
-
msgstr "
|
489 |
|
490 |
-
#:
|
491 |
-
msgid ""
|
492 |
-
|
493 |
-
"after the More tag is protected. Anything before the more tag is teaser "
|
494 |
-
"content."
|
495 |
-
msgstr ""
|
496 |
-
"投稿やページの「Moreタグ」による限定公開を有効化・無効化する。Moreタグ以降の"
|
497 |
-
"コンテンツが限定公開されます。"
|
498 |
|
499 |
-
#:
|
500 |
-
msgid "
|
501 |
-
msgstr "
|
502 |
|
503 |
-
#:
|
504 |
-
msgid ""
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
510 |
|
511 |
-
#: classes/class.swpm-
|
512 |
-
msgid "
|
513 |
-
msgstr "
|
514 |
|
515 |
-
#: classes/class.swpm-
|
516 |
-
msgid ""
|
517 |
-
|
518 |
-
"manually approve the members then you can set the status to \"Pending\"."
|
519 |
-
msgstr ""
|
520 |
-
"会員登録したユーザーのデフォルトステータスを選択。新規登録の許可を管理者が手"
|
521 |
-
"動で行う場合は「保留中」を選びます。"
|
522 |
|
523 |
-
#: classes/class.swpm-
|
524 |
-
msgid "
|
525 |
-
msgstr "
|
526 |
|
527 |
-
#: classes/class
|
528 |
-
|
529 |
-
|
|
|
530 |
|
531 |
-
#: classes/class
|
532 |
-
|
533 |
-
|
|
|
534 |
|
535 |
-
#: classes/class
|
536 |
-
|
537 |
-
|
|
|
538 |
|
539 |
-
#: classes/class
|
540 |
-
|
541 |
-
|
|
|
|
|
542 |
|
543 |
-
#: classes/class
|
544 |
-
|
545 |
-
|
|
|
546 |
|
547 |
-
#: classes/class
|
548 |
-
|
549 |
-
|
|
|
550 |
|
551 |
-
#: classes/class
|
552 |
-
|
553 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
554 |
|
555 |
-
|
556 |
-
|
557 |
-
|
|
|
|
|
558 |
|
559 |
-
#: classes/class
|
560 |
-
|
561 |
-
|
|
|
562 |
|
563 |
-
#: classes/class
|
564 |
-
|
565 |
-
|
|
|
566 |
|
567 |
-
#: classes/class
|
568 |
-
|
569 |
-
|
|
|
570 |
|
571 |
-
#: classes/class
|
572 |
-
|
573 |
-
|
|
|
574 |
|
575 |
-
#: classes/class
|
576 |
-
|
577 |
-
|
|
|
578 |
|
579 |
-
#: classes/class
|
580 |
-
#: classes/class.swpm-
|
581 |
-
msgid "
|
582 |
-
msgstr "
|
583 |
|
584 |
-
#: classes/class
|
585 |
-
|
586 |
-
|
|
|
587 |
|
588 |
-
#: classes/class
|
589 |
-
|
590 |
-
|
|
|
591 |
|
592 |
-
#: classes/class.swpm-settings.php:
|
593 |
-
msgid "Email Settings (
|
594 |
-
msgstr "
|
595 |
|
596 |
-
#: classes/class.swpm-settings.php:
|
597 |
-
|
598 |
-
|
599 |
-
msgstr "メールの題名"
|
600 |
|
601 |
-
#: classes/class.swpm-settings.php:
|
602 |
-
|
603 |
-
|
604 |
-
msgstr "メールの内容"
|
605 |
|
606 |
-
#: classes/class.swpm-settings.php:
|
607 |
-
msgid "
|
608 |
-
msgstr "
|
609 |
|
610 |
#: classes/class.swpm-settings.php:117
|
611 |
msgid "Send Notification to Admin"
|
612 |
-
msgstr "
|
613 |
|
614 |
-
#: classes/class.swpm-settings.php:
|
615 |
-
msgid ""
|
616 |
-
|
617 |
-
"member registers."
|
618 |
-
msgstr "会員登録した場合、管理者が通知を受ける場合は有効にする。"
|
619 |
|
620 |
-
#: classes/class.swpm-settings.php:
|
621 |
-
msgid "
|
622 |
-
msgstr "
|
623 |
|
624 |
-
#: classes/class.swpm-settings.php:
|
625 |
-
msgid ""
|
626 |
-
|
627 |
-
"sent to."
|
628 |
-
msgstr "送信したい管理者のメールアドレスを入力してください。"
|
629 |
|
630 |
-
#: classes/class.swpm-settings.php:
|
631 |
-
msgid "
|
632 |
-
msgstr ""
|
633 |
-
"Adminダッシュボードから会員登録した場合、登録された会員宛てにメールする。"
|
634 |
|
635 |
-
#: classes/class.swpm-
|
636 |
-
msgid "
|
637 |
-
msgstr "
|
638 |
|
639 |
-
#: classes/class.swpm-
|
640 |
-
msgid "
|
641 |
-
msgstr "
|
642 |
|
643 |
-
#: classes/class.swpm-
|
644 |
-
msgid "
|
645 |
-
msgstr "
|
646 |
|
647 |
-
#: classes/class.swpm-
|
648 |
-
msgid ""
|
649 |
-
|
650 |
-
"be able to view any protected content. This allows them to easily renew "
|
651 |
-
"their account by making another payment."
|
652 |
-
msgstr ""
|
653 |
-
"この機能を有効にした場合、ログインはできるが会員限定コンテンツは閲覧できませ"
|
654 |
-
"ん。"
|
655 |
|
656 |
-
#: classes/class.swpm-
|
657 |
-
msgid "
|
658 |
-
msgstr "
|
659 |
|
660 |
-
#: classes/class.swpm-
|
661 |
-
msgid "
|
662 |
-
msgstr "
|
663 |
|
664 |
-
#: classes/class.swpm-
|
665 |
-
msgid "
|
666 |
-
msgstr "
|
667 |
|
668 |
-
#: classes/class.swpm-
|
669 |
-
msgid "
|
670 |
-
msgstr "
|
671 |
|
672 |
-
#: classes/class.swpm-
|
673 |
-
msgid "
|
674 |
-
msgstr "
|
675 |
|
676 |
-
#: classes/class.swpm-
|
677 |
-
msgid "
|
678 |
-
msgstr "
|
679 |
|
680 |
-
#: classes/class.
|
681 |
-
msgid "
|
682 |
-
msgstr "
|
683 |
|
684 |
-
#: classes/class.
|
685 |
-
msgid "
|
686 |
-
msgstr "
|
687 |
|
688 |
-
#: classes/
|
689 |
-
msgid "
|
690 |
-
msgstr "
|
691 |
|
692 |
-
#: classes/
|
693 |
-
msgid "
|
694 |
-
msgstr "
|
695 |
|
696 |
-
#: classes/
|
697 |
-
msgid "
|
698 |
-
msgstr "
|
699 |
|
700 |
-
#: classes/
|
701 |
-
msgid "
|
702 |
-
msgstr "
|
703 |
|
704 |
-
#: classes/
|
705 |
-
|
706 |
-
|
707 |
-
msgid "The selected entry was deleted!"
|
708 |
-
msgstr "選択された項目は削除されました。"
|
709 |
|
710 |
-
#: classes/
|
711 |
-
msgid "
|
712 |
-
msgstr "
|
713 |
|
714 |
-
#: classes/
|
715 |
-
msgid "
|
716 |
-
msgstr "
|
717 |
|
718 |
-
#: classes/
|
719 |
-
|
720 |
-
|
721 |
-
msgstr "メールアドレス"
|
722 |
|
723 |
-
#: classes/
|
724 |
-
msgid "
|
725 |
-
msgstr "
|
726 |
|
727 |
-
#: classes/
|
728 |
-
msgid "
|
729 |
-
msgstr "
|
730 |
|
731 |
-
#: classes/
|
732 |
-
msgid "
|
733 |
-
msgstr "
|
734 |
|
735 |
-
#: classes/
|
736 |
-
msgid "
|
737 |
-
msgstr "
|
738 |
|
739 |
-
#: classes/
|
740 |
-
msgid "
|
741 |
-
msgstr "
|
742 |
|
743 |
-
#: classes/
|
744 |
-
msgid "
|
745 |
-
msgstr "
|
746 |
|
747 |
-
#: classes/
|
748 |
-
msgid "
|
749 |
-
msgstr "
|
750 |
|
751 |
-
#: classes/
|
752 |
-
msgid "
|
753 |
-
msgstr "
|
754 |
|
755 |
-
#: classes/
|
756 |
-
msgid "
|
757 |
-
msgstr "
|
758 |
|
759 |
-
#: classes/
|
760 |
-
|
761 |
-
|
|
|
762 |
|
763 |
-
#: classes/
|
764 |
-
msgid "
|
765 |
-
msgstr "
|
766 |
|
767 |
-
#: classes/
|
768 |
-
|
769 |
-
|
|
|
770 |
|
771 |
-
#: classes/
|
772 |
-
|
773 |
-
|
774 |
-
msgstr "%1$s %2$d"
|
775 |
|
776 |
-
#: classes/
|
777 |
-
|
778 |
-
|
779 |
-
msgstr "%s 保留中"
|
780 |
|
781 |
-
#: classes/
|
782 |
-
|
783 |
-
|
|
|
784 |
|
785 |
-
#: classes/
|
786 |
-
msgid "
|
787 |
-
msgstr "
|
788 |
|
789 |
-
#: classes/
|
790 |
-
msgid "
|
791 |
-
msgstr "
|
|
|
|
|
|
|
|
|
792 |
|
793 |
-
#: classes/
|
794 |
-
msgid "
|
795 |
-
msgstr "
|
796 |
|
797 |
-
#: classes/
|
798 |
-
|
799 |
-
|
|
|
|
|
|
|
800 |
|
801 |
-
#: classes/
|
802 |
-
|
803 |
-
|
|
|
|
|
|
|
804 |
|
805 |
-
#: classes/
|
806 |
-
msgid ""
|
807 |
-
|
808 |
-
"processed. Please check back in a few minutes. An email will be sent to you "
|
809 |
-
"with the details shortly."
|
810 |
-
msgstr ""
|
811 |
-
"会員登録のためのお支払い手続きの処理中です。数分後にもう一度ご確認ください。"
|
812 |
-
"後ほど詳細についてメールが送付されます。"
|
813 |
|
814 |
-
#: classes/
|
815 |
-
msgid "
|
816 |
-
msgstr "
|
817 |
|
818 |
-
#: classes/
|
819 |
-
msgid "
|
820 |
-
msgstr "
|
821 |
|
822 |
-
#:
|
823 |
-
|
824 |
-
|
825 |
-
msgstr "パスワード"
|
826 |
|
827 |
-
#:
|
828 |
-
msgid "
|
829 |
-
msgstr "
|
830 |
|
831 |
-
#:
|
832 |
-
msgid "
|
833 |
-
msgstr "
|
834 |
|
835 |
-
#:
|
836 |
-
msgid "
|
837 |
-
msgstr "
|
838 |
|
839 |
-
#:
|
840 |
-
msgid "
|
841 |
-
msgstr "
|
842 |
|
843 |
-
#:
|
844 |
-
|
845 |
-
|
846 |
-
#: views/admin_edit_level.php:14 views/admin_edit_level.php:18
|
847 |
-
msgid "(required)"
|
848 |
-
msgstr "(必須)"
|
849 |
|
850 |
-
#:
|
851 |
-
msgid "
|
852 |
-
msgstr "
|
853 |
|
854 |
-
#:
|
855 |
-
msgid "
|
856 |
-
msgstr "
|
857 |
|
858 |
-
#:
|
859 |
-
msgid "
|
860 |
-
msgstr "
|
861 |
|
862 |
-
#:
|
863 |
-
msgid ""
|
864 |
-
|
865 |
-
"stronger, use upper and lower case letters, numbers and symbols like ! \" ? "
|
866 |
-
"$ % ^ & )."
|
867 |
-
msgstr ""
|
868 |
-
"ヒント: パスワードは7文字以上。より強いパスワードにするために、大文字・小文字"
|
869 |
-
"を使い、数字や ! \\\" ? $ % ^ & ) 等の記号の使用を推奨します。"
|
870 |
|
871 |
-
#:
|
872 |
-
msgid "
|
873 |
-
msgstr "
|
874 |
|
875 |
-
#:
|
876 |
-
msgid "
|
877 |
-
msgstr "
|
878 |
|
879 |
-
#:
|
880 |
-
|
881 |
-
|
882 |
-
msgstr "Simple WP Membership::設定"
|
883 |
|
884 |
-
#:
|
885 |
-
msgid ""
|
886 |
-
|
887 |
-
"displayed here (if you have them)"
|
888 |
-
msgstr "アドオンの設定やオプションがここに表示されます。"
|
889 |
|
890 |
-
#:
|
891 |
-
msgid "
|
892 |
-
msgstr "
|
893 |
|
894 |
-
#:
|
895 |
-
msgid "
|
896 |
-
msgstr "
|
897 |
|
898 |
-
#:
|
899 |
-
msgid "
|
900 |
-
msgstr "
|
901 |
|
902 |
-
#:
|
903 |
-
msgid "
|
904 |
-
msgstr "
|
905 |
|
906 |
-
#:
|
907 |
-
msgid "
|
908 |
-
msgstr "
|
909 |
|
910 |
-
#:
|
911 |
-
msgid "
|
912 |
-
msgstr "
|
913 |
|
914 |
-
#:
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
msgstr "有効期限"
|
920 |
|
921 |
-
#:
|
922 |
-
msgid "
|
923 |
-
msgstr "
|
924 |
|
925 |
-
#:
|
926 |
-
|
927 |
-
|
|
|
928 |
|
929 |
-
#:
|
930 |
-
msgid "
|
931 |
-
msgstr "
|
932 |
|
933 |
-
#:
|
934 |
-
|
935 |
-
|
|
|
936 |
|
937 |
-
#:
|
938 |
-
|
939 |
-
|
|
|
940 |
|
941 |
-
#:
|
942 |
-
|
943 |
-
|
|
|
944 |
|
945 |
-
#:
|
946 |
-
|
947 |
-
|
|
|
948 |
|
949 |
-
#:
|
950 |
-
msgid "
|
951 |
-
msgstr "
|
952 |
|
953 |
-
#:
|
954 |
-
msgid "
|
955 |
-
msgstr "
|
956 |
|
957 |
-
#:
|
958 |
-
|
959 |
-
"
|
960 |
-
|
961 |
-
"categories that should be protected from non-logged in users."
|
962 |
-
msgstr ""
|
963 |
-
"まず、ドロップダウンメニューからGeneral Protectionを選び、ログインしていない"
|
964 |
-
"ユーザーに非公開にするカテゴリーを選択します。"
|
965 |
|
966 |
-
#:
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
"membership level)."
|
971 |
-
msgstr ""
|
972 |
-
"次にドロップダウンメニューから既存の会員レベルを選択し、その会員レベルのユー"
|
973 |
-
"ザーにのみ公開するカテゴリーを選びます。"
|
974 |
|
975 |
-
#:
|
976 |
-
|
977 |
-
|
|
|
978 |
|
979 |
-
#:
|
980 |
-
|
981 |
-
|
|
|
982 |
|
983 |
-
#:
|
984 |
-
msgid "
|
985 |
-
msgstr "
|
986 |
|
987 |
-
#:
|
988 |
-
|
989 |
-
|
|
|
|
|
|
|
|
|
990 |
|
991 |
-
#:
|
992 |
-
msgid "
|
993 |
-
msgstr "
|
994 |
|
995 |
-
#:
|
996 |
-
msgid "
|
997 |
-
msgstr "
|
998 |
|
999 |
-
#:
|
1000 |
-
|
1001 |
-
|
|
|
1002 |
|
1003 |
-
#:
|
1004 |
-
|
1005 |
-
|
|
|
|
|
|
|
1006 |
|
1007 |
-
#:
|
1008 |
-
msgid "
|
1009 |
-
msgstr "
|
1010 |
|
1011 |
-
#:
|
1012 |
-
|
1013 |
-
|
|
|
1014 |
|
1015 |
-
#:
|
1016 |
-
|
1017 |
-
|
|
|
1018 |
|
1019 |
-
#:
|
1020 |
-
|
1021 |
-
|
|
|
|
|
|
|
1022 |
|
1023 |
-
#:
|
1024 |
-
|
1025 |
-
|
|
|
|
|
1026 |
|
1027 |
-
#:
|
1028 |
-
|
1029 |
-
|
|
|
|
|
1030 |
|
1031 |
-
#:
|
1032 |
-
|
1033 |
-
|
|
|
1034 |
|
1035 |
-
#:
|
1036 |
-
msgid "
|
1037 |
-
msgstr "
|
1038 |
|
1039 |
-
#:
|
1040 |
-
msgid "
|
1041 |
-
msgstr "
|
1042 |
|
1043 |
-
#:
|
1044 |
-
msgid "
|
1045 |
-
msgstr "
|
1046 |
|
1047 |
-
#:
|
1048 |
-
msgid "
|
1049 |
-
msgstr "
|
1050 |
|
1051 |
-
#:
|
1052 |
-
msgid "
|
1053 |
-
msgstr "
|
1054 |
|
1055 |
-
#:
|
1056 |
-
msgid "
|
1057 |
-
msgstr "
|
|
|
|
|
|
|
|
|
1058 |
|
1059 |
-
#:
|
1060 |
-
msgid "
|
1061 |
-
msgstr "
|
1062 |
|
1063 |
-
#:
|
1064 |
-
msgid "
|
1065 |
-
msgstr "
|
1066 |
|
1067 |
-
#:
|
1068 |
-
msgid "
|
1069 |
-
msgstr "
|
1070 |
|
1071 |
-
#:
|
1072 |
-
msgid "
|
1073 |
-
msgstr "
|
1074 |
|
1075 |
-
#:
|
1076 |
-
msgid "
|
1077 |
-
msgstr "
|
1078 |
|
1079 |
-
#:
|
1080 |
-
msgid "
|
1081 |
-
msgstr "
|
1082 |
|
1083 |
-
#:
|
1084 |
-
msgid "
|
1085 |
-
msgstr "
|
1086 |
|
1087 |
-
#:
|
1088 |
-
msgid "
|
1089 |
-
msgstr "
|
1090 |
|
1091 |
-
#:
|
1092 |
-
msgid "
|
1093 |
-
msgstr "
|
1094 |
|
1095 |
-
#:
|
1096 |
-
msgid ""
|
1097 |
-
|
1098 |
-
"your customer if they have missed the email that was automatically sent out "
|
1099 |
-
"to them after the payment."
|
1100 |
-
msgstr ""
|
1101 |
-
"決済後に自動で送られるメールがなんらかの理由で届かなかった場合、登録完了のリ"
|
1102 |
-
"ンクを手動で生成し、ユーザーに送信できます。"
|
1103 |
|
1104 |
-
#:
|
1105 |
-
msgid "
|
1106 |
-
msgstr "
|
1107 |
|
1108 |
-
#:
|
1109 |
-
msgid "
|
1110 |
-
msgstr "
|
1111 |
|
1112 |
-
#:
|
1113 |
-
|
1114 |
-
|
|
|
|
|
|
|
1115 |
|
1116 |
-
#:
|
1117 |
-
|
1118 |
-
|
|
|
|
|
|
|
1119 |
|
1120 |
-
#:
|
1121 |
-
msgid "
|
1122 |
-
msgstr "
|
1123 |
|
1124 |
-
#:
|
1125 |
-
msgid "
|
1126 |
-
msgstr "
|
1127 |
|
1128 |
-
#:
|
1129 |
-
msgid "
|
1130 |
-
msgstr "
|
1131 |
|
1132 |
-
#:
|
1133 |
-
msgid "
|
1134 |
-
msgstr "
|
1135 |
|
1136 |
-
#:
|
1137 |
-
msgid "
|
1138 |
msgstr "ログイン名:"
|
1139 |
|
1140 |
-
#:
|
1141 |
-
|
1142 |
-
|
|
|
1143 |
|
1144 |
-
#:
|
1145 |
-
msgid "Account
|
1146 |
-
msgstr "
|
1147 |
|
1148 |
-
#:
|
1149 |
-
msgid "
|
1150 |
-
msgstr "
|
1151 |
|
1152 |
-
#:
|
1153 |
-
msgid "
|
1154 |
-
msgstr "
|
1155 |
|
1156 |
-
#:
|
1157 |
-
msgid "
|
1158 |
-
msgstr "
|
1159 |
|
1160 |
-
#:
|
1161 |
-
msgid "
|
1162 |
-
msgstr "
|
1163 |
|
1164 |
-
#:
|
1165 |
-
|
1166 |
-
|
|
|
1167 |
|
1168 |
-
#:
|
1169 |
-
msgid "
|
1170 |
-
msgstr "
|
1171 |
|
1172 |
-
#:
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
|
|
|
|
|
|
|
|
|
|
1176 |
|
1177 |
-
#:
|
1178 |
-
msgid "
|
1179 |
-
msgstr "
|
1180 |
|
1181 |
-
#:
|
1182 |
-
|
1183 |
-
|
|
|
|
|
1184 |
|
1185 |
-
#:
|
1186 |
-
msgid "
|
1187 |
-
msgstr "
|
1188 |
|
1189 |
-
#:
|
1190 |
-
|
1191 |
-
|
|
|
|
|
1192 |
|
1193 |
-
#:
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
|
|
1197 |
|
1198 |
-
#:
|
1199 |
-
|
1200 |
-
|
|
|
|
|
|
|
1201 |
|
1202 |
-
#:
|
1203 |
-
|
1204 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1205 |
|
1206 |
-
#:
|
1207 |
-
msgid "
|
1208 |
-
msgstr "
|
1209 |
|
1210 |
-
#:
|
1211 |
-
msgid "
|
1212 |
-
msgstr "
|
1213 |
|
1214 |
-
#:
|
1215 |
-
|
1216 |
-
|
1217 |
-
msgstr ""
|
1218 |
-
"ペイパルいますぐ購入ボタン\n"
|
1219 |
-
"の設定"
|
1220 |
|
1221 |
-
#:
|
1222 |
-
#:
|
1223 |
-
#: views/
|
1224 |
-
#: views/
|
1225 |
-
msgid "
|
1226 |
-
msgstr "
|
1227 |
|
1228 |
-
#:
|
1229 |
-
#:
|
1230 |
-
|
1231 |
-
|
|
|
|
|
1232 |
|
1233 |
-
#:
|
1234 |
-
#: views/
|
1235 |
-
|
1236 |
-
|
1237 |
-
msgid "Payment Currency"
|
1238 |
-
msgstr "お支払い通貨"
|
1239 |
|
1240 |
-
#:
|
1241 |
-
|
1242 |
-
|
1243 |
-
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:446
|
1244 |
-
msgid "Return URL"
|
1245 |
-
msgstr "リダイレクトURL"
|
1246 |
|
1247 |
-
#:
|
1248 |
-
#: views/
|
1249 |
-
#: views/payments/
|
1250 |
-
|
1251 |
-
|
1252 |
-
msgstr "ペイパル メールアドレス"
|
1253 |
|
1254 |
-
#:
|
1255 |
-
#:
|
1256 |
-
#:
|
1257 |
-
#:
|
1258 |
-
|
1259 |
-
|
|
|
1260 |
|
1261 |
-
#:
|
1262 |
-
|
1263 |
-
|
1264 |
-
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:466
|
1265 |
-
msgid "Save Payment Data"
|
1266 |
-
msgstr "支払日の保存"
|
1267 |
|
1268 |
-
#:
|
1269 |
-
|
1270 |
-
|
1271 |
-
msgstr "ボタンID"
|
1272 |
|
1273 |
-
#:
|
1274 |
-
|
1275 |
-
|
1276 |
-
msgstr "ペイパル定期購読ボタンの設定"
|
1277 |
|
1278 |
-
#:
|
1279 |
-
|
1280 |
-
|
1281 |
-
msgstr "各支払いサイクルの請求金額"
|
1282 |
|
1283 |
-
#:
|
1284 |
-
|
1285 |
-
|
1286 |
-
msgstr "支払いサイクル"
|
1287 |
|
1288 |
-
#: views/
|
1289 |
-
|
1290 |
-
|
1291 |
-
msgstr "支払いサイクル数"
|
1292 |
|
1293 |
-
#: views/
|
1294 |
-
|
1295 |
-
|
1296 |
-
msgstr "再試行は失敗しました"
|
1297 |
|
1298 |
-
#:
|
1299 |
-
|
1300 |
-
|
1301 |
-
"Trial Billing Details (Leave empty if you are not offering a trial period)"
|
1302 |
-
msgstr ""
|
1303 |
-
"トライアル請求詳細(もしトライアル期間を設定していなければ空欄にすること)"
|
1304 |
|
1305 |
-
#:
|
1306 |
-
|
1307 |
-
|
1308 |
-
msgstr "トライアル請求金額"
|
1309 |
|
1310 |
-
#:
|
1311 |
-
|
1312 |
-
|
1313 |
-
msgstr "トライアル請求期間"
|
1314 |
|
1315 |
-
#:
|
1316 |
-
|
1317 |
-
|
1318 |
-
msgstr "オプション詳細"
|
1319 |
|
1320 |
-
#:
|
1321 |
-
|
1322 |
-
|
1323 |
-
msgstr "今すぐ購入"
|
1324 |
|
1325 |
-
#:
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of Plugins - Simple Membership - Development (trunk) in Japanese
|
2 |
+
# This file is distributed under the same license as the Plugins - Simple Membership - Development (trunk) package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"PO-Revision-Date: 2019-06-13 17:28+0900\n"
|
|
|
|
|
|
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
|
|
|
|
9 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
+
"X-Generator: Poedit 2.2.3\n"
|
11 |
"Language: ja_JP\n"
|
12 |
+
"Project-Id-Version: Plugins - Simple Membership - Development (trunk)\n"
|
13 |
+
"POT-Creation-Date: \n"
|
14 |
+
"Last-Translator: \n"
|
15 |
+
"Language-Team: \n"
|
16 |
|
17 |
+
#. Author of the plugin/theme
|
18 |
+
msgid "smp7, wp.insider"
|
19 |
+
msgstr "smp7, wp.insider"
|
20 |
|
21 |
+
#. Description of the plugin/theme
|
22 |
+
msgid "A flexible, well-supported, and easy-to-use WordPress membership plugin for offering free and premium content from your WordPress site."
|
23 |
+
msgstr "WordPress サイトから無料で提供されている、柔軟で、よくサポートされ、使いやすい WordPress メンバーシッププラグイン。"
|
24 |
|
25 |
+
#. #-#-#-#-# tmp-simple-membership.pot (Simple WordPress Membership 3.1.1)
|
26 |
+
#. Plugin URI of the plugin/theme
|
27 |
+
#. #-#-#-#-# tmp-simple-membership.pot (Simple WordPress Membership 3.1.1)
|
28 |
+
#. Author URI of the plugin/theme
|
29 |
+
msgid "https://simple-membership-plugin.com/"
|
30 |
+
msgstr "https://simple-membership-plugin.com/"
|
31 |
|
32 |
+
#. Plugin Name of the plugin/theme
|
33 |
+
msgid "Simple WordPress Membership"
|
34 |
+
msgstr "Simple WordPress Membership"
|
35 |
|
36 |
+
#: views/payments/payment-gateway/paypal_button_shortcode_view.php:197
|
37 |
+
#: views/payments/payment-gateway/paypal_button_shortcode_view.php:199
|
38 |
+
msgid "Subscribe Now"
|
39 |
+
msgstr "今すぐ購読する"
|
40 |
|
41 |
+
#: views/payments/payment-gateway/paypal_button_shortcode_view.php:77
|
42 |
+
#: views/payments/payment-gateway/paypal_button_shortcode_view.php:79
|
43 |
+
msgid "Buy Now"
|
44 |
+
msgstr "購入する"
|
45 |
|
46 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:167
|
47 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:440
|
48 |
+
msgid "Optional Details"
|
49 |
+
msgstr "設定の詳細"
|
50 |
|
51 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:150
|
52 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:423
|
53 |
+
msgid "Trial Billing Period"
|
54 |
+
msgstr "トライアル請求期間"
|
|
|
55 |
|
56 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:142
|
57 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:415
|
58 |
+
msgid "Trial Billing Amount"
|
59 |
+
msgstr "トライアル請求金額"
|
60 |
|
61 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:136
|
62 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:409
|
63 |
+
msgid "Trial Billing Details (Leave empty if you are not offering a trial period)"
|
64 |
+
msgstr "トライアル請求詳細(もしトライアル期間を設定していなければ空欄にすること)"
|
65 |
|
66 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:123
|
67 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:396
|
68 |
+
msgid "Re-attempt on Failure"
|
69 |
+
msgstr "失敗時の再試行"
|
70 |
|
71 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:115
|
72 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:388
|
73 |
+
msgid "Billing Cycle Count"
|
74 |
+
msgstr "請求サイクルカウント"
|
|
|
75 |
|
76 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:102
|
77 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:375
|
78 |
+
msgid "Billing Cycle"
|
79 |
+
msgstr "請求サイクル"
|
|
|
|
|
80 |
|
81 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:94
|
82 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:367
|
83 |
+
msgid "Billing Amount Each Cycle"
|
84 |
+
msgstr "各サイクルの請求額"
|
85 |
|
86 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:20
|
87 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:288
|
88 |
+
msgid "PayPal Subscription Button Configuration"
|
89 |
+
msgstr "PayPal 購読ボタンの設定"
|
90 |
|
91 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:201
|
92 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:294
|
93 |
+
msgid "Button ID"
|
94 |
+
msgstr "ボタン ID"
|
95 |
|
96 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:119
|
97 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:300
|
98 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:193
|
99 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:466
|
100 |
+
msgid "Save Payment Data"
|
101 |
+
msgstr "支払データ保存"
|
102 |
|
103 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:109
|
104 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:290
|
105 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:181
|
106 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:454
|
107 |
+
msgid "Button Image URL"
|
108 |
+
msgstr "ボタン画像 URL"
|
109 |
|
110 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:101
|
111 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:282
|
112 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:86
|
113 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:359
|
114 |
+
msgid "PayPal Email"
|
115 |
+
msgstr "PayPal メール"
|
|
|
116 |
|
117 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:93
|
118 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:274
|
119 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:173
|
120 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:446
|
121 |
+
msgid "Return URL"
|
122 |
+
msgstr "リターン URL"
|
123 |
|
124 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:54
|
125 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:235
|
126 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:47
|
127 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:320
|
128 |
+
msgid "Payment Currency"
|
129 |
+
msgstr "支払通貨"
|
130 |
|
131 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:46
|
132 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:227
|
133 |
+
msgid "Payment Amount"
|
134 |
+
msgstr "支払金額"
|
135 |
|
136 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:28
|
137 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:209
|
138 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:29
|
139 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:302
|
140 |
+
msgid "Button Title"
|
141 |
+
msgstr "ボタンタイトル"
|
142 |
|
143 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:18
|
144 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:192
|
145 |
+
msgid "PayPal Buy Now Button Configuration"
|
146 |
+
msgstr "PayPal 購入ボタン設定"
|
147 |
|
148 |
+
#: views/payments/admin_payment_buttons.php:7
|
149 |
+
msgid "All the membership buttons that you created in the plugin are displayed here."
|
150 |
+
msgstr "作成した会員メンバーのボタンはこちらに表示されます。"
|
151 |
|
152 |
+
#: views/payments/admin_edit_payment_buttons.php:12
|
153 |
+
msgid "You can edit a payment button using this interface."
|
154 |
+
msgstr "この画面より支払ボタンを編集できます。"
|
155 |
|
156 |
+
#: views/payments/admin_create_payment_buttons.php:34
|
157 |
+
msgid "Next"
|
158 |
+
msgstr "次"
|
159 |
|
160 |
+
#: views/payments/admin_create_payment_buttons.php:22
|
161 |
+
msgid "Select Payment Button Type"
|
162 |
+
msgstr "支払ボタンの種類選択"
|
163 |
|
164 |
+
#: views/payments/admin_create_payment_buttons.php:13
|
165 |
+
msgid "You can create new payment button for your memberships using this interface."
|
166 |
+
msgstr "この画面からメンバーシップの新しい支払いボタンを作成することができます。"
|
167 |
|
168 |
+
#: views/login.php:24
|
169 |
+
msgid "Forgot Password"
|
170 |
+
msgstr "パスワードを忘れた"
|
171 |
|
172 |
+
#: views/login.php:18
|
173 |
+
msgid "Remember Me"
|
174 |
+
msgstr "ログイン情報を保存"
|
175 |
|
176 |
+
#: views/loggedin.php:19
|
177 |
+
msgid "Logout"
|
178 |
+
msgstr "ログアウト"
|
179 |
|
180 |
+
#: views/loggedin.php:15
|
181 |
+
msgid "Account Expiry"
|
182 |
+
msgstr "アカウントの有効期限"
|
183 |
|
184 |
+
#: views/loggedin.php:11
|
185 |
+
msgid "Membership"
|
186 |
+
msgstr "メンバーシップ"
|
187 |
|
188 |
+
#: views/loggedin.php:3
|
189 |
+
msgid "Logged in as"
|
190 |
+
msgstr "ログイン中: "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
|
192 |
+
#: views/forgot_password.php:12
|
193 |
+
msgid "Reset Password"
|
194 |
+
msgstr "パスワードリセット"
|
|
|
195 |
|
196 |
+
#: views/edit.php:58
|
197 |
+
msgid "Update"
|
198 |
+
msgstr "更新"
|
199 |
|
200 |
+
#: views/admin_tools_settings.php:34
|
201 |
+
msgid "Submit"
|
202 |
+
msgstr "送信"
|
203 |
|
204 |
+
#: views/admin_tools_settings.php:31
|
205 |
+
msgid "Send Registration Reminder Email too"
|
206 |
+
msgstr "登録通知の電子メールを送信する"
|
207 |
|
208 |
+
#: views/admin_tools_settings.php:24
|
209 |
+
msgid "Registration Completion Links Will Appear Below:"
|
210 |
+
msgstr "登録完了リンクが下に表示されます: "
|
211 |
|
212 |
+
#: views/admin_tools_settings.php:21
|
213 |
+
msgid "For All Pending Registrations"
|
214 |
+
msgstr "保留中のすべての登録"
|
|
|
|
|
|
|
215 |
|
216 |
+
#: views/admin_tools_settings.php:20
|
217 |
+
msgid "OR"
|
218 |
+
msgstr "OR"
|
|
|
|
|
|
|
219 |
|
220 |
+
#: views/admin_tools_settings.php:17
|
221 |
+
msgid "Generate Registration Completion Link"
|
222 |
+
msgstr "登録完了リンクを生成する"
|
223 |
|
224 |
+
#: views/admin_tools_settings.php:12
|
225 |
+
msgid "You can manually generate a registration completion link here and give it to your customer if they have missed the email that was automatically sent out to them after the payment."
|
226 |
+
msgstr "支払い後に自動的に送信されたメールが紛失した場合、ここで手動で登録完了リンクを生成し、会員に渡すことができます。"
|
227 |
|
228 |
+
#: views/admin_tools_settings.php:9
|
229 |
+
msgid "Generate a Registration Completion link"
|
230 |
+
msgstr "登録完了リンクを生成する"
|
231 |
|
232 |
+
#: views/admin_payments_page.php:22
|
233 |
+
#: views/payments/admin_all_payment_transactions.php:18
|
234 |
+
msgid "Search"
|
235 |
+
msgstr "検索"
|
236 |
|
237 |
+
#: views/admin_payments_page.php:18
|
238 |
+
#: views/payments/admin_all_payment_transactions.php:14
|
239 |
+
msgid "Search for a transaction by using email or name"
|
240 |
+
msgstr "メールまたは名前を使ってトランザクションを検索する"
|
241 |
|
242 |
+
#: views/admin_payments_page.php:11
|
243 |
+
#: views/payments/admin_all_payment_transactions.php:7
|
244 |
+
msgid "All the payments/transactions of your members are recorded here."
|
245 |
+
msgstr "会員のすべての支払い / 取引がここに記録されます。"
|
246 |
|
247 |
+
#: views/admin_payments_page.php:5 views/payments/admin_payments_page.php:9
|
248 |
+
msgid "Simple Membership::Payments"
|
249 |
+
msgstr "Simple Membership::支払"
|
250 |
|
251 |
+
#: views/admin_payment_settings.php:41
|
252 |
+
#: views/payments/admin_payment_settings.php:39
|
253 |
+
msgid "Generate Code"
|
254 |
+
msgstr "コードを生成する"
|
255 |
|
256 |
+
#: views/admin_payment_settings.php:39
|
257 |
+
#: views/payments/admin_payment_settings.php:37
|
258 |
+
msgid "Enter the Membership Level ID"
|
259 |
+
msgstr "会員ランク ID を入力してください"
|
260 |
|
261 |
+
#: views/admin_payment_settings.php:36
|
262 |
+
#: views/payments/admin_payment_settings.php:34
|
263 |
+
msgid "Generate the \"Advanced Variables\" Code for your PayPal button"
|
264 |
+
msgstr "PayPal ボタンの「詳細変数」コードを生成する"
|
265 |
|
266 |
+
#: views/admin_payment_settings.php:33
|
267 |
+
#: views/payments/admin_payment_settings.php:31
|
268 |
+
msgid "PayPal Integration Settings"
|
269 |
+
msgstr "PayPal の統合設定"
|
270 |
|
271 |
+
#: views/admin_membership_manage.php:17
|
272 |
+
msgid "Example Content Protection Settings"
|
273 |
+
msgstr "コンテンツ保護の設定例"
|
274 |
|
275 |
+
#: views/admin_membership_levels.php:2
|
276 |
+
msgid "Simple WP Membership::Membership Levels"
|
277 |
+
msgstr "Simple WP Membership::会員ランク"
|
278 |
|
279 |
+
#: views/admin_membership_level_menu.php:4
|
280 |
+
msgid "Category Protection"
|
281 |
+
msgstr "カテゴリー保護"
|
282 |
|
283 |
+
#: views/admin_membership_level_menu.php:3
|
284 |
+
msgid "Manage Content Production"
|
285 |
+
msgstr "コンテンツ制作の管理"
|
286 |
|
287 |
+
#: views/admin_membership_level_menu.php:2
|
288 |
+
msgid "Membership level"
|
289 |
+
msgstr "会員ランク"
|
|
|
290 |
|
291 |
+
#: views/admin_members_list.php:6 views/admin_membership_levels.php:12
|
292 |
+
msgid "search"
|
293 |
+
msgstr "検索"
|
|
|
294 |
|
295 |
+
#: views/admin_members.php:3 views/admin_members_list.php:30
|
296 |
+
msgid "Add New"
|
297 |
+
msgstr "新規追加"
|
|
|
298 |
|
299 |
+
#: views/admin_members.php:2
|
300 |
+
msgid "Simple WP Membership::Members"
|
301 |
+
msgstr "Simple WP Membership::会員メンバー"
|
302 |
|
303 |
+
#: views/admin_member_form_common_part.php:58
|
304 |
+
msgid "Member Since"
|
305 |
+
msgstr "会員登録日"
|
306 |
|
307 |
+
#: views/admin_member_form_common_part.php:54
|
308 |
+
msgid "Company"
|
309 |
+
msgstr "会社"
|
|
|
|
|
310 |
|
311 |
+
#: views/admin_member_form_common_part.php:50 views/edit.php:48
|
312 |
+
msgid "Country"
|
313 |
+
msgstr "国"
|
314 |
|
315 |
+
#: views/admin_member_form_common_part.php:46 views/edit.php:44
|
316 |
+
msgid "Zipcode"
|
317 |
+
msgstr "郵便番号"
|
318 |
|
319 |
+
#: views/admin_member_form_common_part.php:42 views/edit.php:40
|
320 |
+
msgid "State"
|
321 |
+
msgstr "都道府県"
|
|
|
322 |
|
323 |
+
#: views/admin_member_form_common_part.php:38 views/edit.php:36
|
324 |
+
msgid "City"
|
325 |
+
msgstr "市区町村"
|
326 |
|
327 |
+
#: views/admin_member_form_common_part.php:34 views/edit.php:32
|
328 |
+
msgid "Street"
|
329 |
+
msgstr "番地"
|
330 |
|
331 |
+
#: views/admin_member_form_common_part.php:30 views/edit.php:28
|
332 |
+
msgid "Phone"
|
333 |
+
msgstr "電話番号"
|
334 |
|
335 |
+
#: views/admin_member_form_common_part.php:23
|
336 |
+
msgid "Gender"
|
337 |
+
msgstr "性別"
|
338 |
|
339 |
+
#: views/admin_edit_level.php:41
|
340 |
+
msgid "Edit Membership Level "
|
341 |
+
msgstr "会員ランクの編集"
|
342 |
|
343 |
+
#: views/admin_edit_level.php:26
|
344 |
+
msgid "Weeks (Access expires after given number of weeks)"
|
345 |
+
msgstr "週(指定した数の週の間有効)"
|
|
|
|
|
|
|
346 |
|
347 |
+
#: views/admin_edit_level.php:21
|
348 |
+
msgid "No Expiry (Access for this level will not expire until cancelled)"
|
349 |
+
msgstr "無期限(キャンセルしない限り有効)"
|
350 |
|
351 |
+
#: views/admin_edit_level.php:6
|
352 |
+
msgid "Edit membership level."
|
353 |
+
msgstr "会員レベルの編集"
|
354 |
+
|
355 |
+
#: views/admin_edit_level.php:5
|
356 |
+
msgid "Edit membership level"
|
357 |
+
msgstr "会員レベルの編集"
|
358 |
+
|
359 |
+
#: views/admin_edit.php:52
|
360 |
+
msgid "Edit User "
|
361 |
+
msgstr "ユーザーの編集"
|
362 |
+
|
363 |
+
#: views/admin_edit.php:44
|
364 |
+
msgid "Last Accessed From IP"
|
365 |
+
msgstr "最終アクセス日時"
|
366 |
+
|
367 |
+
#: views/admin_edit.php:40
|
368 |
+
msgid "Subscriber ID/Reference"
|
369 |
+
msgstr "購読者 ID/参照"
|
370 |
+
|
371 |
+
#: views/admin_edit.php:33
|
372 |
+
msgid "Notify User"
|
373 |
+
msgstr "会員に知らせる"
|
374 |
+
|
375 |
+
#. translators: password input field
|
376 |
+
#: views/admin_edit.php:17
|
377 |
+
msgid "(twice, leave empty to retain old password)"
|
378 |
+
msgstr "(二度入力。同じパスワードを利用する場合は空欄にする。)"
|
379 |
+
|
380 |
+
#: views/admin_edit.php:9 views/login.php:5
|
381 |
msgid "Username"
|
382 |
msgstr "ユーザー名"
|
383 |
|
384 |
+
#: views/admin_edit.php:6
|
385 |
+
msgid "Edit existing member details."
|
386 |
+
msgstr "既存会員の詳細を編集"
|
|
|
|
|
|
|
387 |
|
388 |
+
#: views/admin_edit.php:5
|
389 |
+
msgid "Edit Member"
|
390 |
+
msgstr "メンバーの編集"
|
|
|
|
|
|
|
391 |
|
392 |
+
#: views/admin_category_list.php:10
|
393 |
+
msgid "Next, select an existing membership level from the drop-down box below and then select the categories you want to grant access to (for that particular membership level)."
|
394 |
+
msgstr "次にドロップダウンメニューから既存の会員レベルを選択し、その会員レベルのユーザーにのみ公開するカテゴリーを選びます。"
|
395 |
|
396 |
+
#: views/admin_category_list.php:7
|
397 |
+
msgid "First of all, globally protect the category on your site by selecting \"General Protection\" from the drop-down box below and then select the categories that should be protected from non-logged in users."
|
398 |
+
msgstr "まず、ドロップダウンメニューからGeneral Protectionを選び、ログインしていないユーザーに非公開にするカテゴリーを選択します。"
|
399 |
|
400 |
+
#: views/admin_category_list.php:2
|
401 |
+
msgid "Simple WP Membership::Categories"
|
402 |
+
msgstr "Simple WP Membership::カテゴリー"
|
403 |
|
404 |
+
#: views/admin_addon_settings.php:13
|
405 |
+
msgid "Save Changes"
|
406 |
+
msgstr "変更を保存"
|
|
|
|
|
|
|
407 |
|
408 |
+
#: views/admin_addon_settings.php:8
|
409 |
+
msgid "Some of the simple membership plugin's addon settings and options will be displayed here (if you have them)"
|
410 |
+
msgstr "アドオンの設定やオプションがここに表示されます。"
|
411 |
|
412 |
+
#: views/admin_addon_settings.php:3 views/admin_payment_settings.php:2
|
413 |
+
#: views/admin_settings.php:3 views/admin_tools_settings.php:3
|
414 |
+
#: views/payments/admin_payment_settings.php:3
|
415 |
+
msgid "Simple WP Membership::Settings"
|
416 |
+
msgstr "Simple WP Membership::設定"
|
417 |
|
418 |
+
#: views/admin_add_ons_page.php:7
|
419 |
+
msgid "Simple WP Membership::Add-ons"
|
420 |
+
msgstr "Simple WP Membership::アドオン"
|
421 |
|
422 |
+
#: views/admin_add_level.php:38
|
423 |
+
msgid "Add New Membership Level "
|
424 |
+
msgstr "新規メンバーシップレベルの追加"
|
425 |
|
426 |
+
#: views/admin_add_level.php:32 views/admin_edit_level.php:35
|
427 |
+
msgid "(Access expires on a fixed date)"
|
428 |
+
msgstr "(指定した日付まで有効)"
|
429 |
|
430 |
+
#: views/admin_add_level.php:31 views/admin_edit_level.php:34
|
431 |
+
msgid "Fixed Date Expiry"
|
432 |
+
msgstr "有効期限を指定"
|
433 |
|
434 |
+
#: views/admin_add_level.php:30 views/admin_edit_level.php:32
|
435 |
+
msgid "Years (Access expires after given number of years)"
|
436 |
+
msgstr "年(指定した数の年の間有効)"
|
437 |
|
438 |
+
#: views/admin_add_level.php:28 views/admin_edit_level.php:29
|
439 |
+
msgid "Months (Access expires after given number of months)"
|
440 |
+
msgstr "ヶ月(指定した数の月の間有効)"
|
441 |
|
442 |
+
#: views/admin_add_level.php:26
|
443 |
+
msgid "Weeks (Access expires after given number of weeks"
|
444 |
+
msgstr "週(指定した数の週の間有効)"
|
445 |
|
446 |
+
#: views/admin_add_level.php:24 views/admin_edit_level.php:23
|
447 |
+
msgid "Days (Access expires after given number of days)"
|
448 |
+
msgstr "日(指定した日数で有効)"
|
449 |
|
450 |
+
#: views/admin_add_level.php:23 views/admin_add_level.php:25
|
451 |
+
#: views/admin_add_level.php:27 views/admin_add_level.php:29
|
452 |
+
#: views/admin_edit_level.php:22 views/admin_edit_level.php:25
|
453 |
+
#: views/admin_edit_level.php:28 views/admin_edit_level.php:31
|
454 |
+
msgid "Expire After"
|
455 |
+
msgstr "有効期限"
|
456 |
|
457 |
+
#: views/admin_add_level.php:22
|
458 |
+
msgid "No Expiry (Access for this level will not expire until cancelled"
|
459 |
+
msgstr "無期限(キャンセルしない限り有効)"
|
460 |
|
461 |
+
#: views/admin_add_level.php:19 views/admin_edit_level.php:18
|
462 |
+
msgid "Access Duration"
|
463 |
+
msgstr "有効期限"
|
464 |
|
465 |
+
#: views/admin_add_level.php:15 views/admin_edit_level.php:14
|
466 |
+
msgid "Default WordPress Role"
|
467 |
+
msgstr "WordPress のデフォルトユーザー権限"
|
468 |
|
469 |
+
#: views/admin_add_level.php:11 views/admin_edit_level.php:10
|
470 |
+
msgid "Membership Level Name"
|
471 |
+
msgstr "会員レベル名"
|
472 |
|
473 |
+
#: views/admin_add_level.php:6
|
474 |
+
msgid "Create new membership level."
|
475 |
+
msgstr "新規会員レベルを作成"
|
476 |
|
477 |
+
#: views/admin_add.php:39
|
478 |
+
msgid "Add New Member "
|
479 |
+
msgstr "新規メンバーの追加"
|
480 |
|
481 |
+
#: views/admin_add.php:29 views/admin_edit.php:26 views/loggedin.php:7
|
482 |
+
msgid "Account Status"
|
483 |
+
msgstr "アカウント状態"
|
484 |
|
485 |
+
#: views/admin_add.php:25 views/admin_edit.php:22
|
486 |
+
msgid "Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! \" ? $ % ^ & )."
|
487 |
+
msgstr "ヒント: パスワードは7文字以上。より強いパスワードにするために、大文字・小文字を使い、数字や ! \\\" ? $ % ^ & ) 等の記号の使用を推奨します。"
|
488 |
|
489 |
+
#: views/admin_add.php:24 views/admin_edit.php:21
|
490 |
+
msgid "Strength indicator"
|
491 |
+
msgstr "強度の指標"
|
492 |
|
493 |
+
#. translators: password input field
|
494 |
+
#: views/admin_add.php:19
|
495 |
+
msgid "(twice, required)"
|
496 |
+
msgstr "(二度入力、必須)"
|
497 |
|
498 |
+
#: views/admin_add.php:15 views/admin_edit.php:13
|
499 |
+
msgid "E-mail"
|
500 |
+
msgstr "メール"
|
|
|
|
|
|
|
|
|
501 |
|
502 |
+
#: views/admin_add.php:11 views/admin_add.php:15 views/admin_add_level.php:11
|
503 |
+
#: views/admin_add_level.php:15 views/admin_add_level.php:19
|
504 |
+
#: views/admin_edit.php:9 views/admin_edit.php:13 views/admin_edit_level.php:10
|
505 |
+
#: views/admin_edit_level.php:14 views/admin_edit_level.php:18
|
506 |
+
msgid "(required)"
|
507 |
+
msgstr "(必須)"
|
508 |
|
509 |
+
#: views/admin_add.php:11
|
510 |
+
msgid "User name"
|
511 |
+
msgstr "ユーザー名"
|
512 |
|
513 |
+
#: views/admin_add.php:7
|
514 |
+
msgid "Create a brand new user and add it to this site."
|
515 |
+
msgstr "新しいユーザーを作成し、このサイトに追加します。"
|
516 |
|
517 |
+
#: views/admin_add.php:6
|
518 |
+
msgid "Add Member"
|
519 |
+
msgstr "メンバーの追加"
|
|
|
|
|
|
|
|
|
|
|
520 |
|
521 |
+
#: views/add.php:41
|
522 |
+
msgid "Register"
|
523 |
+
msgstr "登録"
|
524 |
|
525 |
+
#: views/add.php:18 views/edit.php:16
|
526 |
+
msgid "Repeat Password"
|
527 |
+
msgstr "パスワードを再入力"
|
528 |
+
|
529 |
+
#: views/add.php:14 views/admin_add.php:19 views/admin_edit.php:17
|
530 |
+
#: views/edit.php:12 views/login.php:11
|
531 |
+
msgid "Password"
|
532 |
+
msgstr "パスワード"
|
533 |
+
|
534 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:66
|
535 |
+
msgid "If you have just made a membership payment then your payment is yet to be processed. Please check back in a few minutes. An email will be sent to you with the details shortly."
|
536 |
+
msgstr "会員登録のためのお支払い手続きの処理中です。数分後にもう一度ご確認ください。後ほど詳細についてメールが送付されます。"
|
537 |
+
|
538 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:61
|
539 |
+
msgid "Click here to complete your paid registration"
|
540 |
+
msgstr "こちらのリンクをクリックして支払い手続きを完了してください。"
|
541 |
|
542 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:60
|
543 |
+
msgid "Click on the following link to complete the registration."
|
544 |
+
msgstr "以下のリンクをクリックして会員登録を完了してください。"
|
545 |
|
546 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:48
|
547 |
+
msgid "Your profile username: "
|
548 |
+
msgstr "あなたのユーザー名:"
|
|
|
|
|
|
|
|
|
549 |
|
550 |
+
#: classes/shortcode-related/class.swpm-shortcodes-handler.php:47
|
551 |
+
msgid "Your membership profile will be updated to reflect the payment."
|
552 |
+
msgstr "会員プロフィールが更新されました。"
|
553 |
|
554 |
+
#: classes/common/class-swpm-list-table.php:876
|
555 |
+
#: classes/common/class.swpm-list-table.php:848
|
556 |
+
msgid "Select All"
|
557 |
+
msgstr "すべて選択"
|
558 |
|
559 |
+
#: classes/common/class-swpm-list-table.php:739
|
560 |
+
#: classes/common/class.swpm-list-table.php:713
|
561 |
+
msgid "Go to the last page"
|
562 |
+
msgstr "最後のページに移動"
|
563 |
|
564 |
+
#: classes/common/class-swpm-list-table.php:732
|
565 |
+
#: classes/common/class.swpm-list-table.php:710
|
566 |
+
msgid "Go to the next page"
|
567 |
+
msgstr "次のページに進む"
|
568 |
|
569 |
+
#: classes/common/class-swpm-list-table.php:728
|
570 |
+
#: classes/common/class.swpm-list-table.php:708
|
571 |
+
msgctxt "paging"
|
572 |
+
msgid "%1$s of %2$s"
|
573 |
+
msgstr "%2$s中%1$s"
|
574 |
|
575 |
+
#: classes/common/class-swpm-list-table.php:722
|
576 |
+
#: classes/common/class.swpm-list-table.php:704
|
577 |
+
msgid "Current page"
|
578 |
+
msgstr "現在のページ"
|
579 |
|
580 |
+
#: classes/common/class-swpm-list-table.php:721
|
581 |
+
#: classes/common/class.swpm-list-table.php:704
|
582 |
+
msgid "Select Page"
|
583 |
+
msgstr "ページを選択"
|
584 |
|
585 |
+
#: classes/common/class-swpm-list-table.php:712
|
586 |
+
#: classes/common/class.swpm-list-table.php:698
|
587 |
+
msgid "Go to the previous page"
|
588 |
+
msgstr "前のページに戻る"
|
589 |
+
|
590 |
+
#: classes/common/class-swpm-list-table.php:705
|
591 |
+
#: classes/common/class.swpm-list-table.php:695
|
592 |
+
msgid "Go to the first page"
|
593 |
+
msgstr "最初のページに戻る"
|
594 |
+
|
595 |
+
#: classes/common/class-swpm-list-table.php:686
|
596 |
+
#: classes/common/class-swpm-list-table.php:1110
|
597 |
+
#: classes/common/class.swpm-list-table.php:678
|
598 |
+
#: classes/common/class.swpm-list-table.php:1086
|
599 |
+
msgid "1 item"
|
600 |
+
msgid_plural "%s items"
|
601 |
+
msgstr[0] "%s 件"
|
602 |
+
|
603 |
+
#: classes/common/class-swpm-list-table.php:607
|
604 |
+
#: classes/common/class.swpm-list-table.php:599
|
605 |
+
msgid "%s pending"
|
606 |
+
msgstr "%s 保留中"
|
607 |
|
608 |
+
#. translators: 1: month name, 2: 4-digit year
|
609 |
+
#: classes/common/class-swpm-list-table.php:560
|
610 |
+
#: classes/common/class.swpm-list-table.php:555
|
611 |
+
msgid "%1$s %2$d"
|
612 |
+
msgstr "%1$s %2$d"
|
613 |
|
614 |
+
#: classes/common/class-swpm-list-table.php:547
|
615 |
+
#: classes/common/class.swpm-list-table.php:545
|
616 |
+
msgid "All dates"
|
617 |
+
msgstr "すべての日付"
|
618 |
|
619 |
+
#: classes/common/class-swpm-list-table.php:545
|
620 |
+
#: classes/common/class.swpm-list-table.php:543
|
621 |
+
msgid "Filter by date"
|
622 |
+
msgstr "日付によるフィルター"
|
623 |
|
624 |
+
#: classes/common/class-swpm-list-table.php:445
|
625 |
+
#: classes/common/class.swpm-list-table.php:443
|
626 |
+
msgid "Apply"
|
627 |
+
msgstr "適用"
|
628 |
|
629 |
+
#: classes/common/class-swpm-list-table.php:435
|
630 |
+
#: classes/common/class.swpm-list-table.php:433
|
631 |
+
msgid "Bulk Actions"
|
632 |
+
msgstr "一括操作"
|
633 |
|
634 |
+
#: classes/common/class-swpm-list-table.php:433
|
635 |
+
#: classes/common/class.swpm-list-table.php:431
|
636 |
+
msgid "Select bulk action"
|
637 |
+
msgstr "一括操作を選択"
|
638 |
|
639 |
+
#: classes/common/class-swpm-list-table.php:307
|
640 |
+
#: classes/common/class.swpm-list-table.php:305
|
641 |
+
msgid "No items found."
|
642 |
+
msgstr "アイテムが見つかりません。"
|
643 |
|
644 |
+
#: classes/common/class-swpm-list-table.php:140
|
645 |
+
#: classes/common/class.swpm-list-table.php:138
|
646 |
+
msgid "Excerpt View"
|
647 |
+
msgstr "抜粋を表示"
|
648 |
|
649 |
+
#: classes/common/class-swpm-list-table.php:139
|
650 |
+
#: classes/common/class.swpm-list-table.php:137
|
651 |
+
msgid "List View"
|
652 |
+
msgstr "リストを表示"
|
653 |
|
654 |
+
#: classes/class.swpm-settings.php:124
|
655 |
+
msgid "Email Settings (Password Reset)"
|
656 |
+
msgstr "メール設定(パスワードリセット)"
|
657 |
|
658 |
+
#: classes/class.swpm-settings.php:120
|
659 |
+
msgid "Enter the email address where you want the admin notification email to be sent to."
|
660 |
+
msgstr "送信したい管理者のメールアドレスを入力してください。"
|
|
|
661 |
|
662 |
+
#: classes/class.swpm-settings.php:119
|
663 |
+
msgid "Admin Email Address"
|
664 |
+
msgstr "管理者のメールアドレス"
|
|
|
665 |
|
666 |
+
#: classes/class.swpm-settings.php:118
|
667 |
+
msgid "Enable this option if you want the admin to receive a notification when a member registers."
|
668 |
+
msgstr "メンバー登録通知を管理者が受信したい場合は、このオプションを有効にします。"
|
669 |
|
670 |
#: classes/class.swpm-settings.php:117
|
671 |
msgid "Send Notification to Admin"
|
672 |
+
msgstr "管理者に通知を送信"
|
673 |
|
674 |
+
#: classes/class.swpm-settings.php:22
|
675 |
+
msgid "Addons Settings"
|
676 |
+
msgstr "アドオンの設定"
|
|
|
|
|
677 |
|
678 |
+
#: classes/class.swpm-settings.php:22
|
679 |
+
msgid "Tools"
|
680 |
+
msgstr "ツール"
|
681 |
|
682 |
+
#: classes/class.swpm-settings.php:22
|
683 |
+
msgid "Email Settings"
|
684 |
+
msgstr "メール設定"
|
|
|
|
|
685 |
|
686 |
+
#: classes/class.swpm-settings.php:21
|
687 |
+
msgid "Payment Settings"
|
688 |
+
msgstr "支払い設定"
|
|
|
689 |
|
690 |
+
#: classes/class.swpm-init-time-tasks.php:115
|
691 |
+
msgid "Sorry, Password didn't match."
|
692 |
+
msgstr "パスワードが一致してません。"
|
693 |
|
694 |
+
#: classes/class.swpm-init-time-tasks.php:108
|
695 |
+
msgid "Sorry, Nonce verification failed."
|
696 |
+
msgstr "認証に失敗しました。"
|
697 |
|
698 |
+
#: classes/class.swpm-front-registration.php:200
|
699 |
+
msgid "No user found with that email address."
|
700 |
+
msgstr "メールアドレスに該当するユーザーが見つかりませんでした。"
|
701 |
|
702 |
+
#: classes/class.swpm-front-registration.php:170
|
703 |
+
msgid "Profile updated successfully. You will need to re-login since you changed your password."
|
704 |
+
msgstr "プロフィールが更新されました。再度ログインが必要です。"
|
|
|
|
|
|
|
|
|
|
|
705 |
|
706 |
+
#: classes/class.swpm-front-registration.php:162
|
707 |
+
msgid "Profile updated successfully."
|
708 |
+
msgstr "プロフィールが更新されました。"
|
709 |
|
710 |
+
#: classes/class.swpm-front-registration.php:71
|
711 |
+
msgid "Security check: captcha validation failed."
|
712 |
+
msgstr "セキュリティチェック: キャプチャ認証に失敗しました。"
|
713 |
|
714 |
+
#: classes/class.swpm-category-list.php:80
|
715 |
+
msgid "Category protection updated!"
|
716 |
+
msgstr "限定カテゴリを更新しました。"
|
717 |
|
718 |
+
#: classes/class.swpm-auth.php:227
|
719 |
+
msgid "Please login again."
|
720 |
+
msgstr "再度ログインしてください。"
|
721 |
|
722 |
+
#: classes/class.swpm-admin-registration.php:91
|
723 |
+
msgid "Your current password"
|
724 |
+
msgstr "現在のパスワード"
|
725 |
|
726 |
+
#: classes/class.swpm-admin-registration.php:54
|
727 |
+
msgid "Member record added successfully."
|
728 |
+
msgstr "会員情報が追加されました。"
|
729 |
|
730 |
+
#: classes/class.simple-wp-membership.php:468
|
731 |
+
msgid "Add-ons"
|
732 |
+
msgstr "アドオン"
|
733 |
|
734 |
+
#: classes/class.simple-wp-membership.php:467
|
735 |
+
msgid "Payments"
|
736 |
+
msgstr "支払い"
|
737 |
|
738 |
+
#: classes/class.simple-wp-membership.php:466
|
739 |
+
msgid "Settings"
|
740 |
+
msgstr "設定"
|
741 |
|
742 |
+
#: classes/class.simple-wp-membership.php:463
|
743 |
+
msgid "WP Membership"
|
744 |
+
msgstr "WP Membership"
|
745 |
|
746 |
+
#: classes/class.simple-wp-membership.php:330
|
747 |
+
msgid "Select the membership level that can access this content:"
|
748 |
+
msgstr "このコンテンツを閲覧できる会員レベルを選択してください:"
|
749 |
|
750 |
+
#: classes/class.simple-wp-membership.php:325
|
751 |
+
msgid "Do you want to protect this content?"
|
752 |
+
msgstr "このコンテンツを限定公開にしますか ?"
|
753 |
|
754 |
+
#: classes/class.simple-wp-membership.php:309
|
755 |
+
msgid "Simple Membership Protection options"
|
756 |
+
msgstr "Simple WP Membership プロテクション設定"
|
|
|
|
|
757 |
|
758 |
+
#: classes/class.simple-wp-membership.php:297
|
759 |
+
msgid "Simple WP Membership Protection"
|
760 |
+
msgstr "Simple WP Membership プロテクション"
|
761 |
|
762 |
+
#: classes/class.simple-wp-membership.php:263
|
763 |
+
msgid "You are not logged in."
|
764 |
+
msgstr "ログインしていません。"
|
765 |
|
766 |
+
#: classes/class.miscUtils.php:119 classes/class.swpm-misc-utils.php:119
|
767 |
+
msgid "Password Reset"
|
768 |
+
msgstr "パスワードのリセット"
|
|
|
769 |
|
770 |
+
#: classes/class.miscUtils.php:96 classes/class.swpm-misc-utils.php:96
|
771 |
+
msgid "Profile"
|
772 |
+
msgstr "プロフィール"
|
773 |
|
774 |
+
#: classes/class.miscUtils.php:73 classes/class.swpm-misc-utils.php:73
|
775 |
+
msgid "Member Login"
|
776 |
+
msgstr "メンバーログイン"
|
777 |
|
778 |
+
#: classes/class.miscUtils.php:50 classes/class.swpm-misc-utils.php:50
|
779 |
+
msgid "Registration"
|
780 |
+
msgstr "登録"
|
781 |
|
782 |
+
#: classes/class.bUtils.php:358 classes/class.swpm-utils.php:371
|
783 |
+
msgid "Delete Account"
|
784 |
+
msgstr "アカウントの削除"
|
785 |
|
786 |
+
#: classes/class.bUtils.php:301 classes/class.swpm-utils.php:297
|
787 |
+
msgid "Never"
|
788 |
+
msgstr "期限なし"
|
789 |
|
790 |
+
#: classes/class.bUtils.php:75 classes/class.swpm-utils.php:70
|
791 |
+
msgid "Expired"
|
792 |
+
msgstr "期限切れ"
|
793 |
|
794 |
+
#: classes/class.bUtils.php:74 classes/class.swpm-utils.php:69
|
795 |
+
msgid "Pending"
|
796 |
+
msgstr "保留"
|
797 |
|
798 |
+
#: classes/class.bUtils.php:73 classes/class.swpm-utils.php:68
|
799 |
+
msgid "Inactive"
|
800 |
+
msgstr "停止中"
|
801 |
|
802 |
+
#: classes/class.bUtils.php:72 classes/class.swpm-utils.php:67
|
803 |
+
msgid "Active"
|
804 |
+
msgstr "有効"
|
805 |
|
806 |
+
#: classes/class.bSettings.php:392 classes/class.swpm-settings.php:377
|
807 |
+
#: views/login.php:27
|
808 |
+
msgid "Join Us"
|
809 |
+
msgstr "会員について"
|
810 |
|
811 |
+
#: classes/class.bSettings.php:392 classes/class.swpm-settings.php:377
|
812 |
+
msgid "Not a Member?"
|
813 |
+
msgstr "あなたは会員ですか ?"
|
814 |
|
815 |
+
#: classes/class.bSettings.php:274 classes/class.swpm-settings.php:97
|
816 |
+
#: classes/class.swpm-settings.php:145 classes/class.swpm-settings.php:243
|
817 |
+
msgid "Settings updated!"
|
818 |
+
msgstr "設定を更新しました。"
|
819 |
|
820 |
+
#: classes/class.bSettings.php:186 classes/class.swpm-settings.php:153
|
821 |
+
msgid "When enabled, expired members will be able to log into the system but won't be able to view any protected content. This allows them to easily renew their account by making another payment."
|
822 |
+
msgstr "この機能を有効にした場合、ログインはできるが会員限定コンテンツは閲覧できません。"
|
|
|
823 |
|
824 |
+
#: classes/class.bSettings.php:183 classes/class.swpm-settings.php:152
|
825 |
+
msgid "Enable Expired Account Login"
|
826 |
+
msgstr "有効期限切れのアカウントのログインを有効にする"
|
|
|
827 |
|
828 |
+
#: classes/class.bSettings.php:180 classes/class.swpm-settings.php:22
|
829 |
+
#: classes/class.swpm-settings.php:150
|
830 |
+
msgid "Advanced Settings"
|
831 |
+
msgstr "詳細設定"
|
832 |
|
833 |
+
#: classes/class.bSettings.php:162 classes/class.swpm-settings.php:131
|
834 |
+
msgid " Email Settings (Account Upgrade Notification)"
|
835 |
+
msgstr "メール設定(会員レベルのアップグレードのお知らせ)"
|
836 |
|
837 |
+
#: classes/class.bSettings.php:157 classes/class.swpm-settings.php:121
|
838 |
+
msgid "Send Email to Member When Added via Admin Dashboard"
|
839 |
+
msgstr "管理者の管理画面から会員登録した場合、登録された会員宛てにメールする。"
|
840 |
+
|
841 |
+
#: classes/class.bSettings.php:153
|
842 |
+
msgid "Send Notification To Admin"
|
843 |
+
msgstr "管理者に知らせる"
|
844 |
|
845 |
+
#: classes/class.bSettings.php:143 classes/class.swpm-settings.php:112
|
846 |
+
msgid "Email Settings (Registration Complete)"
|
847 |
+
msgstr "メール設定(登録完了)"
|
848 |
|
849 |
+
#: classes/class.bSettings.php:138 classes/class.bSettings.php:149
|
850 |
+
#: classes/class.bSettings.php:168 classes/class.swpm-settings.php:109
|
851 |
+
#: classes/class.swpm-settings.php:115 classes/class.swpm-settings.php:127
|
852 |
+
#: classes/class.swpm-settings.php:134
|
853 |
+
msgid "Email Body"
|
854 |
+
msgstr "メール内容"
|
855 |
|
856 |
+
#: classes/class.bSettings.php:134 classes/class.bSettings.php:145
|
857 |
+
#: classes/class.bSettings.php:164 classes/class.swpm-settings.php:107
|
858 |
+
#: classes/class.swpm-settings.php:113 classes/class.swpm-settings.php:125
|
859 |
+
#: classes/class.swpm-settings.php:132
|
860 |
+
msgid "Email Subject"
|
861 |
+
msgstr "メール件名"
|
862 |
|
863 |
+
#: classes/class.bSettings.php:132 classes/class.swpm-settings.php:106
|
864 |
+
msgid "Email Settings (Prompt to Complete Registration )"
|
865 |
+
msgstr "メール設定(登録完了のお知らせ)"
|
|
|
|
|
|
|
|
|
|
|
866 |
|
867 |
+
#: classes/class.bSettings.php:127 classes/class.swpm-settings.php:103
|
868 |
+
msgid "From Email Address"
|
869 |
+
msgstr "送信元メールアドレス"
|
870 |
|
871 |
+
#: classes/class.bSettings.php:125 classes/class.swpm-settings.php:102
|
872 |
+
msgid "Email Misc. Settings"
|
873 |
+
msgstr "メール設定"
|
874 |
|
875 |
+
#: classes/class.bSettings.php:105 classes/class.swpm-settings.php:81
|
876 |
+
msgid "Check this option to enable debug logging."
|
877 |
+
msgstr "デバッグログを有効にする場合はチェック"
|
|
|
878 |
|
879 |
+
#: classes/class.bSettings.php:102 classes/class.swpm-settings.php:79
|
880 |
+
msgid "Test & Debug Settings"
|
881 |
+
msgstr "テスト & デバッグ設定"
|
882 |
|
883 |
+
#: classes/class.bSettings.php:97 classes/class.swpm-settings.php:76
|
884 |
+
msgid "Password Reset Page URL"
|
885 |
+
msgstr "パスワードリセットページ URL"
|
886 |
|
887 |
+
#: classes/class.bSettings.php:93 classes/class.swpm-settings.php:74
|
888 |
+
msgid "Edit Profile Page URL"
|
889 |
+
msgstr "プロフィールの編集ページ URL"
|
890 |
|
891 |
+
#: classes/class.bSettings.php:89 classes/class.swpm-settings.php:72
|
892 |
+
msgid "Join Us Page URL"
|
893 |
+
msgstr "会員登録の案内ページ URL"
|
894 |
|
895 |
+
#: classes/class.bSettings.php:85 classes/class.swpm-settings.php:70
|
896 |
+
msgid "Registration Page URL"
|
897 |
+
msgstr "会員ページ URL"
|
|
|
|
|
|
|
898 |
|
899 |
+
#: classes/class.bSettings.php:81 classes/class.swpm-settings.php:68
|
900 |
+
msgid "Login Page URL"
|
901 |
+
msgstr "ログインページ URL"
|
902 |
|
903 |
+
#: classes/class.bSettings.php:79 classes/class.swpm-settings.php:67
|
904 |
+
msgid "Pages Settings"
|
905 |
+
msgstr " ページ設定 "
|
906 |
|
907 |
+
#: classes/class.bSettings.php:73 classes/class.swpm-settings.php:59
|
908 |
+
msgid "Select how long you want to keep \"pending\" account."
|
909 |
+
msgstr "保留中のアカウントの期間を選択。"
|
910 |
|
911 |
+
#: classes/class.bSettings.php:68 classes/class.swpm-settings.php:56
|
912 |
+
msgid "Auto Delete Pending Account"
|
913 |
+
msgstr "自動で保留中アカウントの削除"
|
|
|
|
|
|
|
|
|
|
|
914 |
|
915 |
+
#: classes/class.bSettings.php:67 classes/class.swpm-settings.php:55
|
916 |
+
msgid "Allow users to delete their accounts."
|
917 |
+
msgstr "会員によるアカウント削除を許可"
|
918 |
|
919 |
+
#: classes/class.bSettings.php:63 classes/class.swpm-settings.php:53
|
920 |
+
msgid "Allow Account Deletion"
|
921 |
+
msgstr "アカウント削除の許可"
|
922 |
|
923 |
+
#: classes/class.bSettings.php:62 classes/class.swpm-settings.php:52
|
924 |
+
msgid "Select the default account status for newly registered users. If you want to manually approve the members then you can set the status to \"Pending\"."
|
925 |
+
msgstr "会員登録したユーザーのデフォルトステータスを選択。新規登録の許可を管理者が手動で行う場合は「保留中」を選びます。"
|
|
|
926 |
|
927 |
+
#: classes/class.bSettings.php:57 classes/class.swpm-settings.php:49
|
928 |
+
msgid "Default Account Status"
|
929 |
+
msgstr "デフォルトアカウントステータス"
|
|
|
|
|
930 |
|
931 |
+
#: classes/class.bSettings.php:55 classes/class.swpm-settings.php:47
|
932 |
+
msgid "WordPress shows an admin toolbar to the logged in users of the site. Check this box if you want to hide that admin toolbar in the fronend of your site."
|
933 |
+
msgstr "ログインした会員に WordPress の admin ツールバーが表示されます。Web サイトにツールバーを表示したくない場合はチェックしてください。"
|
934 |
|
935 |
+
#: classes/class.bSettings.php:52 classes/class.swpm-settings.php:46
|
936 |
+
msgid "Hide Adminbar"
|
937 |
+
msgstr "管理バーを表示"
|
938 |
|
939 |
+
#: classes/class.bSettings.php:51 classes/class.swpm-settings.php:45
|
940 |
+
msgid "Enables or disables \"more\" tag protection in the posts and pages. Anything after the More tag is protected. Anything before the more tag is teaser content."
|
941 |
+
msgstr "投稿やページの「More タグ」による限定公開を有効化・無効化する。More タグ以降のコンテンツが限定公開されます。"
|
942 |
|
943 |
+
#: classes/class.bSettings.php:48 classes/class.swpm-settings.php:44
|
944 |
+
msgid "Enable More Tag Protection"
|
945 |
+
msgstr "More タグ以下のコンテンツを限定公開"
|
946 |
|
947 |
+
#: classes/class.bSettings.php:47 classes/class.swpm-settings.php:43
|
948 |
+
msgid "Assign free membership level ID"
|
949 |
+
msgstr "無料会員のレベル ID を指定"
|
950 |
|
951 |
+
#: classes/class.bSettings.php:44 classes/class.swpm-settings.php:42
|
952 |
+
msgid "Free Membership Level ID"
|
953 |
+
msgstr "無料会員レベルの ID"
|
954 |
|
955 |
+
#: classes/class.bSettings.php:43 classes/class.swpm-settings.php:41
|
956 |
+
msgid "Enable/disable registration for free membership level. When you enable this option, make sure to specify a free membership level ID in the field below."
|
957 |
+
msgstr ""
|
958 |
+
"無料会員レベルの有効化 / 無効化。この機能を利用するときは、無料会員レベルの ID\n"
|
959 |
+
" を入力してください。"
|
|
|
960 |
|
961 |
+
#: classes/class.bSettings.php:40 classes/class.swpm-settings.php:40
|
962 |
+
msgid "Enable Free Membership"
|
963 |
+
msgstr "無料会員を有効にします"
|
964 |
|
965 |
+
#: classes/class.bSettings.php:38 classes/class.swpm-settings.php:21
|
966 |
+
#: classes/class.swpm-settings.php:39
|
967 |
+
msgid "General Settings"
|
968 |
+
msgstr "一般設定"
|
969 |
|
970 |
+
#: classes/class.bSettings.php:36 classes/class.swpm-settings.php:38
|
971 |
+
msgid "Plugin Documentation"
|
972 |
+
msgstr "プラグインのドキュメント"
|
973 |
|
974 |
+
#: classes/class.bMembershipLevels.php:19
|
975 |
+
#: classes/class.swpm-membership-levels.php:22
|
976 |
+
msgid "Access Valid For/Until"
|
977 |
+
msgstr "アクセス有効期限"
|
978 |
|
979 |
+
#: classes/class.bMembershipLevels.php:18
|
980 |
+
#: classes/class.swpm-membership-levels.php:21
|
981 |
+
msgid "Role"
|
982 |
+
msgstr "権限グループ"
|
983 |
|
984 |
+
#: classes/class.bMembershipLevel.php:56
|
985 |
+
#: classes/class.swpm-membership-level.php:57
|
986 |
+
msgid "Updated Successfully."
|
987 |
+
msgstr "更新されました。"
|
988 |
|
989 |
+
#: classes/class.bMembershipLevel.php:37
|
990 |
+
#: classes/class.swpm-membership-level.php:38
|
991 |
+
msgid "Membership Level Creation Successful."
|
992 |
+
msgstr "会員レベルを作成しました。"
|
993 |
|
994 |
+
#: classes/class.bMembers.php:107 classes/class.swpm-members.php:112
|
995 |
+
msgid "No Member found."
|
996 |
+
msgstr "会員が見つかりませんでした。"
|
997 |
|
998 |
+
#: classes/class.bMembers.php:23 classes/class.swpm-members.php:25
|
999 |
+
msgid "Account State"
|
1000 |
+
msgstr "アカウントの状態"
|
1001 |
|
1002 |
+
#: classes/class.bMembers.php:22 classes/class.swpm-members.php:24
|
1003 |
+
#: views/admin_member_form_common_part.php:11
|
1004 |
+
msgid "Access Starts"
|
1005 |
+
msgstr "アクセス開始日"
|
|
|
|
|
|
|
|
|
1006 |
|
1007 |
+
#: classes/class.bMembers.php:20 classes/class.swpm-members.php:22
|
1008 |
+
#: views/add.php:10 views/edit.php:8
|
1009 |
+
msgid "Email"
|
1010 |
+
msgstr "メール"
|
|
|
|
|
|
|
|
|
1011 |
|
1012 |
+
#: classes/class.bMembers.php:17 classes/class.swpm-members.php:19
|
1013 |
+
#: views/add.php:6 views/edit.php:4
|
1014 |
+
msgid "User Name"
|
1015 |
+
msgstr "ユーザー名"
|
1016 |
|
1017 |
+
#: classes/class.bMembers.php:8 classes/class.simple-wp-membership.php:464
|
1018 |
+
#: classes/class.swpm-members.php:10 views/admin_members_menu.php:2
|
1019 |
+
msgid "Members"
|
1020 |
+
msgstr "メンバー"
|
1021 |
|
1022 |
+
#: classes/class.bMembers.php:7 classes/class.swpm-members.php:9
|
1023 |
+
msgid "Member"
|
1024 |
+
msgstr "メンバー"
|
1025 |
|
1026 |
+
#: classes/class.bMemberUtils.php:22 classes/class.bMemberUtils.php:30
|
1027 |
+
#: classes/class.swpm-member-utils.php:22
|
1028 |
+
#: classes/class.swpm-member-utils.php:30
|
1029 |
+
#: classes/class.swpm-member-utils.php:38
|
1030 |
+
#: classes/class.swpm-member-utils.php:48
|
1031 |
+
msgid "User is not logged in."
|
1032 |
+
msgstr "ログインしていません。"
|
1033 |
|
1034 |
+
#: classes/class.bLevelForm.php:55 classes/class.swpm-level-form.php:55
|
1035 |
+
msgid "Access duration must be > 0."
|
1036 |
+
msgstr "有効期限の数値を1以上に設定してください。"
|
1037 |
|
1038 |
+
#: classes/class.bLevelForm.php:47 classes/class.swpm-level-form.php:47
|
1039 |
+
msgid "Date format is not valid."
|
1040 |
+
msgstr "日付の形式が有効ではありません。"
|
1041 |
|
1042 |
+
#: classes/class.bFrontRegistration.php:200
|
1043 |
+
#: classes/class.swpm-front-registration.php:224
|
1044 |
+
msgid "New password has been sent to your email address."
|
1045 |
+
msgstr "新しいパスワードがメールアドレスに送信されました。"
|
1046 |
|
1047 |
+
#: classes/class.bFrontRegistration.php:178
|
1048 |
+
#: classes/class.bFrontRegistration.php:201
|
1049 |
+
#: classes/class.swpm-front-registration.php:201
|
1050 |
+
#: classes/class.swpm-front-registration.php:225
|
1051 |
+
msgid "Email Address: "
|
1052 |
+
msgstr "メールアドレス: "
|
1053 |
|
1054 |
+
#: classes/class.bFrontRegistration.php:177
|
1055 |
+
msgid "No user not found with that email address."
|
1056 |
+
msgstr "このメールアドレスで登録されているユーザーが見つかりません。"
|
1057 |
|
1058 |
+
#: classes/class.bFrontRegistration.php:166
|
1059 |
+
#: classes/class.swpm-front-registration.php:189
|
1060 |
+
msgid "Email address not valid."
|
1061 |
+
msgstr "メールアドレスが有効ではありません。"
|
1062 |
|
1063 |
+
#: classes/class.bFrontRegistration.php:106
|
1064 |
+
#: classes/class.swpm-front-registration.php:123
|
1065 |
+
msgid "Membership Level Couldn't be found."
|
1066 |
+
msgstr "会員レベルが見つかりませんでした。"
|
1067 |
|
1068 |
+
#: classes/class.bFrontRegistration.php:72
|
1069 |
+
#: classes/class.bFrontRegistration.php:156
|
1070 |
+
#: classes/class.swpm-front-registration.php:92
|
1071 |
+
#: classes/class.swpm-front-registration.php:179
|
1072 |
+
msgid "Please correct the following"
|
1073 |
+
msgstr "下記の内容を修正してください"
|
1074 |
|
1075 |
+
#: classes/class.bFrontRegistration.php:61 classes/class.bSettings.php:392
|
1076 |
+
#: classes/class.swpm-front-registration.php:80
|
1077 |
+
#: classes/class.swpm-settings.php:377 views/login.php:21
|
1078 |
+
msgid "Login"
|
1079 |
+
msgstr "ログイン"
|
1080 |
|
1081 |
+
#: classes/class.bFrontRegistration.php:61 classes/class.bSettings.php:392
|
1082 |
+
#: classes/class.swpm-front-registration.php:80
|
1083 |
+
#: classes/class.swpm-settings.php:377
|
1084 |
+
msgid "Please"
|
1085 |
+
msgstr "お願い"
|
1086 |
|
1087 |
+
#: classes/class.bFrontRegistration.php:61
|
1088 |
+
#: classes/class.swpm-front-registration.php:80
|
1089 |
+
msgid "Registration Successful. "
|
1090 |
+
msgstr "登録が完了しました。"
|
1091 |
|
1092 |
+
#: classes/class.bForm.php:219 classes/class.swpm-form.php:209
|
1093 |
+
msgid "Invalid membership level"
|
1094 |
+
msgstr "会員レベルが無効です。"
|
1095 |
|
1096 |
+
#: classes/class.bForm.php:212 classes/class.swpm-form.php:202
|
1097 |
+
msgid "Account state field is invalid"
|
1098 |
+
msgstr "アカウントの状態の項目が無効です。"
|
1099 |
|
1100 |
+
#: classes/class.bForm.php:201 classes/class.swpm-form.php:191
|
1101 |
+
msgid "Gender field is invalid"
|
1102 |
+
msgstr "性別の項目が無効です。"
|
1103 |
|
1104 |
+
#: classes/class.bForm.php:191 classes/class.swpm-form.php:181
|
1105 |
+
msgid "Access starts field is invalid"
|
1106 |
+
msgstr "アクセス開始の項目が無効です。"
|
1107 |
|
1108 |
+
#: classes/class.bForm.php:180 classes/class.swpm-form.php:170
|
1109 |
+
msgid "Member since field is invalid"
|
1110 |
+
msgstr "会員登録日の項目が無効です。"
|
1111 |
|
1112 |
+
#: classes/class.bForm.php:113 classes/class.swpm-form.php:113
|
1113 |
+
msgid "Email is already used."
|
1114 |
+
msgstr "メールアドレスがすでに登録済みです。"
|
1115 |
+
|
1116 |
+
#: classes/class.bForm.php:97 classes/class.swpm-form.php:97
|
1117 |
+
msgid "Email is invalid"
|
1118 |
+
msgstr "メールアドレスは無効です"
|
1119 |
|
1120 |
+
#: classes/class.bForm.php:93 classes/class.swpm-form.php:93
|
1121 |
+
msgid "Email is required"
|
1122 |
+
msgstr "メールアドレスは必須です"
|
1123 |
|
1124 |
+
#: classes/class.bForm.php:82 classes/class.swpm-form.php:82
|
1125 |
+
msgid "Password mismatch"
|
1126 |
+
msgstr "パスワードが一致していません"
|
1127 |
|
1128 |
+
#: classes/class.bForm.php:75 classes/class.swpm-form.php:75
|
1129 |
+
msgid "Password is required"
|
1130 |
+
msgstr "パスワードは入力必須です"
|
1131 |
|
1132 |
+
#: classes/class.bForm.php:52 classes/class.swpm-form.php:52
|
1133 |
+
msgid "User name already exists."
|
1134 |
+
msgstr "ユーザー名がすでに登録済みです。"
|
1135 |
|
1136 |
+
#: classes/class.bForm.php:44 classes/class.swpm-form.php:44
|
1137 |
+
msgid "User name contains invalid character"
|
1138 |
+
msgstr "ユーザー名に無効の文字が含まれています。"
|
1139 |
|
1140 |
+
#: classes/class.bForm.php:40 classes/class.swpm-form.php:40
|
1141 |
+
msgid "User name is required"
|
1142 |
+
msgstr "ユーザー名は必須です"
|
1143 |
|
1144 |
+
#: classes/class.bForm.php:31 classes/class.swpm-form.php:31
|
1145 |
+
msgid "Wordpress account exists with given email. But given user name doesn't match."
|
1146 |
+
msgstr "同一のメールアドレスの WordPress アカウントが存在します。しかし、指定されたユーザー名は一致しません。"
|
1147 |
|
1148 |
+
#: classes/class.bForm.php:26 classes/class.swpm-form.php:26
|
1149 |
+
msgid "Wordpress account exists with given user name. But given email doesn't match."
|
1150 |
+
msgstr "同一のユーザー名の WordPress アカウントが存在します。しかし、指定されたメールアドレスは一致しません。"
|
1151 |
|
1152 |
+
#: classes/class.bCategoryList.php:78
|
1153 |
+
msgid "Updated! "
|
1154 |
+
msgstr "更新しました。"
|
1155 |
|
1156 |
+
#: classes/class.bCategoryList.php:37 classes/class.swpm-category-list.php:36
|
1157 |
+
msgid "Count"
|
1158 |
+
msgstr "数"
|
|
|
|
|
|
|
|
|
|
|
1159 |
|
1160 |
+
#: classes/class.bCategoryList.php:36 classes/class.swpm-category-list.php:35
|
1161 |
+
msgid "Description"
|
1162 |
+
msgstr "説明"
|
1163 |
|
1164 |
+
#: classes/class.bCategoryList.php:35 classes/class.swpm-category-list.php:34
|
1165 |
+
msgid "Name"
|
1166 |
+
msgstr "名称"
|
1167 |
|
1168 |
+
#: classes/class.bCategoryList.php:34 classes/class.bMembers.php:16
|
1169 |
+
#: classes/class.bMembershipLevels.php:16
|
1170 |
+
#: classes/class.swpm-category-list.php:33 classes/class.swpm-members.php:18
|
1171 |
+
#: classes/class.swpm-membership-levels.php:19
|
1172 |
+
msgid "ID"
|
1173 |
+
msgstr "ID"
|
1174 |
|
1175 |
+
#: classes/class.bCategoryList.php:20 classes/class.bMembershipLevels.php:9
|
1176 |
+
#: classes/class.simple-wp-membership.php:465
|
1177 |
+
#: classes/class.swpm-category-list.php:20
|
1178 |
+
#: classes/class.swpm-membership-levels.php:11
|
1179 |
+
msgid "Membership Levels"
|
1180 |
+
msgstr "会員レベル"
|
1181 |
|
1182 |
+
#: classes/class.bAuth.php:224
|
1183 |
+
msgid "Sorry! Something went wrong"
|
1184 |
+
msgstr "間違いがあります。"
|
1185 |
|
1186 |
+
#: classes/class.bAuth.php:216 classes/class.swpm-auth.php:219
|
1187 |
+
msgid "Invalid User Name"
|
1188 |
+
msgstr "無効なユーザー名です。"
|
1189 |
|
1190 |
+
#: classes/class.bAuth.php:208 classes/class.swpm-auth.php:210
|
1191 |
+
msgid "Session Expired."
|
1192 |
+
msgstr "セッションが期限切れです。"
|
1193 |
|
1194 |
+
#: classes/class.bAuth.php:158 classes/class.swpm-auth.php:160
|
1195 |
+
msgid "Logged Out Successfully."
|
1196 |
+
msgstr "ログアウトしました。"
|
1197 |
|
1198 |
+
#: classes/class.bAuth.php:116 classes/class.swpm-auth.php:114
|
1199 |
+
msgid "You are logged in as:"
|
1200 |
msgstr "ログイン名:"
|
1201 |
|
1202 |
+
#: classes/class.bAuth.php:86 classes/class.bAuth.php:108
|
1203 |
+
#: classes/class.swpm-auth.php:88 classes/class.swpm-auth.php:106
|
1204 |
+
msgid "Account has expired."
|
1205 |
+
msgstr "アカウントが期限切れです。"
|
1206 |
|
1207 |
+
#: classes/class.bAuth.php:82 classes/class.swpm-auth.php:85
|
1208 |
+
msgid "Account is pending."
|
1209 |
+
msgstr "アカウントが保留中です。"
|
1210 |
|
1211 |
+
#: classes/class.bAuth.php:78 classes/class.swpm-auth.php:82
|
1212 |
+
msgid "Account is inactive."
|
1213 |
+
msgstr "アカウントが無効です。"
|
1214 |
|
1215 |
+
#: classes/class.bAuth.php:53 classes/class.swpm-auth.php:57
|
1216 |
+
msgid "Password Empty or Invalid."
|
1217 |
+
msgstr "パスワードが未記入または無効です。"
|
1218 |
|
1219 |
+
#: classes/class.bAuth.php:46 classes/class.swpm-auth.php:50
|
1220 |
+
msgid "User Not Found."
|
1221 |
+
msgstr "ユーザーが見つかりません。"
|
1222 |
|
1223 |
+
#: classes/class.bAjax.php:33 classes/class.swpm-ajax.php:33
|
1224 |
+
msgid "Available"
|
1225 |
+
msgstr "有効"
|
1226 |
|
1227 |
+
#: classes/class.bAjax.php:21 classes/class.bAjax.php:32
|
1228 |
+
#: classes/class.swpm-ajax.php:21 classes/class.swpm-ajax.php:32
|
1229 |
+
msgid "Aready taken"
|
1230 |
+
msgstr "すでに取得済みです。"
|
1231 |
|
1232 |
+
#: classes/class.bAjax.php:14 classes/class.swpm-ajax.php:14
|
1233 |
+
msgid "Invalid Email Address"
|
1234 |
+
msgstr "メールアドレスが無効です。"
|
1235 |
|
1236 |
+
#: classes/class.bAdminRegistration.php:53
|
1237 |
+
#: classes/class.bAdminRegistration.php:89
|
1238 |
+
#: classes/class.bMembershipLevel.php:42 classes/class.bMembershipLevel.php:61
|
1239 |
+
#: classes/class.swpm-admin-registration.php:59
|
1240 |
+
#: classes/class.swpm-admin-registration.php:100
|
1241 |
+
#: classes/class.swpm-membership-level.php:43
|
1242 |
+
#: classes/class.swpm-membership-level.php:62
|
1243 |
+
msgid "Please correct the following:"
|
1244 |
+
msgstr "以下の内容を修正してください。"
|
1245 |
|
1246 |
+
#: classes/class.bAdminRegistration.php:48
|
1247 |
+
msgid "Registration Successful."
|
1248 |
+
msgstr "登録が完了しました。"
|
1249 |
|
1250 |
+
#: classes/class.bAccessControl.php:88 classes/class.bAccessControl.php:106
|
1251 |
+
#: classes/class.swpm-access-control.php:88
|
1252 |
+
#: classes/class.swpm-access-control.php:106
|
1253 |
+
msgid "You need to login to view the rest of the content. "
|
1254 |
+
msgstr "このコンテンツを閲覧するにはログインが必要です。"
|
1255 |
|
1256 |
+
#: classes/class.bAccessControl.php:84 classes/class.swpm-access-control.php:84
|
1257 |
+
msgid " The rest of the content is not permitted for your membership level."
|
1258 |
+
msgstr "これからの先のコンテンツはあなたの会員レベルでは閲覧できません。"
|
1259 |
|
1260 |
+
#: classes/class.bAccessControl.php:46 classes/class.bAccessControl.php:66
|
1261 |
+
#: classes/class.swpm-access-control.php:46
|
1262 |
+
#: classes/class.swpm-access-control.php:66
|
1263 |
+
msgid "This content is not permitted for your membership level."
|
1264 |
+
msgstr "このコンテンツはあなたの会員レベルでは閲覧できません。"
|
1265 |
|
1266 |
+
#: classes/class.bAccessControl.php:34 classes/class.bAccessControl.php:60
|
1267 |
+
#: classes/class.swpm-access-control.php:34
|
1268 |
+
#: classes/class.swpm-access-control.php:60
|
1269 |
+
msgid "Your account has expired. Please renew your account to gain access to this content."
|
1270 |
+
msgstr "アカウントが期限切れです。アカウントの更新が必要です。"
|
1271 |
|
1272 |
+
#: classes/class.bAccessControl.php:21 classes/class.bAccessControl.php:28
|
1273 |
+
#: classes/class.bAccessControl.php:55 classes/class.swpm-access-control.php:21
|
1274 |
+
#: classes/class.swpm-access-control.php:28
|
1275 |
+
#: classes/class.swpm-access-control.php:55
|
1276 |
+
msgid "You need to login to view this content. "
|
1277 |
+
msgstr "このコンテンツを閲覧するにはログインが必要です。"
|
1278 |
|
1279 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:53
|
1280 |
+
#: classes/class.bCategoryList.php:19 classes/class.bMembers.php:21
|
1281 |
+
#: classes/class.bMembershipLevels.php:8 classes/class.bMembershipLevels.php:17
|
1282 |
+
#: classes/class.swpm-category-list.php:19 classes/class.swpm-members.php:23
|
1283 |
+
#: classes/class.swpm-membership-levels.php:10
|
1284 |
+
#: classes/class.swpm-membership-levels.php:20 views/add.php:30
|
1285 |
+
#: views/admin_member_form_common_part.php:2 views/edit.php:52
|
1286 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:36
|
1287 |
+
#: views/payments/payment-gateway/admin_paypal_buy_now_button.php:217
|
1288 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:37
|
1289 |
+
#: views/payments/payment-gateway/admin_paypal_subscription_button.php:310
|
1290 |
+
msgid "Membership Level"
|
1291 |
+
msgstr "会員レベル"
|
1292 |
|
1293 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:52
|
1294 |
+
msgid "Amount"
|
1295 |
+
msgstr "金額"
|
1296 |
|
1297 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:51
|
1298 |
+
msgid "Transaction ID"
|
1299 |
+
msgstr "トランザクション ID"
|
1300 |
|
1301 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:50
|
1302 |
+
msgid "Date"
|
1303 |
+
msgstr "日付"
|
|
|
|
|
|
|
1304 |
|
1305 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:49
|
1306 |
+
#: classes/class.bMembers.php:19 classes/class.swpm-members.php:21
|
1307 |
+
#: views/add.php:26 views/admin_member_form_common_part.php:19
|
1308 |
+
#: views/edit.php:24
|
1309 |
+
msgid "Last Name"
|
1310 |
+
msgstr "姓"
|
1311 |
|
1312 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:48
|
1313 |
+
#: classes/class.bMembers.php:18 classes/class.swpm-members.php:20
|
1314 |
+
#: views/add.php:22 views/admin_member_form_common_part.php:15
|
1315 |
+
#: views/edit.php:20
|
1316 |
+
msgid "First Name"
|
1317 |
+
msgstr "名"
|
1318 |
|
1319 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:47
|
1320 |
+
#: views/forgot_password.php:5
|
1321 |
+
msgid "Email Address"
|
1322 |
+
msgstr "メールアドレス"
|
|
|
|
|
1323 |
|
1324 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:46
|
1325 |
+
msgid "Row ID"
|
1326 |
+
msgstr "列 ID"
|
|
|
|
|
|
|
1327 |
|
1328 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:106
|
1329 |
+
#: views/admin_members_list.php:15 views/admin_payments_page.php:37
|
1330 |
+
#: views/payments/admin_all_payment_transactions.php:33
|
1331 |
+
msgid "The selected entry was deleted!"
|
1332 |
+
msgstr "選択したエントリーは削除されました。"
|
|
|
1333 |
|
1334 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:80
|
1335 |
+
#: classes/admin-includes/class.swpm-payments-list-table.php:68
|
1336 |
+
#: classes/class.bMembers.php:36 classes/class.bMembershipLevels.php:30
|
1337 |
+
#: classes/class.swpm-members.php:38
|
1338 |
+
#: classes/class.swpm-membership-levels.php:35
|
1339 |
+
msgid "Delete"
|
1340 |
+
msgstr "削除"
|
1341 |
|
1342 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:66
|
1343 |
+
msgid "Button Shortcode"
|
1344 |
+
msgstr "ショートコードボタン"
|
|
|
|
|
|
|
1345 |
|
1346 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:65
|
1347 |
+
msgid "Membership Level ID"
|
1348 |
+
msgstr "会員レベル ID"
|
|
|
1349 |
|
1350 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:64
|
1351 |
+
msgid "Payment Button Title"
|
1352 |
+
msgstr "支払ボタンタイトル"
|
|
|
1353 |
|
1354 |
+
#: classes/admin-includes/class.swpm-payment-buttons-list-table.php:63
|
1355 |
+
msgid "Payment Button ID"
|
1356 |
+
msgstr "支払ボタン ID"
|
|
|
1357 |
|
1358 |
+
#: classes/class.swpm-front-registration.php:140
|
1359 |
+
msgid "You need to confirm your email address. Please check your email and follow instructions to complete your registration."
|
1360 |
+
msgstr "アカウントのご登録ありがとうございます。ご登録いただいたメールアドレスに、ご本人確認の案内をお送りいたしました。メールに記載のURLにアクセスいただき、登録を完了させてください。"
|
|
|
1361 |
|
1362 |
+
#: views/login.php:11
|
1363 |
+
msgid "Username or Email"
|
1364 |
+
msgstr "ユーザー名またはメールアドレス"
|
|
|
1365 |
|
1366 |
+
#: views/login.php:33
|
1367 |
+
msgid "Forgot Password?"
|
1368 |
+
msgstr "パスワードをお忘れですか?"
|
|
|
1369 |
|
1370 |
+
#: swpm-form-builder/classes/class.swpm-fb-fieldmeta.php:423
|
1371 |
+
msgid "Type password here"
|
1372 |
+
msgstr "ここにパスワードを入力してください"
|
|
|
|
|
|
|
1373 |
|
1374 |
+
#: swpm-form-builder/classes/class.swpm-fb-fieldmeta.php:427
|
1375 |
+
msgid "Retype password here"
|
1376 |
+
msgstr "ここにパスワードを再入力してください"
|
|
|
1377 |
|
1378 |
+
#: classes/class.swpm-front-registration.php:397
|
1379 |
+
msgid "Success! Your account has been activated successfully."
|
1380 |
+
msgstr "ご本人確認が完了しました。有効なアカウントです。"
|
|
|
1381 |
|
1382 |
+
#: classes/class.swpm-front-registration.php:383
|
1383 |
+
msgid "Activation code mismatch. Cannot activate this account. Please contact the site admin."
|
1384 |
+
msgstr "アクティベーションコードが一致しないため、このアカウントを有効にすることはできません。 サイト管理者に連絡してください。"
|
|
|
1385 |
|
1386 |
+
#: classes/class.swpm-front-registration.php:443
|
1387 |
+
msgid "Activation email has been sent. Please check your email and activate your account."
|
1388 |
+
msgstr "アクティベーションメールが送信されました。 メールを確認してアカウントを有効にしてください。"
|
|
|
1389 |
|
1390 |
+
#: classes/class.swpm-utils-misc.php:168
|
1391 |
+
msgid "You will be automatically redirected in a few seconds. If not, please %s."
|
1392 |
+
msgstr "数秒後に自動でリダイレクトされます。リダイレクトされない場合は %s してください。"
|
1393 |
+
|
1394 |
+
#: classes/class.swpm-utils-misc.php:169
|
1395 |
+
msgid "click here"
|
1396 |
+
msgstr "こちらをクリック"
|
1397 |
+
|
1398 |
+
#: classes/class.swpm-auth.php:146
|
1399 |
+
msgid "You need to activate your account. If you didn't receive an email then %s to resend the activation email."
|
1400 |
+
msgstr "アカウントを有効にする必要があります。 アクティベーションメールが見当たらない場合は %s して再送します。"
|
languages/simple-membership.pot
CHANGED
@@ -101,6 +101,18 @@ msgstr ""
|
|
101 |
msgid "This field is required"
|
102 |
msgstr ""
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
#: classes/class.simple-wp-membership.php:659 classes/class.swpm-auth.php:296
|
105 |
msgid "Invalid Username"
|
106 |
msgstr ""
|
@@ -2697,6 +2709,9 @@ msgstr ""
|
|
2697 |
msgid "HTTP error occured during payment process:"
|
2698 |
msgstr ""
|
2699 |
|
|
|
|
|
|
|
2700 |
#: Translation strings from addons === Form builder addon
|
2701 |
msgid "Type password here"
|
2702 |
msgstr ""
|
@@ -2749,6 +2764,9 @@ msgstr ""
|
|
2749 |
msgid "Username can only contain: letters, numbers and .-*@"
|
2750 |
msgstr ""
|
2751 |
|
|
|
|
|
|
|
2752 |
#: === Partial protection addon strings
|
2753 |
msgid "You do not have permission to view this content."
|
2754 |
msgstr ""
|
101 |
msgid "This field is required"
|
102 |
msgstr ""
|
103 |
|
104 |
+
msgid "Password must contain at least:"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
msgid "- a digit"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
msgid "- an uppercase letter"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
msgid "- a lowercase letter"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
#: classes/class.simple-wp-membership.php:659 classes/class.swpm-auth.php:296
|
117 |
msgid "Invalid Username"
|
118 |
msgstr ""
|
2709 |
msgid "HTTP error occured during payment process:"
|
2710 |
msgstr ""
|
2711 |
|
2712 |
+
msgid "You need to confirm your email address. Please check your email and follow instructions to complete your registration."
|
2713 |
+
msgstr ""
|
2714 |
+
|
2715 |
#: Translation strings from addons === Form builder addon
|
2716 |
msgid "Type password here"
|
2717 |
msgstr ""
|
2764 |
msgid "Username can only contain: letters, numbers and .-*@"
|
2765 |
msgstr ""
|
2766 |
|
2767 |
+
msgid "Allowed characters are: letters, numbers and .-_*@"
|
2768 |
+
msgstr ""
|
2769 |
+
|
2770 |
#: === Partial protection addon strings
|
2771 |
msgid "You do not have permission to view this content."
|
2772 |
msgstr ""
|
lib/braintree/lib/Braintree.php
CHANGED
@@ -2,8 +2,6 @@
|
|
2 |
/**
|
3 |
* Braintree PHP Library
|
4 |
* Creates class_aliases for old class names replaced by PSR-4 Namespaces
|
5 |
-
*
|
6 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
7 |
*/
|
8 |
|
9 |
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'autoload.php');
|
@@ -12,14 +10,15 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
|
|
12 |
throw new Braintree_Exception('PHP version >= 5.4.0 required');
|
13 |
}
|
14 |
|
15 |
-
|
16 |
-
function requireDependencies() {
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
21 |
}
|
22 |
}
|
23 |
}
|
24 |
|
25 |
-
requireDependencies();
|
2 |
/**
|
3 |
* Braintree PHP Library
|
4 |
* Creates class_aliases for old class names replaced by PSR-4 Namespaces
|
|
|
|
|
5 |
*/
|
6 |
|
7 |
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'autoload.php');
|
10 |
throw new Braintree_Exception('PHP version >= 5.4.0 required');
|
11 |
}
|
12 |
|
13 |
+
class Braintree {
|
14 |
+
public static function requireDependencies() {
|
15 |
+
$requiredExtensions = ['xmlwriter', 'openssl', 'dom', 'hash', 'curl'];
|
16 |
+
foreach ($requiredExtensions AS $ext) {
|
17 |
+
if (!extension_loaded($ext)) {
|
18 |
+
throw new Braintree_Exception('The Braintree library requires the ' . $ext . ' extension.');
|
19 |
+
}
|
20 |
}
|
21 |
}
|
22 |
}
|
23 |
|
24 |
+
Braintree::requireDependencies();
|
lib/braintree/lib/Braintree/AccountUpdaterDailyReport.php
CHANGED
@@ -6,11 +6,9 @@ namespace Braintree;
|
|
6 |
*
|
7 |
*
|
8 |
* @package Braintree
|
9 |
-
* @copyright 2016 Braintree, a division of PayPal, Inc.
|
10 |
*
|
11 |
* @property-read string $reportUrl
|
12 |
* @property-read date $reportDate
|
13 |
-
* @property-read date $receivedDate
|
14 |
*/
|
15 |
class AccountUpdaterDailyReport extends Base
|
16 |
{
|
6 |
*
|
7 |
*
|
8 |
* @package Braintree
|
|
|
9 |
*
|
10 |
* @property-read string $reportUrl
|
11 |
* @property-read date $reportDate
|
|
|
12 |
*/
|
13 |
class AccountUpdaterDailyReport extends Base
|
14 |
{
|
lib/braintree/lib/Braintree/AchMandate.php
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree AchMandate module
|
6 |
+
* PHP Version 5
|
7 |
+
*
|
8 |
+
* @package Braintree
|
9 |
+
*
|
10 |
+
* @property-read string $text
|
11 |
+
* @property-read string $acceptedAt
|
12 |
+
*/
|
13 |
+
class AchMandate extends Base
|
14 |
+
{
|
15 |
+
/**
|
16 |
+
* create a printable representation of the object as:
|
17 |
+
* ClassName[property=value, property=value]
|
18 |
+
* @ignore
|
19 |
+
* @return string
|
20 |
+
*/
|
21 |
+
public function __toString()
|
22 |
+
{
|
23 |
+
return __CLASS__ . '[' .
|
24 |
+
Util::attributesToString($this->_attributes) . ']';
|
25 |
+
}
|
26 |
+
|
27 |
+
/**
|
28 |
+
* sets instance properties from an array of values
|
29 |
+
*
|
30 |
+
* @ignore
|
31 |
+
* @access protected
|
32 |
+
* @param array $achAttribs array of achMandate data
|
33 |
+
* @return void
|
34 |
+
*/
|
35 |
+
protected function _initialize($achAttribs)
|
36 |
+
{
|
37 |
+
// set the attributes
|
38 |
+
$this->_attributes = $achAttribs;
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* factory method: returns an instance of AchMandate
|
43 |
+
* to the requesting method, with populated properties
|
44 |
+
* @ignore
|
45 |
+
* @return AchMandate
|
46 |
+
*/
|
47 |
+
public static function factory($attributes)
|
48 |
+
{
|
49 |
+
$instance = new self();
|
50 |
+
$instance->_initialize($attributes);
|
51 |
+
return $instance;
|
52 |
+
|
53 |
+
}
|
54 |
+
}
|
55 |
+
class_alias('Braintree\AchMandate', 'Braintree_Mandate');
|
lib/braintree/lib/Braintree/AddOn.php
CHANGED
@@ -1,6 +1,20 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
class AddOn extends Modification
|
5 |
{
|
6 |
/**
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* @property-read string $amount
|
6 |
+
* @property-read \DateTime $createdAt
|
7 |
+
* @property-read int|null $currentBillingCycle
|
8 |
+
* @property-read string $description
|
9 |
+
* @property-read string $id
|
10 |
+
* @property-read string|null $kind
|
11 |
+
* @property-read string $merchantId
|
12 |
+
* @property-read string $name
|
13 |
+
* @property-read boolean $neverExpires
|
14 |
+
* @property-read int|null $numberOfBillingCycles
|
15 |
+
* @property-read int|null $quantity
|
16 |
+
* @property-read \DateTime $updatedAt
|
17 |
+
*/
|
18 |
class AddOn extends Modification
|
19 |
{
|
20 |
/**
|
lib/braintree/lib/Braintree/Address.php
CHANGED
@@ -11,11 +11,10 @@ namespace Braintree;
|
|
11 |
* as the shipping address when creating a Transaction.
|
12 |
*
|
13 |
* @package Braintree
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*
|
16 |
* @property-read string $company
|
17 |
* @property-read string $countryName
|
18 |
-
* @property-read
|
19 |
* @property-read string $customerId
|
20 |
* @property-read string $extendedAddress
|
21 |
* @property-read string $firstName
|
@@ -25,7 +24,7 @@ namespace Braintree;
|
|
25 |
* @property-read string $postalCode
|
26 |
* @property-read string $region
|
27 |
* @property-read string $streetAddress
|
28 |
-
* @property-read
|
29 |
*/
|
30 |
class Address extends Base
|
31 |
{
|
11 |
* as the shipping address when creating a Transaction.
|
12 |
*
|
13 |
* @package Braintree
|
|
|
14 |
*
|
15 |
* @property-read string $company
|
16 |
* @property-read string $countryName
|
17 |
+
* @property-read \DateTime $createdAt
|
18 |
* @property-read string $customerId
|
19 |
* @property-read string $extendedAddress
|
20 |
* @property-read string $firstName
|
24 |
* @property-read string $postalCode
|
25 |
* @property-read string $region
|
26 |
* @property-read string $streetAddress
|
27 |
+
* @property-read \DateTime $updatedAt
|
28 |
*/
|
29 |
class Address extends Base
|
30 |
{
|
lib/braintree/lib/Braintree/AddressGateway.php
CHANGED
@@ -13,7 +13,6 @@ use InvalidArgumentException;
|
|
13 |
* as the shipping address when creating a Transaction.
|
14 |
*
|
15 |
* @package Braintree
|
16 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
17 |
*/
|
18 |
class AddressGateway
|
19 |
{
|
13 |
* as the shipping address when creating a Transaction.
|
14 |
*
|
15 |
* @package Braintree
|
|
|
16 |
*/
|
17 |
class AddressGateway
|
18 |
{
|
lib/braintree/lib/Braintree/AmexExpressCheckoutCard.php
CHANGED
@@ -11,22 +11,21 @@ namespace Braintree;
|
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*
|
16 |
-
* @property-read string $createdAt
|
17 |
-
* @property-read string $default
|
18 |
-
* @property-read string $updatedAt
|
19 |
-
* @property-read string $customerId
|
20 |
-
* @property-read string $cardType
|
21 |
* @property-read string $bin
|
22 |
* @property-read string $cardMemberExpiryDate
|
23 |
* @property-read string $cardMemberNumber
|
24 |
* @property-read string $cardType
|
25 |
-
* @property-read
|
26 |
-
* @property-read string $
|
27 |
-
* @property-read
|
28 |
* @property-read string $expirationMonth
|
29 |
* @property-read string $expirationYear
|
|
|
|
|
|
|
|
|
|
|
30 |
*/
|
31 |
class AmexExpressCheckoutCard extends Base
|
32 |
{
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
|
|
14 |
*
|
|
|
|
|
|
|
|
|
|
|
15 |
* @property-read string $bin
|
16 |
* @property-read string $cardMemberExpiryDate
|
17 |
* @property-read string $cardMemberNumber
|
18 |
* @property-read string $cardType
|
19 |
+
* @property-read \DateTime $createdAt
|
20 |
+
* @property-read string $customerId
|
21 |
+
* @property-read boolean $default
|
22 |
* @property-read string $expirationMonth
|
23 |
* @property-read string $expirationYear
|
24 |
+
* @property-read string $imageUrl
|
25 |
+
* @property-read string $token
|
26 |
+
* @property-read string $sourceDescription
|
27 |
+
* @property-read \Braintree\Subscription[] $subscriptions
|
28 |
+
* @property-read \DateTime $updatedAt
|
29 |
*/
|
30 |
class AmexExpressCheckoutCard extends Base
|
31 |
{
|
lib/braintree/lib/Braintree/AndroidPayCard.php
CHANGED
@@ -11,13 +11,12 @@ namespace Braintree;
|
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*
|
16 |
* @property-read string $bin
|
17 |
* @property-read string $cardType
|
18 |
-
* @property-read
|
19 |
* @property-read string $customerId
|
20 |
-
* @property-read
|
21 |
* @property-read string $expirationMonth
|
22 |
* @property-read string $expirationYear
|
23 |
* @property-read string $googleTransactionId
|
@@ -26,8 +25,9 @@ namespace Braintree;
|
|
26 |
* @property-read string $sourceCardLast4
|
27 |
* @property-read string $sourceCardType
|
28 |
* @property-read string $sourceDescription
|
|
|
29 |
* @property-read string $token
|
30 |
-
* @property-read
|
31 |
* @property-read string $virtualCardLast4
|
32 |
* @property-read string $virtualCardType
|
33 |
*/
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
|
|
14 |
*
|
15 |
* @property-read string $bin
|
16 |
* @property-read string $cardType
|
17 |
+
* @property-read \DateTime $createdAt
|
18 |
* @property-read string $customerId
|
19 |
+
* @property-read boolean $default
|
20 |
* @property-read string $expirationMonth
|
21 |
* @property-read string $expirationYear
|
22 |
* @property-read string $googleTransactionId
|
25 |
* @property-read string $sourceCardLast4
|
26 |
* @property-read string $sourceCardType
|
27 |
* @property-read string $sourceDescription
|
28 |
+
* @property-read \Braintree\Subscription[] $subscriptions
|
29 |
* @property-read string $token
|
30 |
+
* @property-read \DateTime $updatedAt
|
31 |
* @property-read string $virtualCardLast4
|
32 |
* @property-read string $virtualCardType
|
33 |
*/
|
lib/braintree/lib/Braintree/ApplePayCard.php
CHANGED
@@ -11,20 +11,23 @@ namespace Braintree;
|
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*
|
|
|
16 |
* @property-read string $cardType
|
17 |
-
* @property-read
|
18 |
* @property-read string $customerId
|
|
|
19 |
* @property-read string $expirationDate
|
20 |
* @property-read string $expirationMonth
|
21 |
* @property-read string $expirationYear
|
|
|
22 |
* @property-read string $imageUrl
|
23 |
* @property-read string $last4
|
24 |
* @property-read string $token
|
25 |
* @property-read string $paymentInstrumentName
|
26 |
* @property-read string $sourceDescription
|
27 |
-
* @property-read
|
|
|
28 |
*/
|
29 |
class ApplePayCard extends Base
|
30 |
{
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
|
|
14 |
*
|
15 |
+
* @property-read string $bin
|
16 |
* @property-read string $cardType
|
17 |
+
* @property-read \DateTime $createdAt
|
18 |
* @property-read string $customerId
|
19 |
+
* @property-read boolean $default
|
20 |
* @property-read string $expirationDate
|
21 |
* @property-read string $expirationMonth
|
22 |
* @property-read string $expirationYear
|
23 |
+
* @property-read boolean $expired
|
24 |
* @property-read string $imageUrl
|
25 |
* @property-read string $last4
|
26 |
* @property-read string $token
|
27 |
* @property-read string $paymentInstrumentName
|
28 |
* @property-read string $sourceDescription
|
29 |
+
* @property-read \Braintree\Subscription[] $subscriptions
|
30 |
+
* @property-read \DateTime $updatedAt
|
31 |
*/
|
32 |
class ApplePayCard extends Base
|
33 |
{
|
lib/braintree/lib/Braintree/ApplePayGateway.php
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree ApplePayGateway module
|
6 |
+
* Manages Apple Pay for Web
|
7 |
+
*
|
8 |
+
* @package Braintree
|
9 |
+
* @category Resources
|
10 |
+
*/
|
11 |
+
class ApplePayGateway
|
12 |
+
{
|
13 |
+
private $_gateway;
|
14 |
+
private $_config;
|
15 |
+
private $_http;
|
16 |
+
|
17 |
+
public function __construct($gateway)
|
18 |
+
{
|
19 |
+
$this->_gateway = $gateway;
|
20 |
+
$this->_config = $gateway->config;
|
21 |
+
$this->_config->assertHasAccessTokenOrKeys();
|
22 |
+
$this->_http = new Http($gateway->config);
|
23 |
+
}
|
24 |
+
|
25 |
+
public function registerDomain($domain)
|
26 |
+
{
|
27 |
+
$path = $this->_config->merchantPath() . '/processing/apple_pay/validate_domains';
|
28 |
+
$response = $this->_http->post($path, ['url' => $domain]);
|
29 |
+
if (array_key_exists('response', $response) && $response['response']['success'])
|
30 |
+
{
|
31 |
+
return new Result\Successful;
|
32 |
+
}
|
33 |
+
else if (array_key_exists('apiErrorResponse', $response))
|
34 |
+
{
|
35 |
+
return new Result\Error($response['apiErrorResponse']);
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
public function unregisterDomain($domain)
|
40 |
+
{
|
41 |
+
$path = $this->_config->merchantPath() . '/processing/apple_pay/unregister_domain';
|
42 |
+
$this->_http->delete($path, ['url' => $domain]);
|
43 |
+
return new Result\Successful;
|
44 |
+
}
|
45 |
+
|
46 |
+
public function registeredDomains()
|
47 |
+
{
|
48 |
+
$path = $this->_config->merchantPath() . '/processing/apple_pay/registered_domains';
|
49 |
+
$response = $this->_http->get($path);
|
50 |
+
if (array_key_exists('response', $response) && array_key_exists('domains', $response['response']))
|
51 |
+
{
|
52 |
+
$options = ApplePayOptions::factory($response['response']);
|
53 |
+
return new Result\Successful($options, 'applePayOptions');
|
54 |
+
}
|
55 |
+
else if (array_key_exists('apiErrorResponse', $response))
|
56 |
+
{
|
57 |
+
return new Result\Error($response['apiErrorResponse']);
|
58 |
+
}
|
59 |
+
else
|
60 |
+
{
|
61 |
+
throw new Exception\Unexpected('expected response or apiErrorResponse');
|
62 |
+
}
|
63 |
+
}
|
64 |
+
}
|
65 |
+
class_alias('Braintree\ApplePayGateway', 'Braintree_ApplePayGateway');
|
lib/braintree/lib/Braintree/ApplePayOptions.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree ApplePayOptions module
|
6 |
+
* Manages configuration and options for Apple Pay
|
7 |
+
*
|
8 |
+
* @package Braintree
|
9 |
+
* @category Resources
|
10 |
+
*
|
11 |
+
* @property-read array $domains
|
12 |
+
*/
|
13 |
+
|
14 |
+
class ApplePayOptions extends Base
|
15 |
+
{
|
16 |
+
public static function factory($attributes)
|
17 |
+
{
|
18 |
+
$instance = new self();
|
19 |
+
$instance->_initialize($attributes);
|
20 |
+
return $instance;
|
21 |
+
}
|
22 |
+
|
23 |
+
protected function _initialize($attributes)
|
24 |
+
{
|
25 |
+
$this->_attributes = $attributes;
|
26 |
+
}
|
27 |
+
}
|
28 |
+
class_alias('Braintree\ApplePayOptions', 'Braintree_ApplePayOptions');
|
lib/braintree/lib/Braintree/AuthorizationAdjustment.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Creates an instance of AuthorizationAdjustment as returned from a transaction
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
*
|
9 |
+
* @property-read string $amount
|
10 |
+
* @property-read boolean $success
|
11 |
+
* @property-read \DateTime $timestamp
|
12 |
+
*
|
13 |
+
*/
|
14 |
+
|
15 |
+
class AuthorizationAdjustment extends Base
|
16 |
+
{
|
17 |
+
public static function factory($attributes)
|
18 |
+
{
|
19 |
+
$instance = new self();
|
20 |
+
$instance->_initialize($attributes);
|
21 |
+
|
22 |
+
return $instance;
|
23 |
+
}
|
24 |
+
|
25 |
+
protected function _initialize($authorizationAdjustmentAttribs)
|
26 |
+
{
|
27 |
+
$this->_attributes = $authorizationAdjustmentAttribs;
|
28 |
+
}
|
29 |
+
|
30 |
+
public function __toString()
|
31 |
+
{
|
32 |
+
return __CLASS__ . '[' . Util::attributesToString($this->_attributes) . ']';
|
33 |
+
}
|
34 |
+
}
|
35 |
+
class_alias('Braintree\AuthorizationAdjustment', 'Braintree_Authorization_Adjustment');
|
lib/braintree/lib/Braintree/Base.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
4 |
/**
|
5 |
* Braintree PHP Library.
|
6 |
*
|
@@ -8,10 +10,8 @@ namespace Braintree;
|
|
8 |
* Provides methods to child classes. This class cannot be instantiated.
|
9 |
*
|
10 |
* PHP version 5
|
11 |
-
*
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*/
|
14 |
-
abstract class Base
|
15 |
{
|
16 |
protected $_attributes = [];
|
17 |
|
@@ -52,7 +52,7 @@ abstract class Base
|
|
52 |
}
|
53 |
|
54 |
/**
|
55 |
-
* Checks for the
|
56 |
*
|
57 |
* @ignore
|
58 |
* @param string $name
|
@@ -74,4 +74,15 @@ abstract class Base
|
|
74 |
{
|
75 |
$this->_attributes[$key] = $value;
|
76 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
}
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
use JsonSerializable;
|
5 |
+
|
6 |
/**
|
7 |
* Braintree PHP Library.
|
8 |
*
|
10 |
* Provides methods to child classes. This class cannot be instantiated.
|
11 |
*
|
12 |
* PHP version 5
|
|
|
|
|
13 |
*/
|
14 |
+
abstract class Base implements JsonSerializable
|
15 |
{
|
16 |
protected $_attributes = [];
|
17 |
|
52 |
}
|
53 |
|
54 |
/**
|
55 |
+
* Checks for the existence of a property stored in the private $_attributes property
|
56 |
*
|
57 |
* @ignore
|
58 |
* @param string $name
|
74 |
{
|
75 |
$this->_attributes[$key] = $value;
|
76 |
}
|
77 |
+
|
78 |
+
/**
|
79 |
+
* Implementation of JsonSerializable
|
80 |
+
*
|
81 |
+
* @ignore
|
82 |
+
* @return array
|
83 |
+
*/
|
84 |
+
public function jsonSerialize()
|
85 |
+
{
|
86 |
+
return $this->_attributes;
|
87 |
+
}
|
88 |
}
|
lib/braintree/lib/Braintree/BinData.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* @property-read string $commercial
|
6 |
+
* @property-read string $countryOfIssuance
|
7 |
+
* @property-read string $debit
|
8 |
+
* @property-read string $durbinRegulated
|
9 |
+
* @property-read string $healthcare
|
10 |
+
* @property-read string $issuingBank
|
11 |
+
* @property-read string $payroll
|
12 |
+
* @property-read string $prepaid
|
13 |
+
* @property-read string $productId
|
14 |
+
*/
|
15 |
+
class BinData extends Base
|
16 |
+
{
|
17 |
+
public static function factory($attributes)
|
18 |
+
{
|
19 |
+
$instance = new self();
|
20 |
+
$instance->_initialize($attributes);
|
21 |
+
|
22 |
+
return $instance;
|
23 |
+
}
|
24 |
+
|
25 |
+
protected function _initialize($attributes)
|
26 |
+
{
|
27 |
+
$this->_attributes = $attributes;
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* returns a string representation of the bin data
|
32 |
+
* @return string
|
33 |
+
*/
|
34 |
+
public function __toString()
|
35 |
+
{
|
36 |
+
return __CLASS__ . '[' .
|
37 |
+
Util::attributesToString($this->_attributes) .']';
|
38 |
+
}
|
39 |
+
|
40 |
+
}
|
41 |
+
class_alias('Braintree\BinData', 'Braintree_BinData');
|
lib/braintree/lib/Braintree/ClientToken.php
CHANGED
@@ -11,7 +11,7 @@ class ClientToken
|
|
11 |
/**
|
12 |
*
|
13 |
* @param array $params
|
14 |
-
* @return
|
15 |
*/
|
16 |
public static function generate($params=[])
|
17 |
{
|
11 |
/**
|
12 |
*
|
13 |
* @param array $params
|
14 |
+
* @return string
|
15 |
*/
|
16 |
public static function generate($params=[])
|
17 |
{
|
lib/braintree/lib/Braintree/ClientTokenGateway.php
CHANGED
@@ -53,7 +53,7 @@ class ClientTokenGateway
|
|
53 |
* @ignore
|
54 |
* @param var $url
|
55 |
* @param array $params
|
56 |
-
* @return
|
57 |
*/
|
58 |
public function _doGenerate($subPath, $params)
|
59 |
{
|
@@ -86,7 +86,7 @@ class ClientTokenGateway
|
|
86 |
return [
|
87 |
"version", "customerId", "proxyMerchantId",
|
88 |
["options" => ["makeDefault", "verifyCard", "failOnDuplicatePaymentMethod"]],
|
89 |
-
"merchantAccountId"
|
90 |
}
|
91 |
|
92 |
/**
|
53 |
* @ignore
|
54 |
* @param var $url
|
55 |
* @param array $params
|
56 |
+
* @return string
|
57 |
*/
|
58 |
public function _doGenerate($subPath, $params)
|
59 |
{
|
86 |
return [
|
87 |
"version", "customerId", "proxyMerchantId",
|
88 |
["options" => ["makeDefault", "verifyCard", "failOnDuplicatePaymentMethod"]],
|
89 |
+
"merchantAccountId"];
|
90 |
}
|
91 |
|
92 |
/**
|
lib/braintree/lib/Braintree/CoinbaseAccount.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -17,7 +16,6 @@ namespace Braintree;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @category Resources
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
*
|
22 |
* @property-read string $customerId
|
23 |
* @property-read string $token
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @category Resources
|
|
|
19 |
*
|
20 |
* @property-read string $customerId
|
21 |
* @property-read string $token
|
lib/braintree/lib/Braintree/Collection.php
CHANGED
@@ -17,7 +17,6 @@ use ArrayIterator;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @subpackage Utility
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
*/
|
22 |
|
23 |
class Collection implements Countable, IteratorAggregate, ArrayAccess
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @subpackage Utility
|
|
|
20 |
*/
|
21 |
|
22 |
class Collection implements Countable, IteratorAggregate, ArrayAccess
|
lib/braintree/lib/Braintree/Configuration.php
CHANGED
@@ -7,7 +7,6 @@ namespace Braintree;
|
|
7 |
*
|
8 |
* @package Braintree
|
9 |
* @subpackage Utility
|
10 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
11 |
*/
|
12 |
|
13 |
class Configuration
|
@@ -27,12 +26,15 @@ class Configuration
|
|
27 |
private $_proxyUser = null;
|
28 |
private $_proxyPassword = null;
|
29 |
private $_timeout = 60;
|
|
|
|
|
30 |
|
31 |
/**
|
32 |
* Braintree API version to use
|
33 |
* @access public
|
34 |
*/
|
35 |
-
|
|
|
36 |
|
37 |
public function __construct($attribs = [])
|
38 |
{
|
@@ -50,6 +52,12 @@ class Configuration
|
|
50 |
if ($kind == 'privateKey') {
|
51 |
$this->_privateKey = $value;
|
52 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
|
55 |
if (isset($attribs['clientId']) || isset($attribs['accessToken'])) {
|
@@ -127,6 +135,22 @@ class Configuration
|
|
127 |
self::$global->setTimeout($value);
|
128 |
}
|
129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
/**
|
131 |
* Sets or gets the proxy host to use for connecting to Braintree
|
132 |
*
|
@@ -211,6 +235,20 @@ class Configuration
|
|
211 |
return !empty($proxyUser) && !empty($proxyPwd);
|
212 |
}
|
213 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
public static function assertGlobalHasAccessTokenOrKeys()
|
215 |
{
|
216 |
self::$global->assertHasAccessTokenOrKeys();
|
@@ -373,6 +411,26 @@ class Configuration
|
|
373 |
return $this->_timeout;
|
374 |
}
|
375 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
public function getAccessToken()
|
377 |
{
|
378 |
return $this->_accessToken;
|
@@ -399,6 +457,18 @@ class Configuration
|
|
399 |
return sprintf('%s://%s:%d', $this->protocol(), $this->serverName(), $this->portNumber());
|
400 |
}
|
401 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
402 |
/**
|
403 |
* sets the merchant path based on merchant ID
|
404 |
*
|
@@ -447,6 +517,21 @@ class Configuration
|
|
447 |
return getenv("GATEWAY_PORT") ? getenv("GATEWAY_PORT") : 3000;
|
448 |
}
|
449 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
/**
|
451 |
* returns http protocol depending on environment
|
452 |
*
|
@@ -488,6 +573,35 @@ class Configuration
|
|
488 |
return $serverName;
|
489 |
}
|
490 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
public function authUrl()
|
492 |
{
|
493 |
switch($this->_environment) {
|
7 |
*
|
8 |
* @package Braintree
|
9 |
* @subpackage Utility
|
|
|
10 |
*/
|
11 |
|
12 |
class Configuration
|
26 |
private $_proxyUser = null;
|
27 |
private $_proxyPassword = null;
|
28 |
private $_timeout = 60;
|
29 |
+
private $_sslVersion = null;
|
30 |
+
private $_acceptGzipEncoding = true;
|
31 |
|
32 |
/**
|
33 |
* Braintree API version to use
|
34 |
* @access public
|
35 |
*/
|
36 |
+
const API_VERSION = 5;
|
37 |
+
const GRAPHQL_API_VERSION = '2018-09-10';
|
38 |
|
39 |
public function __construct($attribs = [])
|
40 |
{
|
52 |
if ($kind == 'privateKey') {
|
53 |
$this->_privateKey = $value;
|
54 |
}
|
55 |
+
if ($kind == 'timeout') {
|
56 |
+
$this->_timeout = $value;
|
57 |
+
}
|
58 |
+
if ($kind == 'acceptGzipEncoding') {
|
59 |
+
$this->_acceptGzipEncoding = $value;
|
60 |
+
}
|
61 |
}
|
62 |
|
63 |
if (isset($attribs['clientId']) || isset($attribs['accessToken'])) {
|
135 |
self::$global->setTimeout($value);
|
136 |
}
|
137 |
|
138 |
+
/**
|
139 |
+
* Sets or gets the SSL version to use for making requests. See
|
140 |
+
* https://php.net/manual/en/function.curl-setopt.php for possible
|
141 |
+
* CURLOPT_SSLVERSION values.
|
142 |
+
*
|
143 |
+
* @param integer $value If provided, sets the SSL version
|
144 |
+
* @return integer The SSL version used for connecting to Braintree
|
145 |
+
*/
|
146 |
+
public static function sslVersion($value=null)
|
147 |
+
{
|
148 |
+
if (empty($value)) {
|
149 |
+
return self::$global->getSslVersion();
|
150 |
+
}
|
151 |
+
self::$global->setSslVersion($value);
|
152 |
+
}
|
153 |
+
|
154 |
/**
|
155 |
* Sets or gets the proxy host to use for connecting to Braintree
|
156 |
*
|
235 |
return !empty($proxyUser) && !empty($proxyPwd);
|
236 |
}
|
237 |
|
238 |
+
/**
|
239 |
+
* Specify if the HTTP client is able to decode gzipped responses.
|
240 |
+
*
|
241 |
+
* @param bool $value If true, will send an Accept-Encoding header with a gzip value. If false, will not send an Accept-Encoding header with a gzip value.
|
242 |
+
* @return bool true if an Accept-Encoding header with a gzip value will be sent, false if not
|
243 |
+
*/
|
244 |
+
public static function acceptGzipEncoding($value = null)
|
245 |
+
{
|
246 |
+
if (is_null($value)) {
|
247 |
+
return self::$global->getAcceptGzipEncoding();
|
248 |
+
}
|
249 |
+
self::$global->setAcceptGzipEncoding($value);
|
250 |
+
}
|
251 |
+
|
252 |
public static function assertGlobalHasAccessTokenOrKeys()
|
253 |
{
|
254 |
self::$global->assertHasAccessTokenOrKeys();
|
411 |
return $this->_timeout;
|
412 |
}
|
413 |
|
414 |
+
private function setSslVersion($value)
|
415 |
+
{
|
416 |
+
$this->_sslVersion = $value;
|
417 |
+
}
|
418 |
+
|
419 |
+
private function getSslVersion()
|
420 |
+
{
|
421 |
+
return $this->_sslVersion;
|
422 |
+
}
|
423 |
+
|
424 |
+
public function getAcceptGzipEncoding()
|
425 |
+
{
|
426 |
+
return $this->_acceptGzipEncoding;
|
427 |
+
}
|
428 |
+
|
429 |
+
private function setAcceptGzipEncoding($value)
|
430 |
+
{
|
431 |
+
$this->_acceptGzipEncoding = $value;
|
432 |
+
}
|
433 |
+
|
434 |
public function getAccessToken()
|
435 |
{
|
436 |
return $this->_accessToken;
|
457 |
return sprintf('%s://%s:%d', $this->protocol(), $this->serverName(), $this->portNumber());
|
458 |
}
|
459 |
|
460 |
+
/**
|
461 |
+
* returns the base URL for Braintree's GraphQL endpoint based on config values
|
462 |
+
*
|
463 |
+
* @access public
|
464 |
+
* @param none
|
465 |
+
* @return string Braintree GraphQL URL
|
466 |
+
*/
|
467 |
+
public function graphQLBaseUrl()
|
468 |
+
{
|
469 |
+
return sprintf('%s://%s:%d/graphql', $this->protocol(), $this->graphQLServerName(), $this->graphQLPortNumber());
|
470 |
+
}
|
471 |
+
|
472 |
/**
|
473 |
* sets the merchant path based on merchant ID
|
474 |
*
|
517 |
return getenv("GATEWAY_PORT") ? getenv("GATEWAY_PORT") : 3000;
|
518 |
}
|
519 |
|
520 |
+
/**
|
521 |
+
* returns the graphql port number depending on environment
|
522 |
+
*
|
523 |
+
* @access public
|
524 |
+
* @param none
|
525 |
+
* @return int graphql portnumber
|
526 |
+
*/
|
527 |
+
public function graphQLPortNumber()
|
528 |
+
{
|
529 |
+
if ($this->sslOn()) {
|
530 |
+
return 443;
|
531 |
+
}
|
532 |
+
return getenv("GRAPHQL_PORT") ?: 8080;
|
533 |
+
}
|
534 |
+
|
535 |
/**
|
536 |
* returns http protocol depending on environment
|
537 |
*
|
573 |
return $serverName;
|
574 |
}
|
575 |
|
576 |
+
/**
|
577 |
+
* returns Braintree GraphQL server name depending on environment
|
578 |
+
*
|
579 |
+
* @access public
|
580 |
+
* @param none
|
581 |
+
* @return string graphql domain name
|
582 |
+
*/
|
583 |
+
public function graphQLServerName()
|
584 |
+
{
|
585 |
+
switch($this->_environment) {
|
586 |
+
case 'production':
|
587 |
+
$graphQLServerName = 'payments.braintree-api.com';
|
588 |
+
break;
|
589 |
+
case 'qa':
|
590 |
+
$graphQLServerName = 'payments-qa.dev.braintree-api.com';
|
591 |
+
break;
|
592 |
+
case 'sandbox':
|
593 |
+
$graphQLServerName = 'payments.sandbox.braintree-api.com';
|
594 |
+
break;
|
595 |
+
case 'development':
|
596 |
+
case 'integration':
|
597 |
+
default:
|
598 |
+
$graphQLServerName = 'graphql.bt.local';
|
599 |
+
break;
|
600 |
+
}
|
601 |
+
|
602 |
+
return $graphQLServerName;
|
603 |
+
}
|
604 |
+
|
605 |
public function authUrl()
|
606 |
{
|
607 |
switch($this->_environment) {
|
lib/braintree/lib/Braintree/ConnectedMerchantPayPalStatusChanged.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Connected Merchant PayPal Status Changed Payload
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
*
|
9 |
+
* @property-read string $merchantPublicId
|
10 |
+
* @property-read string $action
|
11 |
+
* @property-read string $oauthApplicationClientId
|
12 |
+
*/
|
13 |
+
class ConnectedMerchantPayPalStatusChanged extends Base
|
14 |
+
{
|
15 |
+
protected $_attributes = [];
|
16 |
+
|
17 |
+
/**
|
18 |
+
* @ignore
|
19 |
+
*/
|
20 |
+
public static function factory($attributes)
|
21 |
+
{
|
22 |
+
$instance = new self();
|
23 |
+
$instance->_initialize($attributes);
|
24 |
+
$instance->_attributes['merchantId'] = $instance->_attributes['merchantPublicId'];
|
25 |
+
|
26 |
+
return $instance;
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* @ignore
|
31 |
+
*/
|
32 |
+
protected function _initialize($attributes)
|
33 |
+
{
|
34 |
+
$this->_attributes = $attributes;
|
35 |
+
}
|
36 |
+
}
|
37 |
+
class_alias('Braintree\ConnectedMerchantPayPalStatusChanged', 'Braintree_ConnectedMerchantPayPalStatusChanged');
|
lib/braintree/lib/Braintree/ConnectedMerchantStatusTransitioned.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Connected Merchant Status Transitioned Payload
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
*
|
9 |
+
* @property-read string $merchantPublicId
|
10 |
+
* @property-read string $status
|
11 |
+
* @property-read string $oauthApplicationClientId
|
12 |
+
*/
|
13 |
+
class ConnectedMerchantStatusTransitioned extends Base
|
14 |
+
{
|
15 |
+
protected $_attributes = [];
|
16 |
+
|
17 |
+
/**
|
18 |
+
* @ignore
|
19 |
+
*/
|
20 |
+
public static function factory($attributes)
|
21 |
+
{
|
22 |
+
$instance = new self();
|
23 |
+
$instance->_initialize($attributes);
|
24 |
+
$instance->_attributes['merchantId'] = $instance->_attributes['merchantPublicId'];
|
25 |
+
|
26 |
+
return $instance;
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* @ignore
|
31 |
+
*/
|
32 |
+
protected function _initialize($attributes)
|
33 |
+
{
|
34 |
+
$this->_attributes = $attributes;
|
35 |
+
}
|
36 |
+
}
|
37 |
+
class_alias('Braintree\ConnectedMerchantStatusTransitioned', 'Braintree_ConnectedMerchantStatusTransitioned');
|
lib/braintree/lib/Braintree/CredentialsParser.php
CHANGED
@@ -7,7 +7,6 @@ namespace Braintree;
|
|
7 |
*
|
8 |
* @package Braintree
|
9 |
* @subpackage Utility
|
10 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
11 |
*/
|
12 |
|
13 |
class CredentialsParser
|
7 |
*
|
8 |
* @package Braintree
|
9 |
* @subpackage Utility
|
|
|
10 |
*/
|
11 |
|
12 |
class CredentialsParser
|
lib/braintree/lib/Braintree/CreditCard.php
CHANGED
@@ -7,27 +7,40 @@ namespace Braintree;
|
|
7 |
*
|
8 |
* <b>== More information ==</b>
|
9 |
*
|
10 |
-
* For more detailed information on CreditCards, see {@link
|
11 |
-
* For more detailed information on CreditCard verifications, see {@link
|
12 |
*
|
13 |
* @package Braintree
|
14 |
* @category Resources
|
15 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
16 |
*
|
17 |
-
* @property-read
|
18 |
* @property-read string $bin
|
19 |
* @property-read string $cardType
|
20 |
* @property-read string $cardholderName
|
21 |
-
* @property-read string $
|
|
|
22 |
* @property-read string $customerId
|
|
|
|
|
|
|
|
|
23 |
* @property-read string $expirationDate
|
24 |
* @property-read string $expirationMonth
|
25 |
* @property-read string $expirationYear
|
|
|
|
|
26 |
* @property-read string $imageUrl
|
|
|
27 |
* @property-read string $last4
|
28 |
* @property-read string $maskedNumber
|
|
|
|
|
|
|
|
|
29 |
* @property-read string $token
|
30 |
-
* @property-read string $
|
|
|
|
|
31 |
*/
|
32 |
class CreditCard extends Base
|
33 |
{
|
@@ -37,9 +50,11 @@ class CreditCard extends Base
|
|
37 |
const CHINA_UNION_PAY = 'China UnionPay';
|
38 |
const DINERS_CLUB_INTERNATIONAL = 'Diners Club';
|
39 |
const DISCOVER = 'Discover';
|
|
|
40 |
const JCB = 'JCB';
|
41 |
const LASER = 'Laser';
|
42 |
const MAESTRO = 'Maestro';
|
|
|
43 |
const MASTER_CARD = 'MasterCard';
|
44 |
const SOLO = 'Solo';
|
45 |
const SWITCH_TYPE = 'Switch';
|
@@ -47,8 +62,8 @@ class CreditCard extends Base
|
|
47 |
const UNKNOWN = 'Unknown';
|
48 |
|
49 |
// Credit card origination location
|
50 |
-
|
51 |
-
|
52 |
|
53 |
const PREPAID_YES = 'Yes';
|
54 |
const PREPAID_NO = 'No';
|
@@ -302,6 +317,7 @@ class CreditCard extends Base
|
|
302 |
CreditCard::CHINA_UNION_PAY,
|
303 |
CreditCard::DINERS_CLUB_INTERNATIONAL,
|
304 |
CreditCard::DISCOVER,
|
|
|
305 |
CreditCard::JCB,
|
306 |
CreditCard::LASER,
|
307 |
CreditCard::MAESTRO,
|
7 |
*
|
8 |
* <b>== More information ==</b>
|
9 |
*
|
10 |
+
* For more detailed information on CreditCards, see {@link https://developers.braintreepayments.com/reference/response/credit-card/php https://developers.braintreepayments.com/reference/response/credit-card/php}<br />
|
11 |
+
* For more detailed information on CreditCard verifications, see {@link https://developers.braintreepayments.com/reference/response/credit-card-verification/php https://developers.braintreepayments.com/reference/response/credit-card-verification/php}
|
12 |
*
|
13 |
* @package Braintree
|
14 |
* @category Resources
|
|
|
15 |
*
|
16 |
+
* @property-read \Braintree\Address $billingAddress
|
17 |
* @property-read string $bin
|
18 |
* @property-read string $cardType
|
19 |
* @property-read string $cardholderName
|
20 |
+
* @property-read string $commercial
|
21 |
+
* @property-read \DateTime $createdAt
|
22 |
* @property-read string $customerId
|
23 |
+
* @property-read string $customerLocation
|
24 |
+
* @property-read string $debit
|
25 |
+
* @property-read boolean $default
|
26 |
+
* @property-read string $durbinRegulated
|
27 |
* @property-read string $expirationDate
|
28 |
* @property-read string $expirationMonth
|
29 |
* @property-read string $expirationYear
|
30 |
+
* @property-read boolean $expired
|
31 |
+
* @property-read boolean $healthcare
|
32 |
* @property-read string $imageUrl
|
33 |
+
* @property-read string $issuingBank
|
34 |
* @property-read string $last4
|
35 |
* @property-read string $maskedNumber
|
36 |
+
* @property-read string $payroll
|
37 |
+
* @property-read string $prepaid
|
38 |
+
* @property-read string $productId
|
39 |
+
* @property-read \Braintree\Subscription[] $subscriptions
|
40 |
* @property-read string $token
|
41 |
+
* @property-read string $uniqueNumberIdentifier
|
42 |
+
* @property-read \DateTime $updatedAt
|
43 |
+
* @property-read \Braintree\CreditCardVerification|null $verification
|
44 |
*/
|
45 |
class CreditCard extends Base
|
46 |
{
|
50 |
const CHINA_UNION_PAY = 'China UnionPay';
|
51 |
const DINERS_CLUB_INTERNATIONAL = 'Diners Club';
|
52 |
const DISCOVER = 'Discover';
|
53 |
+
const ELO = 'Elo';
|
54 |
const JCB = 'JCB';
|
55 |
const LASER = 'Laser';
|
56 |
const MAESTRO = 'Maestro';
|
57 |
+
const UK_MAESTRO = 'UK Maestro';
|
58 |
const MASTER_CARD = 'MasterCard';
|
59 |
const SOLO = 'Solo';
|
60 |
const SWITCH_TYPE = 'Switch';
|
62 |
const UNKNOWN = 'Unknown';
|
63 |
|
64 |
// Credit card origination location
|
65 |
+
const INTERNATIONAL = "international";
|
66 |
+
const US = "us";
|
67 |
|
68 |
const PREPAID_YES = 'Yes';
|
69 |
const PREPAID_NO = 'No';
|
317 |
CreditCard::CHINA_UNION_PAY,
|
318 |
CreditCard::DINERS_CLUB_INTERNATIONAL,
|
319 |
CreditCard::DISCOVER,
|
320 |
+
CreditCard::ELO,
|
321 |
CreditCard::JCB,
|
322 |
CreditCard::LASER,
|
323 |
CreditCard::MAESTRO,
|
lib/braintree/lib/Braintree/CreditCardGateway.php
CHANGED
@@ -9,12 +9,11 @@ use InvalidArgumentException;
|
|
9 |
*
|
10 |
* <b>== More information ==</b>
|
11 |
*
|
12 |
-
* For more detailed information on CreditCards, see {@link
|
13 |
-
* For more detailed information on CreditCard verifications, see {@link
|
14 |
*
|
15 |
* @package Braintree
|
16 |
* @category Resources
|
17 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
18 |
*/
|
19 |
class CreditCardGateway
|
20 |
{
|
@@ -337,7 +336,7 @@ class CreditCardGateway
|
|
337 |
|
338 |
private static function baseOptions()
|
339 |
{
|
340 |
-
return ['makeDefault', 'verificationMerchantAccountId', 'verifyCard', 'verificationAmount', 'venmoSdkSession'];
|
341 |
}
|
342 |
|
343 |
private static function baseSignature($options)
|
9 |
*
|
10 |
* <b>== More information ==</b>
|
11 |
*
|
12 |
+
* For more detailed information on CreditCards, see {@link https://developers.braintreepayments.com/reference/response/credit-card/php https://developers.braintreepayments.com/reference/response/credit-card/php}<br />
|
13 |
+
* For more detailed information on CreditCard verifications, see {@link https://developers.braintreepayments.com/reference/response/credit-card-verification/php https://developers.braintreepayments.com/reference/response/credit-card-verification/php}
|
14 |
*
|
15 |
* @package Braintree
|
16 |
* @category Resources
|
|
|
17 |
*/
|
18 |
class CreditCardGateway
|
19 |
{
|
336 |
|
337 |
private static function baseOptions()
|
338 |
{
|
339 |
+
return ['makeDefault', 'verificationMerchantAccountId', 'verifyCard', 'verificationAmount', 'verificationAccountType', 'venmoSdkSession'];
|
340 |
}
|
341 |
|
342 |
private static function baseSignature($options)
|
lib/braintree/lib/Braintree/CreditCardVerification.php
CHANGED
@@ -1,6 +1,30 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
class CreditCardVerification extends Result\CreditCardVerification
|
5 |
{
|
6 |
public static function factory($attributes)
|
@@ -30,7 +54,7 @@ class CreditCardVerification extends Result\CreditCardVerification
|
|
30 |
public static function createSignature()
|
31 |
{
|
32 |
return [
|
33 |
-
['options' => ['amount', 'merchantAccountId']],
|
34 |
['creditCard' =>
|
35 |
[
|
36 |
'cardholderName', 'cvv', 'number',
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* {@inheritdoc}
|
6 |
+
*
|
7 |
+
* @property-read string $amount
|
8 |
+
* @property-read mixed $billing
|
9 |
+
* @property-read string $company
|
10 |
+
* @property-read string $countryName
|
11 |
+
* @property-read string $extendedAddress
|
12 |
+
* @property-read string $firstName
|
13 |
+
* @property-read string $lastName
|
14 |
+
* @property-read string $locality
|
15 |
+
* @property-read string $postalCode
|
16 |
+
* @property-read string $region
|
17 |
+
* @property-read string $streetAddress
|
18 |
+
* @property-read \DateTime $createdAt
|
19 |
+
* @property-read \Braintree\CreditCard $creditCard
|
20 |
+
* @property-read string|null $gatewayRejectionReason
|
21 |
+
* @property-read string $id
|
22 |
+
* @property-read string $merchantAccountId
|
23 |
+
* @property-read string $processorResponseCode
|
24 |
+
* @property-read string $processorResponseText
|
25 |
+
* @property-read string $processorResponseType
|
26 |
+
* @property-read \Braintree\RiskData|null $riskData
|
27 |
+
*/
|
28 |
class CreditCardVerification extends Result\CreditCardVerification
|
29 |
{
|
30 |
public static function factory($attributes)
|
54 |
public static function createSignature()
|
55 |
{
|
56 |
return [
|
57 |
+
['options' => ['amount', 'merchantAccountId', 'accountType']],
|
58 |
['creditCard' =>
|
59 |
[
|
60 |
'cardholderName', 'cvv', 'number',
|
lib/braintree/lib/Braintree/Customer.php
CHANGED
@@ -7,31 +7,34 @@ namespace Braintree;
|
|
7 |
*
|
8 |
* <b>== More information ==</b>
|
9 |
*
|
10 |
-
* For more detailed information on Customers, see {@link
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*
|
16 |
-
* @property-read
|
17 |
-
* @property-read
|
|
|
|
|
|
|
18 |
* @property-read string $company
|
19 |
-
* @property-read
|
20 |
-
* @property-read
|
21 |
-
* @property-read array $paypalAccounts
|
22 |
-
* @property-read array $applePayCards
|
23 |
-
* @property-read array $androidPayCards
|
24 |
-
* @property-read array $amexExpressCheckoutCards
|
25 |
-
* @property-read array $venmoAccounts
|
26 |
-
* @property-read array $coinbaseAccounts
|
27 |
* @property-read array $customFields custom fields passed with the request
|
28 |
* @property-read string $email
|
29 |
* @property-read string $fax
|
30 |
* @property-read string $firstName
|
31 |
* @property-read string $id
|
32 |
* @property-read string $lastName
|
|
|
|
|
|
|
33 |
* @property-read string $phone
|
34 |
-
* @property-read
|
|
|
|
|
|
|
|
|
35 |
* @property-read string $website
|
36 |
*/
|
37 |
class Customer extends Base
|
@@ -101,9 +104,9 @@ class Customer extends Base
|
|
101 |
* @param string $id customer id
|
102 |
* @return Customer
|
103 |
*/
|
104 |
-
public static function find($id)
|
105 |
{
|
106 |
-
return Configuration::gateway()->customer()->find($id);
|
107 |
}
|
108 |
|
109 |
/**
|
@@ -296,6 +299,30 @@ class Customer extends Base
|
|
296 |
}
|
297 |
$this->_set('venmoAccounts', $venmoAccountArray);
|
298 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
$usBankAccountArray = array();
|
300 |
if (isset($customerAttribs['usBankAccounts'])) {
|
301 |
foreach ($customerAttribs['usBankAccounts'] AS $usBankAccount) {
|
@@ -312,6 +339,9 @@ class Customer extends Base
|
|
312 |
$this->androidPayCards,
|
313 |
$this->amexExpressCheckoutCards,
|
314 |
$this->venmoAccounts,
|
|
|
|
|
|
|
315 |
$this->usBankAccounts
|
316 |
));
|
317 |
}
|
7 |
*
|
8 |
* <b>== More information ==</b>
|
9 |
*
|
10 |
+
* For more detailed information on Customers, see {@link https://developers.braintreepayments.com/reference/response/customer/php https://developers.braintreepayments.com/reference/response/customer/php}
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
|
|
14 |
*
|
15 |
+
* @property-read \Braintree\Address[] $addresses
|
16 |
+
* @property-read \Braintree\AndroidPayCard[] $androidPayCards
|
17 |
+
* @property-read \Braintree\AmexExpressCheckoutCard[] $amexExpressCheckoutCards
|
18 |
+
* @property-read \Braintree\ApplePayCard[] $applePayCards
|
19 |
+
* @property-read \Braintree\CoinbaseAccount[] $coinbaseAccounts
|
20 |
* @property-read string $company
|
21 |
+
* @property-read \DateTime $createdAt
|
22 |
+
* @property-read \Braintree\CreditCard[] $creditCards
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
* @property-read array $customFields custom fields passed with the request
|
24 |
* @property-read string $email
|
25 |
* @property-read string $fax
|
26 |
* @property-read string $firstName
|
27 |
* @property-read string $id
|
28 |
* @property-read string $lastName
|
29 |
+
* @property-read \Braintree\MasterpassCard[] $masterpassCards
|
30 |
+
* @property-read \Braintree\PaymentMethod[] $paymentMethods
|
31 |
+
* @property-read \Braintree\PayPalAccount[] $paypalAccounts
|
32 |
* @property-read string $phone
|
33 |
+
* @property-read \Braintree\SamsungPayCard[] $samsungPayCards
|
34 |
+
* @property-read \DateTime $updatedAt
|
35 |
+
* @property-read \Braintree\UsBankAccount[] $usBankAccounts
|
36 |
+
* @property-read \Braintree\VenmoAccount[] $venmoAccounts
|
37 |
+
* @property-read \Braintree\VisaCheckoutCard[] $visaCheckoutCards
|
38 |
* @property-read string $website
|
39 |
*/
|
40 |
class Customer extends Base
|
104 |
* @param string $id customer id
|
105 |
* @return Customer
|
106 |
*/
|
107 |
+
public static function find($id, $associationFilterId = null)
|
108 |
{
|
109 |
+
return Configuration::gateway()->customer()->find($id, $associationFilterId);
|
110 |
}
|
111 |
|
112 |
/**
|
299 |
}
|
300 |
$this->_set('venmoAccounts', $venmoAccountArray);
|
301 |
|
302 |
+
$visaCheckoutCardArray = [];
|
303 |
+
if (isset($customerAttribs['visaCheckoutCards'])) {
|
304 |
+
foreach ($customerAttribs['visaCheckoutCards'] AS $visaCheckoutCard) {
|
305 |
+
$visaCheckoutCardArray[] = VisaCheckoutCard::factory($visaCheckoutCard);
|
306 |
+
}
|
307 |
+
}
|
308 |
+
$this->_set('visaCheckoutCards', $visaCheckoutCardArray);
|
309 |
+
|
310 |
+
$masterpassCardArray = [];
|
311 |
+
if (isset($customerAttribs['masterpassCards'])) {
|
312 |
+
foreach ($customerAttribs['masterpassCards'] AS $masterpassCard) {
|
313 |
+
$masterpassCardArray[] = MasterpassCard::factory($masterpassCard);
|
314 |
+
}
|
315 |
+
}
|
316 |
+
$this->_set('masterpassCards', $masterpassCardArray);
|
317 |
+
|
318 |
+
$samsungPayCardArray = [];
|
319 |
+
if (isset($customerAttribs['samsungPayCards'])) {
|
320 |
+
foreach ($customerAttribs['samsungPayCards'] AS $samsungPayCard) {
|
321 |
+
$samsungPayCardArray[] = SamsungPayCard::factory($samsungPayCard);
|
322 |
+
}
|
323 |
+
}
|
324 |
+
$this->_set('samsungPayCards', $samsungPayCardArray);
|
325 |
+
|
326 |
$usBankAccountArray = array();
|
327 |
if (isset($customerAttribs['usBankAccounts'])) {
|
328 |
foreach ($customerAttribs['usBankAccounts'] AS $usBankAccount) {
|
339 |
$this->androidPayCards,
|
340 |
$this->amexExpressCheckoutCards,
|
341 |
$this->venmoAccounts,
|
342 |
+
$this->visaCheckoutCards,
|
343 |
+
$this->masterpassCards,
|
344 |
+
$this->samsungPayCards,
|
345 |
$this->usBankAccounts
|
346 |
));
|
347 |
}
|
lib/braintree/lib/Braintree/CustomerGateway.php
CHANGED
@@ -9,11 +9,10 @@ use InvalidArgumentException;
|
|
9 |
*
|
10 |
* <b>== More information ==</b>
|
11 |
*
|
12 |
-
* For more detailed information on Customers, see {@link
|
13 |
*
|
14 |
* @package Braintree
|
15 |
* @category Resources
|
16 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
17 |
*/
|
18 |
class CustomerGateway
|
19 |
{
|
@@ -81,7 +80,7 @@ class CustomerGateway
|
|
81 |
*
|
82 |
* @access public
|
83 |
* @param array $attribs
|
84 |
-
* @return
|
85 |
*/
|
86 |
public function create($attribs = [])
|
87 |
{
|
@@ -144,9 +143,9 @@ class CustomerGateway
|
|
144 |
*/
|
145 |
public static function createSignature()
|
146 |
{
|
147 |
-
|
148 |
$creditCardSignature = CreditCardGateway::createSignature();
|
149 |
unset($creditCardSignature[array_search('customerId', $creditCardSignature)]);
|
|
|
150 |
$signature = [
|
151 |
'id', 'company', 'email', 'fax', 'firstName',
|
152 |
'lastName', 'phone', 'website', 'deviceData',
|
@@ -156,7 +155,26 @@ class CustomerGateway
|
|
156 |
],
|
157 |
['creditCard' => $creditCardSignature],
|
158 |
['customFields' => ['_anyKey_']],
|
159 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
return $signature;
|
161 |
}
|
162 |
|
@@ -180,7 +198,26 @@ class CustomerGateway
|
|
180 |
'deviceSessionId', 'fraudMerchantId', 'paymentMethodNonce', 'defaultPaymentMethodToken',
|
181 |
['creditCard' => $creditCardSignature],
|
182 |
['customFields' => ['_anyKey_']],
|
183 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
return $signature;
|
185 |
}
|
186 |
|
@@ -190,14 +227,19 @@ class CustomerGateway
|
|
190 |
*
|
191 |
* @access public
|
192 |
* @param string id customer Id
|
|
|
193 |
* @return Customer|boolean The customer object or false if the request fails.
|
194 |
* @throws Exception\NotFound
|
195 |
*/
|
196 |
-
public function find($id)
|
197 |
{
|
198 |
$this->_validateId($id);
|
199 |
try {
|
200 |
-
$
|
|
|
|
|
|
|
|
|
201 |
$response = $this->_http->get($path);
|
202 |
return Customer::factory($response['customer']);
|
203 |
} catch (Exception\NotFound $e) {
|
@@ -295,7 +337,7 @@ class CustomerGateway
|
|
295 |
*
|
296 |
* If <b>query</b> is a string, the search will be a basic search.
|
297 |
* If <b>query</b> is a hash, the search will be an advanced search.
|
298 |
-
* For more detailed information and examples, see {@link
|
299 |
*
|
300 |
* @param mixed $query search query
|
301 |
* @return ResourceCollection
|
9 |
*
|
10 |
* <b>== More information ==</b>
|
11 |
*
|
12 |
+
* For more detailed information on Customers, see {@link https://developers.braintreepayments.com/reference/response/customer/php https://developers.braintreepayments.com/reference/response/customer/php}
|
13 |
*
|
14 |
* @package Braintree
|
15 |
* @category Resources
|
|
|
16 |
*/
|
17 |
class CustomerGateway
|
18 |
{
|
80 |
*
|
81 |
* @access public
|
82 |
* @param array $attribs
|
83 |
+
* @return Result\Successful|Result\Error
|
84 |
*/
|
85 |
public function create($attribs = [])
|
86 |
{
|
143 |
*/
|
144 |
public static function createSignature()
|
145 |
{
|
|
|
146 |
$creditCardSignature = CreditCardGateway::createSignature();
|
147 |
unset($creditCardSignature[array_search('customerId', $creditCardSignature)]);
|
148 |
+
|
149 |
$signature = [
|
150 |
'id', 'company', 'email', 'fax', 'firstName',
|
151 |
'lastName', 'phone', 'website', 'deviceData',
|
155 |
],
|
156 |
['creditCard' => $creditCardSignature],
|
157 |
['customFields' => ['_anyKey_']],
|
158 |
+
['options' => [
|
159 |
+
['paypal' => [
|
160 |
+
'payee_email',
|
161 |
+
'payeeEmail',
|
162 |
+
'order_id',
|
163 |
+
'orderId',
|
164 |
+
'custom_field',
|
165 |
+
'customField',
|
166 |
+
'description',
|
167 |
+
'amount',
|
168 |
+
['shipping' =>
|
169 |
+
[
|
170 |
+
'firstName', 'lastName', 'company', 'countryName',
|
171 |
+
'countryCodeAlpha2', 'countryCodeAlpha3', 'countryCodeNumeric',
|
172 |
+
'extendedAddress', 'locality', 'postalCode', 'region',
|
173 |
+
'streetAddress'],
|
174 |
+
],
|
175 |
+
]]
|
176 |
+
]],
|
177 |
+
];
|
178 |
return $signature;
|
179 |
}
|
180 |
|
198 |
'deviceSessionId', 'fraudMerchantId', 'paymentMethodNonce', 'defaultPaymentMethodToken',
|
199 |
['creditCard' => $creditCardSignature],
|
200 |
['customFields' => ['_anyKey_']],
|
201 |
+
['options' => [
|
202 |
+
['paypal' => [
|
203 |
+
'payee_email',
|
204 |
+
'payeeEmail',
|
205 |
+
'order_id',
|
206 |
+
'orderId',
|
207 |
+
'custom_field',
|
208 |
+
'customField',
|
209 |
+
'description',
|
210 |
+
'amount',
|
211 |
+
['shipping' =>
|
212 |
+
[
|
213 |
+
'firstName', 'lastName', 'company', 'countryName',
|
214 |
+
'countryCodeAlpha2', 'countryCodeAlpha3', 'countryCodeNumeric',
|
215 |
+
'extendedAddress', 'locality', 'postalCode', 'region',
|
216 |
+
'streetAddress'],
|
217 |
+
],
|
218 |
+
]],
|
219 |
+
]],
|
220 |
+
];
|
221 |
return $signature;
|
222 |
}
|
223 |
|
227 |
*
|
228 |
* @access public
|
229 |
* @param string id customer Id
|
230 |
+
* @param string associationFilterId association filter Id
|
231 |
* @return Customer|boolean The customer object or false if the request fails.
|
232 |
* @throws Exception\NotFound
|
233 |
*/
|
234 |
+
public function find($id, $associationFilterId = null)
|
235 |
{
|
236 |
$this->_validateId($id);
|
237 |
try {
|
238 |
+
$queryParams = '';
|
239 |
+
if ($associationFilterId) {
|
240 |
+
$queryParams = '?association_filter_id=' . $associationFilterId;
|
241 |
+
}
|
242 |
+
$path = $this->_config->merchantPath() . '/customers/' . $id . $queryParams;
|
243 |
$response = $this->_http->get($path);
|
244 |
return Customer::factory($response['customer']);
|
245 |
} catch (Exception\NotFound $e) {
|
337 |
*
|
338 |
* If <b>query</b> is a string, the search will be a basic search.
|
339 |
* If <b>query</b> is a hash, the search will be an advanced search.
|
340 |
+
* For more detailed information and examples, see {@link https://developers.braintreepayments.com/reference/request/customer/search/php https://developers.braintreepayments.com/reference/request/customer/search/php}
|
341 |
*
|
342 |
* @param mixed $query search query
|
343 |
* @return ResourceCollection
|
lib/braintree/lib/Braintree/Descriptor.php
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
class Descriptor extends Instance
|
5 |
{
|
6 |
}
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* @property-read string $name
|
6 |
+
* @property-read string $phone
|
7 |
+
* @property-read string $url
|
8 |
+
*/
|
9 |
class Descriptor extends Instance
|
10 |
{
|
11 |
}
|
lib/braintree/lib/Braintree/Digest.php
CHANGED
@@ -4,8 +4,6 @@ namespace Braintree;
|
|
4 |
/**
|
5 |
* Digest encryption module
|
6 |
* Digest creates an HMAC-SHA1 hash for encrypting messages
|
7 |
-
*
|
8 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
9 |
*/
|
10 |
class Digest
|
11 |
{
|
4 |
/**
|
5 |
* Digest encryption module
|
6 |
* Digest creates an HMAC-SHA1 hash for encrypting messages
|
|
|
|
|
7 |
*/
|
8 |
class Digest
|
9 |
{
|
lib/braintree/lib/Braintree/Disbursement.php
CHANGED
@@ -3,6 +3,10 @@ namespace Braintree;
|
|
3 |
|
4 |
class Disbursement extends Base
|
5 |
{
|
|
|
|
|
|
|
|
|
6 |
private $_merchantAccount;
|
7 |
|
8 |
protected function _initialize($disbursementAttribs)
|
@@ -38,7 +42,7 @@ class Disbursement extends Base
|
|
38 |
$display = [
|
39 |
'id', 'merchantAccountDetails', 'exceptionMessage', 'amount',
|
40 |
'disbursementDate', 'followUpAction', 'retry', 'success',
|
41 |
-
'transactionIds'
|
42 |
];
|
43 |
|
44 |
$displayAttributes = [];
|
@@ -48,5 +52,15 @@ class Disbursement extends Base
|
|
48 |
return __CLASS__ . '[' .
|
49 |
Util::attributesToString($displayAttributes) .']';
|
50 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
}
|
52 |
class_alias('Braintree\Disbursement', 'Braintree_Disbursement');
|
3 |
|
4 |
class Disbursement extends Base
|
5 |
{
|
6 |
+
|
7 |
+
const TYPE_CREDIT = "credit";
|
8 |
+
const TYPE_DEBIT = "debit";
|
9 |
+
|
10 |
private $_merchantAccount;
|
11 |
|
12 |
protected function _initialize($disbursementAttribs)
|
42 |
$display = [
|
43 |
'id', 'merchantAccountDetails', 'exceptionMessage', 'amount',
|
44 |
'disbursementDate', 'followUpAction', 'retry', 'success',
|
45 |
+
'transactionIds', 'disbursementType'
|
46 |
];
|
47 |
|
48 |
$displayAttributes = [];
|
52 |
return __CLASS__ . '[' .
|
53 |
Util::attributesToString($displayAttributes) .']';
|
54 |
}
|
55 |
+
|
56 |
+
public function isDebit()
|
57 |
+
{
|
58 |
+
return $this->disbursementType == Disbursement::TYPE_DEBIT;
|
59 |
+
}
|
60 |
+
|
61 |
+
public function isCredit()
|
62 |
+
{
|
63 |
+
return $this->disbursementType == Disbursement::TYPE_CREDIT;
|
64 |
+
}
|
65 |
}
|
66 |
class_alias('Braintree\Disbursement', 'Braintree_Disbursement');
|
lib/braintree/lib/Braintree/DisbursementDetails.php
CHANGED
@@ -7,14 +7,13 @@ namespace Braintree;
|
|
7 |
*
|
8 |
*
|
9 |
* @package Braintree
|
10 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
11 |
*
|
|
|
|
|
12 |
* @property-read string $settlementAmount
|
13 |
-
* @property-read string $settlementCurrencyIsoCode
|
14 |
* @property-read string $settlementCurrencyExchangeRate
|
15 |
-
* @property-read string $
|
16 |
* @property-read string $success
|
17 |
-
* @property-read string $disbursementDate
|
18 |
*/
|
19 |
class DisbursementDetails extends Instance
|
20 |
{
|
7 |
*
|
8 |
*
|
9 |
* @package Braintree
|
|
|
10 |
*
|
11 |
+
* @property-read string $disbursementDate
|
12 |
+
* @property-read boolean $fundsHeld
|
13 |
* @property-read string $settlementAmount
|
|
|
14 |
* @property-read string $settlementCurrencyExchangeRate
|
15 |
+
* @property-read string $settlementCurrencyIsoCode
|
16 |
* @property-read string $success
|
|
|
17 |
*/
|
18 |
class DisbursementDetails extends Instance
|
19 |
{
|
lib/braintree/lib/Braintree/Discount.php
CHANGED
@@ -1,6 +1,20 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
class Discount extends Modification
|
5 |
{
|
6 |
public static function factory($attributes)
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* @property-read string $amount
|
6 |
+
* @property-read \DateTime $createdAt
|
7 |
+
* @property-read int|null $currentBillingCycle
|
8 |
+
* @property-read string $description
|
9 |
+
* @property-read string $id
|
10 |
+
* @property-read string|null $kind
|
11 |
+
* @property-read string $merchantId
|
12 |
+
* @property-read string $name
|
13 |
+
* @property-read boolean $neverExpires
|
14 |
+
* @property-read int|null $numberOfBillingCycles
|
15 |
+
* @property-read int|null $quantity
|
16 |
+
* @property-read \DateTime $updatedAt
|
17 |
+
*/
|
18 |
class Discount extends Modification
|
19 |
{
|
20 |
public static function factory($attributes)
|
lib/braintree/lib/Braintree/Dispute.php
CHANGED
@@ -6,21 +6,37 @@ namespace Braintree;
|
|
6 |
*
|
7 |
*
|
8 |
* @package Braintree
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*
|
11 |
* @property-read string $amount
|
|
|
12 |
* @property-read string $currencyIsoCode
|
13 |
-
* @property-read
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
* @property-read string $reason
|
|
|
|
|
|
|
|
|
|
|
15 |
* @property-read string $status
|
16 |
-
* @property-read
|
17 |
-
* @property-read
|
|
|
|
|
18 |
*/
|
19 |
class Dispute extends Base
|
20 |
{
|
21 |
protected $_attributes = [];
|
22 |
|
23 |
/* Dispute Status */
|
|
|
|
|
|
|
24 |
const OPEN = 'open';
|
25 |
const WON = 'won';
|
26 |
const LOST = 'lost';
|
@@ -51,7 +67,27 @@ class Dispute extends Base
|
|
51 |
$this->_attributes = $disputeAttribs;
|
52 |
|
53 |
if (isset($disputeAttribs['transaction'])) {
|
54 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
new Dispute\TransactionDetails($disputeAttribs['transaction'])
|
56 |
);
|
57 |
}
|
@@ -78,5 +114,78 @@ class Dispute extends Base
|
|
78 |
return __CLASS__ . '[' .
|
79 |
Util::attributesToString($displayAttributes) .']';
|
80 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
class_alias('Braintree\Dispute', 'Braintree_Dispute');
|
6 |
*
|
7 |
*
|
8 |
* @package Braintree
|
|
|
9 |
*
|
10 |
* @property-read string $amount
|
11 |
+
* @property-read \DateTime $createdAt
|
12 |
* @property-read string $currencyIsoCode
|
13 |
+
* @property-read string $disbursementDate
|
14 |
+
* @property-read \Braintree\Dispute\EvidenceDetails $evidence
|
15 |
+
* @property-read string $id
|
16 |
+
* @property-read string $kind
|
17 |
+
* @property-read string $merchantAccountId
|
18 |
+
* @property-read string $originalDisputeId
|
19 |
+
* @property-read string $processorComments
|
20 |
* @property-read string $reason
|
21 |
+
* @property-read string $reasonCode
|
22 |
+
* @property-read string $reasonDescription
|
23 |
+
* @property-read \DateTime $receivedDate
|
24 |
+
* @property-read string $referenceNumber
|
25 |
+
* @property-read \DateTime $replyByDate
|
26 |
* @property-read string $status
|
27 |
+
* @property-read \Braintree\Dispute\StatusHistoryDetails[] $statusHistory
|
28 |
+
* @property-read \Braintree\Dispute\TransactionDetails $transaction
|
29 |
+
* @property-read \Braintree\Dispute\TransactionDetails $transactionDetails
|
30 |
+
* @property-read \DateTime $updatedAt
|
31 |
*/
|
32 |
class Dispute extends Base
|
33 |
{
|
34 |
protected $_attributes = [];
|
35 |
|
36 |
/* Dispute Status */
|
37 |
+
const ACCEPTED = 'accepted';
|
38 |
+
const DISPUTED = 'disputed';
|
39 |
+
const EXPIRED = 'expired';
|
40 |
const OPEN = 'open';
|
41 |
const WON = 'won';
|
42 |
const LOST = 'lost';
|
67 |
$this->_attributes = $disputeAttribs;
|
68 |
|
69 |
if (isset($disputeAttribs['transaction'])) {
|
70 |
+
$transactionDetails = new Dispute\TransactionDetails($disputeAttribs['transaction']);
|
71 |
+
$this->_set('transactionDetails', $transactionDetails);
|
72 |
+
$this->_set('transaction', $transactionDetails);
|
73 |
+
}
|
74 |
+
|
75 |
+
if (isset($disputeAttribs['evidence'])) {
|
76 |
+
$evidenceArray = array_map(function($evidence) {
|
77 |
+
return new Dispute\EvidenceDetails($evidence);
|
78 |
+
}, $disputeAttribs['evidence']);
|
79 |
+
$this->_set('evidence', $evidenceArray);
|
80 |
+
}
|
81 |
+
|
82 |
+
if (isset($disputeAttribs['statusHistory'])) {
|
83 |
+
$statusHistoryArray = array_map(function($statusHistory) {
|
84 |
+
return new Dispute\StatusHistoryDetails($statusHistory);
|
85 |
+
}, $disputeAttribs['statusHistory']);
|
86 |
+
$this->_set('statusHistory', $statusHistoryArray);
|
87 |
+
}
|
88 |
+
|
89 |
+
if (isset($disputeAttribs['transaction'])) {
|
90 |
+
$this->_set('transaction',
|
91 |
new Dispute\TransactionDetails($disputeAttribs['transaction'])
|
92 |
);
|
93 |
}
|
114 |
return __CLASS__ . '[' .
|
115 |
Util::attributesToString($displayAttributes) .']';
|
116 |
}
|
117 |
+
|
118 |
+
/**
|
119 |
+
* Accepts a dispute, given a dispute ID
|
120 |
+
*
|
121 |
+
* @param string $id
|
122 |
+
*/
|
123 |
+
public static function accept($id)
|
124 |
+
{
|
125 |
+
return Configuration::gateway()->dispute()->accept($id);
|
126 |
+
}
|
127 |
+
|
128 |
+
/**
|
129 |
+
* Adds file evidence to a dispute, given a dispute ID and a document ID
|
130 |
+
*
|
131 |
+
* @param string $disputeId
|
132 |
+
* @param string $documentIdOrRequest
|
133 |
+
*/
|
134 |
+
public static function addFileEvidence($disputeId, $documentIdOrRequest)
|
135 |
+
{
|
136 |
+
return Configuration::gateway()->dispute()->addFileEvidence($disputeId, $documentIdOrRequest);
|
137 |
+
}
|
138 |
+
|
139 |
+
/**
|
140 |
+
* Adds text evidence to a dispute, given a dispute ID and content
|
141 |
+
*
|
142 |
+
* @param string $id
|
143 |
+
* @param string $contentOrRequest
|
144 |
+
*/
|
145 |
+
public static function addTextEvidence($id, $contentOrRequest)
|
146 |
+
{
|
147 |
+
return Configuration::gateway()->dispute()->addTextEvidence($id, $contentOrRequest);
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Finalize a dispute, given a dispute ID
|
152 |
+
*
|
153 |
+
* @param string $id
|
154 |
+
*/
|
155 |
+
public static function finalize($id)
|
156 |
+
{
|
157 |
+
return Configuration::gateway()->dispute()->finalize($id);
|
158 |
+
}
|
159 |
+
|
160 |
+
/**
|
161 |
+
* Find a dispute, given a dispute ID
|
162 |
+
*
|
163 |
+
* @param string $id
|
164 |
+
*/
|
165 |
+
public static function find($id)
|
166 |
+
{
|
167 |
+
return Configuration::gateway()->dispute()->find($id);
|
168 |
+
}
|
169 |
+
|
170 |
+
/**
|
171 |
+
* Remove evidence from a dispute, given a dispute ID and evidence ID
|
172 |
+
*
|
173 |
+
* @param string $disputeId
|
174 |
+
* @param string $evidenceId
|
175 |
+
*/
|
176 |
+
public static function removeEvidence($disputeId, $evidenceId)
|
177 |
+
{
|
178 |
+
return Configuration::gateway()->dispute()->removeEvidence($disputeId, $evidenceId);
|
179 |
+
}
|
180 |
+
|
181 |
+
/**
|
182 |
+
* Search for Disputes, given a DisputeSearch query
|
183 |
+
*
|
184 |
+
* @param DisputeSearch $query
|
185 |
+
*/
|
186 |
+
public static function search($query)
|
187 |
+
{
|
188 |
+
return Configuration::gateway()->dispute()->search($query);
|
189 |
+
}
|
190 |
}
|
191 |
class_alias('Braintree\Dispute', 'Braintree_Dispute');
|
lib/braintree/lib/Braintree/Dispute/EvidenceDetails.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree\Dispute;
|
3 |
+
|
4 |
+
use Braintree\Instance;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Evidence details for a dispute
|
8 |
+
*
|
9 |
+
* @package Braintree
|
10 |
+
*
|
11 |
+
* @property-read string $category
|
12 |
+
* @property-read string $comment
|
13 |
+
* @property-read \DateTime $createdAt
|
14 |
+
* @property-read string $id
|
15 |
+
* @property-read \DateTime $sentToProcessorAt
|
16 |
+
* @property-read string $sequenceNumber
|
17 |
+
* @property-read string $tag
|
18 |
+
* @property-read string $url
|
19 |
+
*/
|
20 |
+
class EvidenceDetails extends Instance
|
21 |
+
{
|
22 |
+
public function __construct($attributes)
|
23 |
+
{
|
24 |
+
if (array_key_exists('category', $attributes)) {
|
25 |
+
$attributes['tag'] = $attributes['category'];
|
26 |
+
}
|
27 |
+
parent::__construct($attributes);
|
28 |
+
}
|
29 |
+
}
|
30 |
+
|
31 |
+
class_alias('Braintree\Dispute\EvidenceDetails', 'Braintree_Dispute_EvidenceDetails');
|
lib/braintree/lib/Braintree/Dispute/StatusHistoryDetails.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree\Dispute;
|
3 |
+
|
4 |
+
use Braintree\Instance;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Status History for a dispute
|
8 |
+
*
|
9 |
+
* @package Braintree
|
10 |
+
*
|
11 |
+
* @property-read \DateTime $disbursementDate
|
12 |
+
* @property-read \DateTime $effectiveDate
|
13 |
+
* @property-read string $status
|
14 |
+
* @property-read \DateTime $timestamp
|
15 |
+
*/
|
16 |
+
class StatusHistoryDetails extends Instance
|
17 |
+
{
|
18 |
+
}
|
19 |
+
|
20 |
+
class_alias('Braintree\Dispute\StatusHistoryDetails', 'Braintree_Dispute_StatusHistoryDetails');
|
lib/braintree/lib/Braintree/Dispute/TransactionDetails.php
CHANGED
@@ -7,7 +7,6 @@ use Braintree\Instance;
|
|
7 |
* Transaction details for a dispute
|
8 |
*
|
9 |
* @package Braintree
|
10 |
-
* @copyright 2010 Braintree Payment Solutions
|
11 |
*/
|
12 |
|
13 |
/**
|
@@ -15,7 +14,6 @@ use Braintree\Instance;
|
|
15 |
*
|
16 |
*
|
17 |
* @package Braintree
|
18 |
-
* @copyright 2010 Braintree Payment Solutions
|
19 |
*
|
20 |
* @property-read string $amount
|
21 |
* @property-read string $id
|
7 |
* Transaction details for a dispute
|
8 |
*
|
9 |
* @package Braintree
|
|
|
10 |
*/
|
11 |
|
12 |
/**
|
14 |
*
|
15 |
*
|
16 |
* @package Braintree
|
|
|
17 |
*
|
18 |
* @property-read string $amount
|
19 |
* @property-read string $id
|
lib/braintree/lib/Braintree/DisputeGateway.php
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
use InvalidArgumentException;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Braintree DisputeGateway module
|
8 |
+
* PHP Version 5
|
9 |
+
* Creates and manages Braintree Disputes
|
10 |
+
*
|
11 |
+
* @package Braintree
|
12 |
+
*/
|
13 |
+
class DisputeGateway
|
14 |
+
{
|
15 |
+
/**
|
16 |
+
* @var Gateway
|
17 |
+
*/
|
18 |
+
private $_gateway;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* @var Configuration
|
22 |
+
*/
|
23 |
+
private $_config;
|
24 |
+
|
25 |
+
/**
|
26 |
+
* @var Http
|
27 |
+
*/
|
28 |
+
private $_http;
|
29 |
+
|
30 |
+
/**
|
31 |
+
* @param Gateway $gateway
|
32 |
+
*/
|
33 |
+
public function __construct($gateway)
|
34 |
+
{
|
35 |
+
$this->_gateway = $gateway;
|
36 |
+
$this->_config = $gateway->config;
|
37 |
+
$this->_config->assertHasAccessTokenOrKeys();
|
38 |
+
$this->_http = new Http($gateway->config);
|
39 |
+
}
|
40 |
+
|
41 |
+
/* public class methods */
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Accepts a dispute, given a dispute ID
|
45 |
+
*
|
46 |
+
* @param string $id
|
47 |
+
*/
|
48 |
+
public function accept($id)
|
49 |
+
{
|
50 |
+
try {
|
51 |
+
if (trim($id) == "") {
|
52 |
+
throw new Exception\NotFound();
|
53 |
+
}
|
54 |
+
|
55 |
+
$path = $this->_config->merchantPath() . '/disputes/' . $id . '/accept';
|
56 |
+
$response = $this->_http->put($path);
|
57 |
+
|
58 |
+
if (isset($response['apiErrorResponse'])) {
|
59 |
+
return new Result\Error($response['apiErrorResponse']);
|
60 |
+
}
|
61 |
+
|
62 |
+
return new Result\Successful();
|
63 |
+
} catch (Exception\NotFound $e) {
|
64 |
+
throw new Exception\NotFound('dispute with id "' . $id . '" not found');
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
+
/**
|
69 |
+
* Adds file evidence to a dispute, given a dispute ID and a document ID
|
70 |
+
*
|
71 |
+
* @param string $disputeId
|
72 |
+
* @param string $documentIdOrRequest
|
73 |
+
*/
|
74 |
+
public function addFileEvidence($disputeId, $documentIdOrRequest)
|
75 |
+
{
|
76 |
+
$request = is_array($documentIdOrRequest) ? $documentIdOrRequest : ['documentId' => $documentIdOrRequest];
|
77 |
+
|
78 |
+
if (trim($disputeId) == "") {
|
79 |
+
throw new Exception\NotFound('dispute with id "' . $disputeId . '" not found');
|
80 |
+
}
|
81 |
+
|
82 |
+
if (trim($request['documentId']) == "") {
|
83 |
+
throw new Exception\NotFound('document with id "' . $request['documentId'] . '" not found');
|
84 |
+
}
|
85 |
+
|
86 |
+
try {
|
87 |
+
if (array_key_exists('category', $request)) {
|
88 |
+
if (trim($request['category']) == "") {
|
89 |
+
throw new InvalidArgumentException('category cannot be blank');
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
$request['document_upload_id'] = $request['documentId'];
|
94 |
+
unset($request['documentId']);
|
95 |
+
|
96 |
+
$path = $this->_config->merchantPath() . '/disputes/' . $disputeId . '/evidence';
|
97 |
+
$response = $this->_http->post($path, ['evidence' => $request]);
|
98 |
+
|
99 |
+
if (isset($response['apiErrorResponse'])) {
|
100 |
+
return new Result\Error($response['apiErrorResponse']);
|
101 |
+
}
|
102 |
+
|
103 |
+
if (isset($response['evidence'])) {
|
104 |
+
$evidence = new Dispute\EvidenceDetails($response['evidence']);
|
105 |
+
return new Result\Successful($evidence);
|
106 |
+
}
|
107 |
+
} catch (Exception\NotFound $e) {
|
108 |
+
throw new Exception\NotFound('dispute with id "' . $disputeId . '" not found');
|
109 |
+
}
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Adds text evidence to a dispute, given a dispute ID and content
|
114 |
+
*
|
115 |
+
* @param string $id
|
116 |
+
* @param string $content
|
117 |
+
*/
|
118 |
+
public function addTextEvidence($id, $contentOrRequest)
|
119 |
+
{
|
120 |
+
$request = is_array($contentOrRequest) ? $contentOrRequest : ['content' => $contentOrRequest];
|
121 |
+
if (trim($request['content']) == "") {
|
122 |
+
throw new InvalidArgumentException('content cannot be blank');
|
123 |
+
}
|
124 |
+
|
125 |
+
try {
|
126 |
+
$evidence = [
|
127 |
+
'comments' => $request['content'],
|
128 |
+
];
|
129 |
+
|
130 |
+
if (trim($id) == "") {
|
131 |
+
throw new Exception\NotFound();
|
132 |
+
}
|
133 |
+
|
134 |
+
if (array_key_exists('tag', $request)) {
|
135 |
+
$evidence['category'] = $request['tag'];
|
136 |
+
}
|
137 |
+
|
138 |
+
if (array_key_exists('category', $request)) {
|
139 |
+
if (trim($request['category']) == "") {
|
140 |
+
throw new InvalidArgumentException('category cannot be blank');
|
141 |
+
}
|
142 |
+
$evidence['category'] = $request['category'];
|
143 |
+
}
|
144 |
+
|
145 |
+
if (array_key_exists('sequenceNumber', $request)) {
|
146 |
+
if (trim($request['sequenceNumber']) == "") {
|
147 |
+
throw new InvalidArgumentException('sequenceNumber cannot be blank');
|
148 |
+
} else if ((string)(int)($request['sequenceNumber']) != $request['sequenceNumber']) {
|
149 |
+
throw new InvalidArgumentException('sequenceNumber must be an integer');
|
150 |
+
}
|
151 |
+
$evidence['sequenceNumber'] = (int)$request['sequenceNumber'];
|
152 |
+
}
|
153 |
+
|
154 |
+
$path = $this->_config->merchantPath() . '/disputes/' . $id . '/evidence';
|
155 |
+
$response = $this->_http->post($path, [
|
156 |
+
'evidence' => $evidence
|
157 |
+
]);
|
158 |
+
|
159 |
+
if (isset($response['apiErrorResponse'])) {
|
160 |
+
return new Result\Error($response['apiErrorResponse']);
|
161 |
+
}
|
162 |
+
|
163 |
+
if (isset($response['evidence'])) {
|
164 |
+
$evidence = new Dispute\EvidenceDetails($response['evidence']);
|
165 |
+
return new Result\Successful($evidence);
|
166 |
+
}
|
167 |
+
} catch (Exception\NotFound $e) {
|
168 |
+
throw new Exception\NotFound('dispute with id "' . $id . '" not found');
|
169 |
+
}
|
170 |
+
}
|
171 |
+
|
172 |
+
/**
|
173 |
+
* Finalize a dispute, given a dispute ID
|
174 |
+
*
|
175 |
+
* @param string $id
|
176 |
+
*/
|
177 |
+
public function finalize($id)
|
178 |
+
{
|
179 |
+
try {
|
180 |
+
if (trim($id) == "") {
|
181 |
+
throw new Exception\NotFound();
|
182 |
+
}
|
183 |
+
|
184 |
+
$path = $this->_config->merchantPath() . '/disputes/' . $id . '/finalize';
|
185 |
+
$response = $this->_http->put($path);
|
186 |
+
|
187 |
+
if (isset($response['apiErrorResponse'])) {
|
188 |
+
return new Result\Error($response['apiErrorResponse']);
|
189 |
+
}
|
190 |
+
|
191 |
+
return new Result\Successful();
|
192 |
+
} catch (Exception\NotFound $e) {
|
193 |
+
throw new Exception\NotFound('dispute with id "' . $id . '" not found');
|
194 |
+
}
|
195 |
+
}
|
196 |
+
|
197 |
+
/**
|
198 |
+
* Find a dispute, given a dispute ID
|
199 |
+
*
|
200 |
+
* @param string $id
|
201 |
+
*/
|
202 |
+
public function find($id)
|
203 |
+
{
|
204 |
+
if (trim($id) == "") {
|
205 |
+
throw new Exception\NotFound('dispute with id "' . $id . '" not found');
|
206 |
+
}
|
207 |
+
|
208 |
+
try {
|
209 |
+
$path = $this->_config->merchantPath() . '/disputes/' . $id;
|
210 |
+
$response = $this->_http->get($path);
|
211 |
+
return Dispute::factory($response['dispute']);
|
212 |
+
} catch (Exception\NotFound $e) {
|
213 |
+
throw new Exception\NotFound('dispute with id "' . $id . '" not found');
|
214 |
+
}
|
215 |
+
}
|
216 |
+
|
217 |
+
/**
|
218 |
+
* Remove evidence from a dispute, given a dispute ID and evidence ID
|
219 |
+
*
|
220 |
+
* @param string $disputeId
|
221 |
+
* @param string $evidenceId
|
222 |
+
*/
|
223 |
+
public function removeEvidence($disputeId, $evidenceId)
|
224 |
+
{
|
225 |
+
try {
|
226 |
+
if (trim($disputeId) == "" || trim($evidenceId) == "") {
|
227 |
+
throw new Exception\NotFound();
|
228 |
+
}
|
229 |
+
|
230 |
+
$path = $this->_config->merchantPath() . '/disputes/' . $disputeId . '/evidence/' . $evidenceId;
|
231 |
+
$response = $this->_http->delete($path);
|
232 |
+
|
233 |
+
if (isset($response['apiErrorResponse'])) {
|
234 |
+
return new Result\Error($response['apiErrorResponse']);
|
235 |
+
}
|
236 |
+
|
237 |
+
return new Result\Successful();
|
238 |
+
} catch (Exception\NotFound $e) {
|
239 |
+
throw new Exception\NotFound('evidence with id "' . $evidenceId . '" for dispute with id "' . $disputeId . '" not found');
|
240 |
+
}
|
241 |
+
}
|
242 |
+
|
243 |
+
/**
|
244 |
+
* Search for Disputes, given a DisputeSearch query
|
245 |
+
*
|
246 |
+
* @param DisputeSearch $query
|
247 |
+
*/
|
248 |
+
public function search($query)
|
249 |
+
{
|
250 |
+
$criteria = [];
|
251 |
+
foreach ($query as $term) {
|
252 |
+
$criteria[$term->name] = $term->toparam();
|
253 |
+
}
|
254 |
+
$pager = [
|
255 |
+
'object' => $this,
|
256 |
+
'method' => 'fetchDisputes',
|
257 |
+
'query' => $criteria
|
258 |
+
];
|
259 |
+
return new PaginatedCollection($pager);
|
260 |
+
}
|
261 |
+
|
262 |
+
public function fetchDisputes($query, $page)
|
263 |
+
{
|
264 |
+
$response = $this->_http->post($this->_config->merchantPath() . '/disputes/advanced_search?page=' . $page, [
|
265 |
+
'search' => $query
|
266 |
+
]);
|
267 |
+
$body = $response['disputes'];
|
268 |
+
$disputes = Util::extractattributeasarray($body, 'dispute');
|
269 |
+
$totalItems = $body['totalItems'][0];
|
270 |
+
$pageSize = $body['pageSize'][0];
|
271 |
+
return new PaginatedResult($totalItems, $pageSize, $disputes);
|
272 |
+
}
|
273 |
+
}
|
274 |
+
class_alias('Braintree\DisputeGateway', 'Braintree_DisputeGateway');
|
lib/braintree/lib/Braintree/DisputeSearch.php
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
class DisputeSearch
|
5 |
+
{
|
6 |
+
public static function amountDisputed() {
|
7 |
+
return new RangeNode("amount_disputed");
|
8 |
+
}
|
9 |
+
|
10 |
+
public static function amountWon()
|
11 |
+
{
|
12 |
+
return new RangeNode("amount_won");
|
13 |
+
}
|
14 |
+
|
15 |
+
public static function caseNumber()
|
16 |
+
{
|
17 |
+
return new TextNode("case_number");
|
18 |
+
}
|
19 |
+
|
20 |
+
public static function id()
|
21 |
+
{
|
22 |
+
return new TextNode("id");
|
23 |
+
}
|
24 |
+
|
25 |
+
public static function customerId()
|
26 |
+
{
|
27 |
+
return new TextNode("customer_id");
|
28 |
+
}
|
29 |
+
|
30 |
+
public static function kind()
|
31 |
+
{
|
32 |
+
return new MultipleValueNode("kind");
|
33 |
+
}
|
34 |
+
|
35 |
+
public static function merchantAccountId()
|
36 |
+
{
|
37 |
+
return new MultipleValueNode("merchant_account_id");
|
38 |
+
}
|
39 |
+
|
40 |
+
public static function reason()
|
41 |
+
{
|
42 |
+
return new MultipleValueNode("reason");
|
43 |
+
}
|
44 |
+
|
45 |
+
public static function reasonCode()
|
46 |
+
{
|
47 |
+
return new MultipleValueNode("reason_code");
|
48 |
+
}
|
49 |
+
|
50 |
+
public static function receivedDate()
|
51 |
+
{
|
52 |
+
return new RangeNode("received_date");
|
53 |
+
}
|
54 |
+
|
55 |
+
public static function disbursementDate()
|
56 |
+
{
|
57 |
+
return new RangeNode("disbursement_date");
|
58 |
+
}
|
59 |
+
|
60 |
+
public static function effectiveDate()
|
61 |
+
{
|
62 |
+
return new RangeNode("effective_date");
|
63 |
+
}
|
64 |
+
|
65 |
+
public static function referenceNumber()
|
66 |
+
{
|
67 |
+
return new TextNode("reference_number");
|
68 |
+
}
|
69 |
+
|
70 |
+
public static function replyByDate()
|
71 |
+
{
|
72 |
+
return new RangeNode("reply_by_date");
|
73 |
+
}
|
74 |
+
|
75 |
+
public static function status()
|
76 |
+
{
|
77 |
+
return new MultipleValueNode("status");
|
78 |
+
}
|
79 |
+
|
80 |
+
public static function transactionId()
|
81 |
+
{
|
82 |
+
return new TextNode("transaction_id");
|
83 |
+
}
|
84 |
+
|
85 |
+
public static function transactionSource()
|
86 |
+
{
|
87 |
+
return new MultipleValueNode("transaction_source");
|
88 |
+
}
|
89 |
+
}
|
90 |
+
class_alias('Braintree\DisputeSearch', 'Braintree_DisputeSearch');
|
lib/braintree/lib/Braintree/DocumentUpload.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
use InvalidArgumentException;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Upload documents to Braintree in exchange for a DocumentUpload object.
|
8 |
+
*
|
9 |
+
* An example of creating a document upload with all available fields:
|
10 |
+
* $result = Braintree\DocumentUpload::create([
|
11 |
+
* "kind" => Braintree\DocumentUpload::EVIDENCE_DOCUMENT,
|
12 |
+
* "file" => $pngFile
|
13 |
+
* ]);
|
14 |
+
*
|
15 |
+
* For more information on DocumentUploads, see https://developers.braintreepayments.com/reference/request/document_upload/create
|
16 |
+
*
|
17 |
+
* @property-read string $contentType
|
18 |
+
* @property-read \DateTime $expiresAt
|
19 |
+
* @property-read string $id
|
20 |
+
* @property-read string $kind
|
21 |
+
* @property-read string $name
|
22 |
+
* @property-read int $size
|
23 |
+
*/
|
24 |
+
class DocumentUpload extends Base
|
25 |
+
{
|
26 |
+
/* DocumentUpload Kind */
|
27 |
+
const EVIDENCE_DOCUMENT = "evidence_document";
|
28 |
+
|
29 |
+
protected function _initialize($documentUploadAttribs)
|
30 |
+
{
|
31 |
+
$this->_attributes = $documentUploadAttribs;
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Creates a DocumentUpload object
|
36 |
+
* @param kind The kind of document
|
37 |
+
* @param file The open file to upload
|
38 |
+
* @throws InvalidArgumentException if the params are not expected
|
39 |
+
*/
|
40 |
+
public static function create($params)
|
41 |
+
{
|
42 |
+
return Configuration::gateway()->documentUpload()->create($params);
|
43 |
+
}
|
44 |
+
|
45 |
+
public static function factory($attributes)
|
46 |
+
{
|
47 |
+
$instance = new self();
|
48 |
+
$instance->_initialize($attributes);
|
49 |
+
return $instance;
|
50 |
+
}
|
51 |
+
}
|
52 |
+
class_alias('Braintree\DocumentUpload', 'Braintree_DocumentUpload');
|
lib/braintree/lib/Braintree/DocumentUploadGateway.php
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
use InvalidArgumentException;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Braintree DisputeGateway module
|
8 |
+
* PHP Version 5
|
9 |
+
* Creates and manages Braintree Disputes
|
10 |
+
*
|
11 |
+
* @package Braintree
|
12 |
+
*/
|
13 |
+
class DocumentUploadGateway
|
14 |
+
{
|
15 |
+
/**
|
16 |
+
* @var Gateway
|
17 |
+
*/
|
18 |
+
private $_gateway;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* @var Configuration
|
22 |
+
*/
|
23 |
+
private $_config;
|
24 |
+
|
25 |
+
/**
|
26 |
+
* @var Http
|
27 |
+
*/
|
28 |
+
private $_http;
|
29 |
+
|
30 |
+
/**
|
31 |
+
* @param Gateway $gateway
|
32 |
+
*/
|
33 |
+
public function __construct($gateway)
|
34 |
+
{
|
35 |
+
$this->_gateway = $gateway;
|
36 |
+
$this->_config = $gateway->config;
|
37 |
+
$this->_config->assertHasAccessTokenOrKeys();
|
38 |
+
$this->_http = new Http($gateway->config);
|
39 |
+
}
|
40 |
+
|
41 |
+
/* public class methods */
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Accepts a dispute, given a dispute ID
|
45 |
+
*
|
46 |
+
* @param string $id
|
47 |
+
*/
|
48 |
+
public function create($params)
|
49 |
+
{
|
50 |
+
Util::verifyKeys(self::createSignature(), $params);
|
51 |
+
|
52 |
+
$file = $params['file'];
|
53 |
+
|
54 |
+
if (!is_resource($file)) {
|
55 |
+
throw new InvalidArgumentException('file must be a stream resource');
|
56 |
+
}
|
57 |
+
|
58 |
+
$payload = [
|
59 |
+
'document_upload[kind]' => $params['kind']
|
60 |
+
];
|
61 |
+
$path = $this->_config->merchantPath() . '/document_uploads/';
|
62 |
+
$response = $this->_http->postMultipart($path, $payload, $file);
|
63 |
+
|
64 |
+
if (isset($response['apiErrorResponse'])) {
|
65 |
+
return new Result\Error($response['apiErrorResponse']);
|
66 |
+
}
|
67 |
+
|
68 |
+
if (isset($response['documentUpload'])) {
|
69 |
+
$documentUpload = DocumentUpload::factory($response['documentUpload']);
|
70 |
+
return new Result\Successful($documentUpload);
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
public static function createSignature()
|
75 |
+
{
|
76 |
+
return [
|
77 |
+
'file', 'kind'
|
78 |
+
];
|
79 |
+
}
|
80 |
+
}
|
81 |
+
class_alias('Braintree\DocumentUploadGateway', 'Braintree_DocumentUploadGateway');
|
lib/braintree/lib/Braintree/EndsWithNode.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
class EndsWithNode
|
5 |
+
{
|
6 |
+
public function __construct($name)
|
7 |
+
{
|
8 |
+
$this->name = $name;
|
9 |
+
$this->searchTerms = [];
|
10 |
+
}
|
11 |
+
|
12 |
+
public function endsWith($value)
|
13 |
+
{
|
14 |
+
$this->searchTerms["ends_with"] = strval($value);
|
15 |
+
return $this;
|
16 |
+
}
|
17 |
+
|
18 |
+
public function toParam()
|
19 |
+
{
|
20 |
+
return $this->searchTerms;
|
21 |
+
}
|
22 |
+
}
|
23 |
+
class_alias('Braintree\EndsWithNode', 'Braintree_EndsWithNode');
|
lib/braintree/lib/Braintree/Error/Codes.php
CHANGED
@@ -14,7 +14,6 @@ namespace Braintree\Error;
|
|
14 |
* @package Braintree
|
15 |
* @subpackage Errors
|
16 |
* @category Validation
|
17 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
18 |
*/
|
19 |
class Codes
|
20 |
{
|
@@ -122,6 +121,8 @@ class Codes
|
|
122 |
const CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_IS_FORBIDDEN = '91743';
|
123 |
const CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_IS_SUSPENDED = '91742';
|
124 |
const CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_CANNOT_BE_SUB_MERCHANT_ACCOUNT = '91755';
|
|
|
|
|
125 |
const CREDIT_CARD_PAYMENT_METHOD_CONFLICT = '81725';
|
126 |
const CREDIT_CARD_PAYMENT_METHOD_IS_NOT_A_CREDIT_CARD = '91738';
|
127 |
const CREDIT_CARD_PAYMENT_METHOD_NONCE_CARD_TYPE_IS_NOT_ACCEPTED = '91734';
|
@@ -167,19 +168,130 @@ class Codes
|
|
167 |
const DESCRIPTOR_INTERNATIONAL_PHONE_FORMAT_IS_INVALID = '92205';
|
168 |
const DESCRIPTOR_URL_FORMAT_IS_INVALID = '92206';
|
169 |
|
170 |
-
const
|
171 |
-
const
|
172 |
-
const
|
173 |
-
const
|
174 |
-
const
|
175 |
-
const
|
176 |
-
|
177 |
-
const
|
178 |
-
const
|
179 |
-
const
|
180 |
-
const
|
181 |
-
const
|
182 |
-
const
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
|
184 |
const MERCHANT_COUNTRY_CANNOT_BE_BLANK = '83603';
|
185 |
const MERCHANT_COUNTRY_CODE_ALPHA2_IS_INVALID = '93607';
|
@@ -196,6 +308,12 @@ class Codes
|
|
196 |
const MERCHANT_INCONSISTENT_COUNTRY = '93612';
|
197 |
const MERCHANT_ACCOUNT_PAYMENT_METHODS_ARE_INVALID = '93613';
|
198 |
const MERCHANT_PAYMENT_METHODS_ARE_NOT_ALLOWED = '93615';
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
|
200 |
const MERCHANT_ACCOUNT_ID_FORMAT_IS_INVALID = '82603';
|
201 |
const MERCHANT_ACCOUNT_ID_IS_IN_USE = '82604';
|
@@ -304,6 +422,8 @@ class Codes
|
|
304 |
const PAYMENT_METHOD_PAYMENT_METHOD_NONCE_UNKNOWN = '93108';
|
305 |
const PAYMENT_METHOD_PAYMENT_METHOD_NONCE_LOCKED = '93109';
|
306 |
const PAYMENT_METHOD_PAYMENT_METHOD_PARAMS_ARE_REQUIRED = '93101';
|
|
|
|
|
307 |
|
308 |
const PAYPAL_ACCOUNT_AUTH_EXPIRED = '92911';
|
309 |
const PAYPAL_ACCOUNT_CANNOT_HAVE_BOTH_ACCESS_TOKEN_AND_CONSENT_CODE = '82903';
|
@@ -408,6 +528,7 @@ class Codes
|
|
408 |
|
409 |
const TRANSACTION_AMOUNT_CANNOT_BE_NEGATIVE = '81501';
|
410 |
const TRANSACTION_AMOUNT_DOES_NOT_MATCH3_D_SECURE_AMOUNT = '91585';
|
|
|
411 |
const TRANSACTION_AMOUNT_FORMAT_IS_INVALID = '81503';
|
412 |
const TRANSACTION_AMOUNT_IS_INVALID = '81503';
|
413 |
const TRANSACTION_AMOUNT_IS_REQUIRED = '81502';
|
@@ -441,10 +562,26 @@ class Codes
|
|
441 |
const TRANSACTION_CUSTOMER_ID_IS_INVALID = '91510';
|
442 |
const TRANSACTION_CUSTOM_FIELD_IS_INVALID = '91526';
|
443 |
const TRANSACTION_CUSTOM_FIELD_IS_TOO_LONG = '81527';
|
|
|
444 |
const TRANSACTION_HAS_ALREADY_BEEN_REFUNDED = '91512';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_MATCH3_D_SECURE_MERCHANT_ACCOUNT = '91584';
|
|
|
446 |
const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_MOTO = '91558';
|
447 |
const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_REFUNDS = '91547';
|
|
|
448 |
const TRANSACTION_MERCHANT_ACCOUNT_ID_IS_INVALID = '91513';
|
449 |
const TRANSACTION_MERCHANT_ACCOUNT_IS_SUSPENDED = '91514';
|
450 |
const TRANSACTION_MERCHANT_ACCOUNT_NAME_IS_INVALID = '91513'; //Deprecated
|
@@ -453,6 +590,11 @@ class Codes
|
|
453 |
const TRANSACTION_OPTIONS_SUBMIT_FOR_SETTLEMENT_IS_REQUIRED_FOR_PAYPAL_UNILATERAL = '91582';
|
454 |
const TRANSACTION_OPTIONS_USE_BILLING_FOR_SHIPPING_DISABLED = '91572';
|
455 |
const TRANSACTION_OPTIONS_VAULT_IS_DISABLED = '91525';
|
|
|
|
|
|
|
|
|
|
|
456 |
const TRANSACTION_ORDER_ID_IS_TOO_LONG = '91501';
|
457 |
const TRANSACTION_PAYMENT_INSTRUMENT_NOT_SUPPORTED_BY_MERCHANT_ACCOUNT = '91577';
|
458 |
const TRANSACTION_PAYMENT_INSTRUMENT_TYPE_IS_NOT_ACCEPTED = '915101';
|
@@ -510,6 +652,17 @@ class Codes
|
|
510 |
const TRANSACTION_TYPE_IS_INVALID = '91523';
|
511 |
const TRANSACTION_TYPE_IS_REQUIRED = '91524';
|
512 |
const TRANSACTION_UNSUPPORTED_VOICE_AUTHORIZATION = '91539';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
513 |
|
514 |
const VERIFICATION_OPTIONS_AMOUNT_CANNOT_BE_NEGATIVE = '94201';
|
515 |
const VERIFICATION_OPTIONS_AMOUNT_FORMAT_IS_INVALID = '94202';
|
@@ -519,5 +672,7 @@ class Codes
|
|
519 |
const VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_IS_SUSPENDED = '94205';
|
520 |
const VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_IS_FORBIDDEN = '94206';
|
521 |
const VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_CANNOT_BE_SUB_MERCHANT_ACCOUNT = '94208';
|
|
|
|
|
522 |
}
|
523 |
class_alias('Braintree\Error\Codes', 'Braintree_Error_Codes');
|
14 |
* @package Braintree
|
15 |
* @subpackage Errors
|
16 |
* @category Validation
|
|
|
17 |
*/
|
18 |
class Codes
|
19 |
{
|
121 |
const CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_IS_FORBIDDEN = '91743';
|
122 |
const CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_IS_SUSPENDED = '91742';
|
123 |
const CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_CANNOT_BE_SUB_MERCHANT_ACCOUNT = '91755';
|
124 |
+
const CREDIT_CARD_OPTIONS_VERIFICATION_ACCOUNT_TYPE_IS_INVALID = '91757';
|
125 |
+
const CREDIT_CARD_OPTIONS_VERIFICATION_ACCOUNT_TYPE_NOT_SUPPORTED = '91758';
|
126 |
const CREDIT_CARD_PAYMENT_METHOD_CONFLICT = '81725';
|
127 |
const CREDIT_CARD_PAYMENT_METHOD_IS_NOT_A_CREDIT_CARD = '91738';
|
128 |
const CREDIT_CARD_PAYMENT_METHOD_NONCE_CARD_TYPE_IS_NOT_ACCEPTED = '91734';
|
168 |
const DESCRIPTOR_INTERNATIONAL_PHONE_FORMAT_IS_INVALID = '92205';
|
169 |
const DESCRIPTOR_URL_FORMAT_IS_INVALID = '92206';
|
170 |
|
171 |
+
const DISPUTE_CAN_ONLY_ADD_EVIDENCE_TO_OPEN_DISPUTE = '95701';
|
172 |
+
const DISPUTE_CAN_ONLY_REMOVE_EVIDENCE_FROM_OPEN_DISPUTE = '95702';
|
173 |
+
const DISPUTE_CAN_ONLY_ADD_EVIDENCE_TO_DISPUTE = '95703';
|
174 |
+
const DISPUTE_CAN_ONLY_ACCEPT_OPEN_DISPUTE = '95704';
|
175 |
+
const DISPUTE_CAN_ONLY_FINALIZE_OPEN_DISPUTE = '95705';
|
176 |
+
const DISPUTE_CAN_ONLY_CREATE_EVIDENCE_WITH_VALID_CATEGORY = '95706';
|
177 |
+
|
178 |
+
const DISPUTE_EVIDENCE_CONTENT_DATE_INVALID = '95707';
|
179 |
+
const DISPUTE_EVIDENCE_CONTENT_TOO_LONG = '95708';
|
180 |
+
const DISPUTE_EVIDENCE_CONTENT_ARN_TOO_LONG = '95709';
|
181 |
+
const DISPUTE_EVIDENCE_CONTENT_PHONE_TOO_LONG = '95710';
|
182 |
+
const DISPUTE_EVIDENCE_CATEGORY_TEXT_ONLY = '95711';
|
183 |
+
const DISPUTE_EVIDENCE_CATEGORY_DOCUMENT_ONLY = '95712';
|
184 |
+
const DISPUTE_EVIDENCE_CATEGORY_NOT_FOR_REASON_CODE = '95713';
|
185 |
+
const DISPUTE_EVIDENCE_CATEGORY_DUPLICATE = '95713';
|
186 |
+
const DISPUTE_EVIDENCE_CATEGORY_EMAIL_INVALID = '95713';
|
187 |
+
|
188 |
+
const DISPUTE_DIGITAL_GOODS_MISSING_EVIDENCE = '95720';
|
189 |
+
const DISPUTE_DIGITAL_GOODS_MISSING_DOWNLOAD_DATE = '95721';
|
190 |
+
const DISPUTE_PRIOR_NON_DISPUTED_TRANSACTION_MISSING_ARN = '95722';
|
191 |
+
const DISPUTE_PRIOR_NON_DISPUTED_TRANSACTION_MISSING_DATE = '95723';
|
192 |
+
const DISPUTE_RECURRING_TRANSACTION_MISSING_DATE = '95724';
|
193 |
+
const DISPUTE_RECURRING_TRANSACTION_MISSING_ARN = '95725';
|
194 |
+
const DISPUTE_VALID_EVIDENCE_REQUIRED_TO_FINALIZE = '95726';
|
195 |
+
|
196 |
+
const DOCUMENT_UPLOAD_KIND_IS_INVALID = '84901';
|
197 |
+
const DOCUMENT_UPLOAD_FILE_IS_TOO_LARGE = '84902';
|
198 |
+
const DOCUMENT_UPLOAD_FILE_TYPE_IS_INVALID = '84903';
|
199 |
+
const DOCUMENT_UPLOAD_FILE_IS_MALFORMED_OR_ENCRYPTED = '84904';
|
200 |
+
const DOCUMENT_UPLOAD_FILE_IS_TOO_LONG = '84905';
|
201 |
+
|
202 |
+
const FAILED_AUTH_ADJUSTMENT_ALLOW_RETRY = '95603';
|
203 |
+
const FAILED_AUTH_ADJUSTMENT_HARD_DECLINE = '95602';
|
204 |
+
const FINAL_AUTH_SUBMIT_FOR_SETTLEMENT_FOR_DIFFERENT_AMOUNT = '95601';
|
205 |
+
|
206 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_ARRIVAL_AIRPORT_CODE_IS_TOO_LONG = '96301';
|
207 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_ARRIVAL_TIME_FORMAT_IS_INVALID = '96302';
|
208 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_CARRIER_CODE_IS_TOO_LONG = '96303';
|
209 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_CONJUNCTION_TICKET_IS_TOO_LONG = '96304';
|
210 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_COUPON_NUMBER_IS_TOO_LONG = '96305';
|
211 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_DEPARTURE_AIRPORT_CODE_IS_TOO_LONG = '96306';
|
212 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_DEPARTURE_TIME_FORMAT_IS_INVALID = '96307';
|
213 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_EXCHANGE_TICKET_IS_TOO_LONG = '96308';
|
214 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FARE_AMOUNT_CANNOT_BE_NEGATIVE = '96309';
|
215 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FARE_AMOUNT_FORMAT_IS_INVALID = '96310';
|
216 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FARE_AMOUNT_IS_TOO_LARGE = '96311';
|
217 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FARE_BASIS_CODE_IS_TOO_LONG = '96312';
|
218 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FEE_AMOUNT_CANNOT_BE_NEGATIVE = '96313';
|
219 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FEE_AMOUNT_FORMAT_IS_INVALID = '96314';
|
220 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FEE_AMOUNT_IS_TOO_LARGE = '96315';
|
221 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_SERVICE_CLASS_IS_TOO_LONG = '96316';
|
222 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_TAX_AMOUNT_CANNOT_BE_NEGATIVE = '96317';
|
223 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_TAX_AMOUNT_FORMAT_IS_INVALID = '96318';
|
224 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_TAX_AMOUNT_IS_TOO_LARGE = '96319';
|
225 |
+
const INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_TICKET_NUMBER_IS_TOO_LONG = '96320';
|
226 |
+
|
227 |
+
const INDUSTRY_DATA_INDUSTRY_TYPE_IS_INVALID = '93401';
|
228 |
+
const INDUSTRY_DATA_LODGING_EMPTY_DATA = '93402';
|
229 |
+
const INDUSTRY_DATA_LODGING_FOLIO_NUMBER_IS_INVALID = '93403';
|
230 |
+
const INDUSTRY_DATA_LODGING_CHECK_IN_DATE_IS_INVALID = '93404';
|
231 |
+
const INDUSTRY_DATA_LODGING_CHECK_OUT_DATE_IS_INVALID = '93405';
|
232 |
+
const INDUSTRY_DATA_LODGING_CHECK_OUT_DATE_MUST_FOLLOW_CHECK_IN_DATE = '93406';
|
233 |
+
const INDUSTRY_DATA_LODGING_UNKNOWN_DATA_FIELD = '93407';
|
234 |
+
const INDUSTRY_DATA_TRAVEL_CRUISE_EMPTY_DATA = '93408';
|
235 |
+
const INDUSTRY_DATA_TRAVEL_CRUISE_UNKNOWN_DATA_FIELD = '93409';
|
236 |
+
const INDUSTRY_DATA_TRAVEL_CRUISE_TRAVEL_PACKAGE_IS_INVALID = '93410';
|
237 |
+
const INDUSTRY_DATA_TRAVEL_CRUISE_DEPARTURE_DATE_IS_INVALID = '93411';
|
238 |
+
const INDUSTRY_DATA_TRAVEL_CRUISE_LODGING_CHECK_IN_DATE_IS_INVALID = '93412';
|
239 |
+
const INDUSTRY_DATA_TRAVEL_CRUISE_LODGING_CHECK_OUT_DATE_IS_INVALID = '93413';
|
240 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_EMPTY_DATA = '93414';
|
241 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_UNKNOWN_DATA_FIELD = '93415';
|
242 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_CUSTOMER_CODE_IS_TOO_LONG = '93416';
|
243 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_FARE_AMOUNT_CANNOT_BE_NEGATIVE = '93417';
|
244 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_FARE_AMOUNT_FORMAT_IS_INVALID = '93418';
|
245 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_FARE_AMOUNT_IS_TOO_LARGE = '93419';
|
246 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_FEE_AMOUNT_CANNOT_BE_NEGATIVE = '93420';
|
247 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_FEE_AMOUNT_FORMAT_IS_INVALID = '93421';
|
248 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_FEE_AMOUNT_IS_TOO_LARGE = '93422';
|
249 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_ISSUED_DATE_FORMAT_IS_INVALID = '93423';
|
250 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_ISSUING_CARRIER_CODE_IS_TOO_LONG = '93424';
|
251 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_PASSENGER_MIDDLE_INITIAL_IS_TOO_LONG = '93425';
|
252 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_RESTRICTED_TICKET_IS_REQUIRED = '93426';
|
253 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_TAX_AMOUNT_CANNOT_BE_NEGATIVE = '93427';
|
254 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_TAX_AMOUNT_FORMAT_IS_INVALID = '93428';
|
255 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_TAX_AMOUNT_IS_TOO_LARGE = '93429';
|
256 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_TICKET_NUMBER_IS_TOO_LONG = '93430';
|
257 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_LEGS_EXPECTED = '93431';
|
258 |
+
const INDUSTRY_DATA_TRAVEL_FLIGHT_TOO_MANY_LEGS = '93432';
|
259 |
+
|
260 |
+
const TRANSACTION_LINE_ITEM_COMMODITY_CODE_IS_TOO_LONG = '95801';
|
261 |
+
const TRANSACTION_LINE_ITEM_DESCRIPTION_IS_TOO_LONG = '95803';
|
262 |
+
const TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_FORMAT_IS_INVALID = '95804';
|
263 |
+
const TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_IS_TOO_LARGE = '95805';
|
264 |
+
const TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_MUST_BE_GREATER_THAN_ZERO = '95806'; // Deprecated as the amount may be zero. Use TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_CANNOT_BE_ZERO.
|
265 |
+
const TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_CANNOT_BE_NEGATIVE = '95806';
|
266 |
+
const TRANSACTION_LINE_ITEM_KIND_IS_INVALID = '95807';
|
267 |
+
const TRANSACTION_LINE_ITEM_KIND_IS_REQUIRED = '95808';
|
268 |
+
const TRANSACTION_LINE_ITEM_NAME_IS_REQUIRED = '95822';
|
269 |
+
const TRANSACTION_LINE_ITEM_NAME_IS_TOO_LONG = '95823';
|
270 |
+
const TRANSACTION_LINE_ITEM_PRODUCT_CODE_IS_TOO_LONG = '95809';
|
271 |
+
const TRANSACTION_LINE_ITEM_QUANTITY_FORMAT_IS_INVALID = '95810';
|
272 |
+
const TRANSACTION_LINE_ITEM_QUANTITY_IS_REQUIRED = '95811';
|
273 |
+
const TRANSACTION_LINE_ITEM_QUANTITY_IS_TOO_LARGE = '95812';
|
274 |
+
const TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_FORMAT_IS_INVALID = '95813';
|
275 |
+
const TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_IS_REQUIRED = '95814';
|
276 |
+
const TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_IS_TOO_LARGE = '95815';
|
277 |
+
const TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_MUST_BE_GREATER_THAN_ZERO = '95816';
|
278 |
+
const TRANSACTION_LINE_ITEM_UNIT_AMOUNT_FORMAT_IS_INVALID = '95817';
|
279 |
+
const TRANSACTION_LINE_ITEM_UNIT_AMOUNT_IS_REQUIRED = '95818';
|
280 |
+
const TRANSACTION_LINE_ITEM_UNIT_AMOUNT_IS_TOO_LARGE = '95819';
|
281 |
+
const TRANSACTION_LINE_ITEM_UNIT_AMOUNT_MUST_BE_GREATER_THAN_ZERO = '95820';
|
282 |
+
const TRANSACTION_LINE_ITEM_UNIT_OF_MEASURE_IS_TOO_LONG = '95821';
|
283 |
+
const TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_FORMAT_IS_INVALID = '95824';
|
284 |
+
const TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_IS_TOO_LARGE = '95825';
|
285 |
+
const TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_MUST_BE_GREATER_THAN_ZERO = '95826'; // Deprecated as the amount may be zero. Use TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_CANNOT_BE_ZERO.
|
286 |
+
const TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_CANNOT_BE_NEGATIVE = '95826';
|
287 |
+
const TRANSACTION_LINE_ITEM_TAX_AMOUNT_FORMAT_IS_INVALID = '95827';
|
288 |
+
const TRANSACTION_LINE_ITEM_TAX_AMOUNT_IS_TOO_LARGE = '95828';
|
289 |
+
const TRANSACTION_LINE_ITEM_TAX_AMOUNT_CANNOT_BE_NEGATIVE = '95829';
|
290 |
+
|
291 |
+
const TRANSACTION_EXTERNAL_VAULT_STATUS_IS_INVALID = '915175';
|
292 |
+
const TRANSACTION_EXTERNAL_VAULT_STATUS_WITH_PREVIOUS_NETWORK_TRANSACTION_ID_IS_INVALID = '915177';
|
293 |
+
const TRANSACTION_EXTERNAL_VAULT_CARD_TYPE_IS_INVALID = '915178';
|
294 |
+
const TRANSACTION_EXTERNAL_VAULT_PREVIOUS_NETWORK_TRANSACTION_ID_IS_INVALID = '915179';
|
295 |
|
296 |
const MERCHANT_COUNTRY_CANNOT_BE_BLANK = '83603';
|
297 |
const MERCHANT_COUNTRY_CODE_ALPHA2_IS_INVALID = '93607';
|
308 |
const MERCHANT_INCONSISTENT_COUNTRY = '93612';
|
309 |
const MERCHANT_ACCOUNT_PAYMENT_METHODS_ARE_INVALID = '93613';
|
310 |
const MERCHANT_PAYMENT_METHODS_ARE_NOT_ALLOWED = '93615';
|
311 |
+
const MERCHANT_MERCHANT_ACCOUNT_EXISTS_FOR_CURRENCY = '93616';
|
312 |
+
const MERCHANT_CURRENCY_IS_REQUIRED = '93617';
|
313 |
+
const MERCHANT_CURRENCY_IS_INVALID = '93618';
|
314 |
+
const MERCHANT_NO_MERCHANT_ACCOUNTS = '93619';
|
315 |
+
const MERCHANT_MERCHANT_ACCOUNT_EXISTS_FOR_ID = '93620';
|
316 |
+
const MERCHANT_MERCHANT_ACCOUNT_NOT_AUTH_ONBOARDED = '93621';
|
317 |
|
318 |
const MERCHANT_ACCOUNT_ID_FORMAT_IS_INVALID = '82603';
|
319 |
const MERCHANT_ACCOUNT_ID_IS_IN_USE = '82604';
|
422 |
const PAYMENT_METHOD_PAYMENT_METHOD_NONCE_UNKNOWN = '93108';
|
423 |
const PAYMENT_METHOD_PAYMENT_METHOD_NONCE_LOCKED = '93109';
|
424 |
const PAYMENT_METHOD_PAYMENT_METHOD_PARAMS_ARE_REQUIRED = '93101';
|
425 |
+
const PAYMENT_METHOD_NO_LONGER_SUPPORTED = '93117';
|
426 |
+
const PAYMENT_METHOD_OPTIONS_US_BANK_ACCOUNT_VERIFICATION_METHOD_IS_INVALID = '93121';
|
427 |
|
428 |
const PAYPAL_ACCOUNT_AUTH_EXPIRED = '92911';
|
429 |
const PAYPAL_ACCOUNT_CANNOT_HAVE_BOTH_ACCESS_TOKEN_AND_CONSENT_CODE = '82903';
|
528 |
|
529 |
const TRANSACTION_AMOUNT_CANNOT_BE_NEGATIVE = '81501';
|
530 |
const TRANSACTION_AMOUNT_DOES_NOT_MATCH3_D_SECURE_AMOUNT = '91585';
|
531 |
+
const TRANSACTION_AMOUNT_DOES_NOT_MATCH_IDEAL_PAYMENT_AMOUNT = '915144';
|
532 |
const TRANSACTION_AMOUNT_FORMAT_IS_INVALID = '81503';
|
533 |
const TRANSACTION_AMOUNT_IS_INVALID = '81503';
|
534 |
const TRANSACTION_AMOUNT_IS_REQUIRED = '81502';
|
562 |
const TRANSACTION_CUSTOMER_ID_IS_INVALID = '91510';
|
563 |
const TRANSACTION_CUSTOM_FIELD_IS_INVALID = '91526';
|
564 |
const TRANSACTION_CUSTOM_FIELD_IS_TOO_LONG = '81527';
|
565 |
+
const TRANSACTION_PAYMENT_INSTRUMENT_WITH_EXTERNAL_VAULT_IS_INVALID = '915176';
|
566 |
const TRANSACTION_HAS_ALREADY_BEEN_REFUNDED = '91512';
|
567 |
+
const TRANSACTION_IDEAL_PAYMENT_NOT_COMPLETE = '815141';
|
568 |
+
const TRANSACTION_IDEAL_PAYMENTS_CANNOT_BE_VAULTED = '915150';
|
569 |
+
const TRANSACTION_LINE_ITEMS_EXPECTED = '915158';
|
570 |
+
const TRANSACTION_TOO_MANY_LINE_ITEMS = '915157';
|
571 |
+
const TRANSACTION_DISCOUNT_AMOUNT_FORMAT_IS_INVALID = '915159';
|
572 |
+
const TRANSACTION_DISCOUNT_AMOUNT_CANNOT_BE_NEGATIVE = '915160';
|
573 |
+
const TRANSACTION_DISCOUNT_AMOUNT_IS_TOO_LARGE = '915161';
|
574 |
+
const TRANSACTION_SHIPPING_AMOUNT_FORMAT_IS_INVALID = '915162';
|
575 |
+
const TRANSACTION_SHIPPING_AMOUNT_CANNOT_BE_NEGATIVE = '915163';
|
576 |
+
const TRANSACTION_SHIPPING_AMOUNT_IS_TOO_LARGE = '915164';
|
577 |
+
const TRANSACTION_SHIPS_FROM_POSTAL_CODE_IS_TOO_LONG = '915165';
|
578 |
+
const TRANSACTION_SHIPS_FROM_POSTAL_CODE_IS_INVALID = '915166';
|
579 |
+
const TRANSACTION_SHIPS_FROM_POSTAL_CODE_INVALID_CHARACTERS = '915167';
|
580 |
const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_MATCH3_D_SECURE_MERCHANT_ACCOUNT = '91584';
|
581 |
+
const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_MATCH_IDEAL_PAYMENT_MERCHANT_ACCOUNT = '915143';
|
582 |
const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_MOTO = '91558';
|
583 |
const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_REFUNDS = '91547';
|
584 |
+
const TRANSACTION_MERCHANT_ACCOUNT_ID_DOES_NOT_MATCH_SUBSCRIPTION = '915180';
|
585 |
const TRANSACTION_MERCHANT_ACCOUNT_ID_IS_INVALID = '91513';
|
586 |
const TRANSACTION_MERCHANT_ACCOUNT_IS_SUSPENDED = '91514';
|
587 |
const TRANSACTION_MERCHANT_ACCOUNT_NAME_IS_INVALID = '91513'; //Deprecated
|
590 |
const TRANSACTION_OPTIONS_SUBMIT_FOR_SETTLEMENT_IS_REQUIRED_FOR_PAYPAL_UNILATERAL = '91582';
|
591 |
const TRANSACTION_OPTIONS_USE_BILLING_FOR_SHIPPING_DISABLED = '91572';
|
592 |
const TRANSACTION_OPTIONS_VAULT_IS_DISABLED = '91525';
|
593 |
+
const TRANSACTION_OPTIONS_CREDIT_CARD_ACCOUNT_TYPE_IS_INVALID = '915184';
|
594 |
+
const TRANSACTION_OPTIONS_CREDIT_CARD_ACCOUNT_TYPE_NOT_SUPPORTED = '915185';
|
595 |
+
const TRANSACTION_OPTIONS_CREDIT_CARD_ACCOUNT_TYPE_DEBIT_DOES_NOT_SUPPORT_AUTHS = '915186';
|
596 |
+
const TRANSACTION_ORDER_ID_DOES_NOT_MATCH_IDEAL_PAYMENT_ORDER_ID = '91503';
|
597 |
+
const TRANSACTION_ORDER_ID_IS_REQUIRED_WITH_IDEAL_PAYMENT = '91502';
|
598 |
const TRANSACTION_ORDER_ID_IS_TOO_LONG = '91501';
|
599 |
const TRANSACTION_PAYMENT_INSTRUMENT_NOT_SUPPORTED_BY_MERCHANT_ACCOUNT = '91577';
|
600 |
const TRANSACTION_PAYMENT_INSTRUMENT_TYPE_IS_NOT_ACCEPTED = '915101';
|
652 |
const TRANSACTION_TYPE_IS_INVALID = '91523';
|
653 |
const TRANSACTION_TYPE_IS_REQUIRED = '91524';
|
654 |
const TRANSACTION_UNSUPPORTED_VOICE_AUTHORIZATION = '91539';
|
655 |
+
const TRANSACTION_US_BANK_ACCOUNT_NONCE_MUST_BE_PLAID_VERIFIED = '915171';
|
656 |
+
const TRANSACTION_US_BANK_ACCOUNT_NOT_VERIFIED = '915172';
|
657 |
+
|
658 |
+
const TRANSACTION_TRANSACTION_SOURCE_IS_INVALID = '915133';
|
659 |
+
|
660 |
+
const US_BANK_ACCOUNT_VERIFICATION_NOT_CONFIRMABLE = '96101';
|
661 |
+
const US_BANK_ACCOUNT_VERIFICATION_MUST_BE_MICRO_TRANSFERS_VERIFICATION = '96102';
|
662 |
+
const US_BANK_ACCOUNT_VERIFICATION_AMOUNTS_DO_NOT_MATCH = '96103';
|
663 |
+
const US_BANK_ACCOUNT_VERIFICATION_TOO_MANY_CONFIRMATION_ATTEMPTS = '96104';
|
664 |
+
const US_BANK_ACCOUNT_VERIFICATION_UNABLE_TO_CONFIRM_DEPOSIT_AMOUNTS = '96105';
|
665 |
+
const US_BANK_ACCOUNT_VERIFICATION_INVALID_DEPOSIT_AMOUNTS = '96106';
|
666 |
|
667 |
const VERIFICATION_OPTIONS_AMOUNT_CANNOT_BE_NEGATIVE = '94201';
|
668 |
const VERIFICATION_OPTIONS_AMOUNT_FORMAT_IS_INVALID = '94202';
|
672 |
const VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_IS_SUSPENDED = '94205';
|
673 |
const VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_IS_FORBIDDEN = '94206';
|
674 |
const VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_CANNOT_BE_SUB_MERCHANT_ACCOUNT = '94208';
|
675 |
+
const VERIFICATION_OPTIONS_ACCOUNT_TYPE_IS_INVALID = '942184';
|
676 |
+
const VERIFICATION_OPTIONS_ACCOUNT_TYPE_NOT_SUPPORTED = '942185';
|
677 |
}
|
678 |
class_alias('Braintree\Error\Codes', 'Braintree_Error_Codes');
|
lib/braintree/lib/Braintree/Error/ErrorCollection.php
CHANGED
@@ -13,7 +13,6 @@ use Braintree\Util;
|
|
13 |
* @package Braintree
|
14 |
* @subpackage Errors
|
15 |
* @category Errors
|
16 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
17 |
*
|
18 |
* @property-read object $errors
|
19 |
*/
|
13 |
* @package Braintree
|
14 |
* @subpackage Errors
|
15 |
* @category Errors
|
|
|
16 |
*
|
17 |
* @property-read object $errors
|
18 |
*/
|
lib/braintree/lib/Braintree/Error/Validation.php
CHANGED
@@ -9,11 +9,10 @@ use Braintree\Util;
|
|
9 |
*
|
10 |
* <b>== More information ==</b>
|
11 |
*
|
12 |
-
* For more detailed information on Validation errors, see {@link
|
13 |
*
|
14 |
* @package Braintree
|
15 |
* @subpackage Error
|
16 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
17 |
*
|
18 |
* @property-read string $attribute
|
19 |
* @property-read string $code
|
9 |
*
|
10 |
* <b>== More information ==</b>
|
11 |
*
|
12 |
+
* For more detailed information on Validation errors, see {@link https://developers.braintreepayments.com/reference/general/validation-errors/overview/php https://developers.braintreepayments.com/reference/general/validation-errors/overview/php}
|
13 |
*
|
14 |
* @package Braintree
|
15 |
* @subpackage Error
|
|
|
16 |
*
|
17 |
* @property-read string $attribute
|
18 |
* @property-read string $code
|
lib/braintree/lib/Braintree/Error/ValidationErrorCollection.php
CHANGED
@@ -8,11 +8,10 @@ use Braintree\Collection;
|
|
8 |
*
|
9 |
* <b>== More information ==</b>
|
10 |
*
|
11 |
-
* For more detailed information on Validation errors, see {@link
|
12 |
*
|
13 |
* @package Braintree
|
14 |
* @subpackage Error
|
15 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
16 |
*
|
17 |
* @property-read array $errors
|
18 |
* @property-read array $nested
|
8 |
*
|
9 |
* <b>== More information ==</b>
|
10 |
*
|
11 |
+
* For more detailed information on Validation errors, see {@link https://developers.braintreepayments.com/reference/general/validation-errors/overview/php https://developers.braintreepayments.com/reference/general/validation-errors/overview/php}
|
12 |
*
|
13 |
* @package Braintree
|
14 |
* @subpackage Error
|
|
|
15 |
*
|
16 |
* @property-read array $errors
|
17 |
* @property-read array $nested
|
lib/braintree/lib/Braintree/EuropeBankAccount.php
CHANGED
@@ -11,7 +11,6 @@ namespace Braintree;
|
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*
|
16 |
* @property-read string $account-holder-name
|
17 |
* @property-read string $bic
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
|
|
14 |
*
|
15 |
* @property-read string $account-holder-name
|
16 |
* @property-read string $bic
|
lib/braintree/lib/Braintree/Exception.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @subpackage Exception
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
class Exception extends \Exception
|
12 |
{
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @subpackage Exception
|
|
|
9 |
*/
|
10 |
class Exception extends \Exception
|
11 |
{
|
lib/braintree/lib/Braintree/Exception/Authentication.php
CHANGED
@@ -9,7 +9,6 @@ use Braintree\Exception;
|
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Exception
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*/
|
14 |
class Authentication extends Exception
|
15 |
{
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Exception
|
|
|
12 |
*/
|
13 |
class Authentication extends Exception
|
14 |
{
|
lib/braintree/lib/Braintree/Exception/Authorization.php
CHANGED
@@ -11,7 +11,6 @@ use Braintree\Exception;
|
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @subpackage Exception
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*/
|
16 |
class Authorization extends Exception
|
17 |
{
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @subpackage Exception
|
|
|
14 |
*/
|
15 |
class Authorization extends Exception
|
16 |
{
|
lib/braintree/lib/Braintree/Exception/Connection.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree\Exception;
|
3 |
+
|
4 |
+
use Braintree\Exception;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Raised when the connection fails
|
8 |
+
*
|
9 |
+
* @package Braintree
|
10 |
+
* @subpackage Exception
|
11 |
+
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
+
*/
|
13 |
+
class Connection extends Exception
|
14 |
+
{
|
15 |
+
|
16 |
+
}
|
17 |
+
class_alias('Braintree\Exception\Connection', 'Braintree_Exception_Connection');
|
lib/braintree/lib/Braintree/Exception/DownForMaintenance.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class DownForMaintenance extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class DownForMaintenance extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/Exception/ForgedQueryString.php
CHANGED
@@ -12,7 +12,6 @@ use Braintree\Exception;
|
|
12 |
*
|
13 |
* @package Braintree
|
14 |
* @subpackage Exception
|
15 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
16 |
*/
|
17 |
class ForgedQueryString extends Exception
|
18 |
{
|
12 |
*
|
13 |
* @package Braintree
|
14 |
* @subpackage Exception
|
|
|
15 |
*/
|
16 |
class ForgedQueryString extends Exception
|
17 |
{
|
lib/braintree/lib/Braintree/Exception/NotFound.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class NotFound extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class NotFound extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/Exception/SSLCaFileNotFound.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class SSLCaFileNotFound extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class SSLCaFileNotFound extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/Exception/SSLCertificate.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class SSLCertificate extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class SSLCertificate extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/Exception/ServerError.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class ServerError extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class ServerError extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/Exception/TestOperationPerformedInProduction.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class TestOperationPerformedInProduction extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class TestOperationPerformedInProduction extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/Exception/Timeout.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2016 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class Timeout extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class Timeout extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/Exception/TooManyRequests.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class TooManyRequests extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class TooManyRequests extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/Exception/Unexpected.php
CHANGED
@@ -9,7 +9,6 @@ use Braintree\Exception;
|
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Exception
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*/
|
14 |
class Unexpected extends Exception
|
15 |
{
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Exception
|
|
|
12 |
*/
|
13 |
class Unexpected extends Exception
|
14 |
{
|
lib/braintree/lib/Braintree/Exception/UpgradeRequired.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class UpgradeRequired extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class UpgradeRequired extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/Exception/ValidationsFailed.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Exception;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
class ValidationsFailed extends Exception
|
14 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Exception
|
|
|
11 |
*/
|
12 |
class ValidationsFailed extends Exception
|
13 |
{
|
lib/braintree/lib/Braintree/FacilitatedDetails.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* @property-read string $merchantId
|
6 |
+
* @property-read string $merchantName
|
7 |
+
* @property-read string $paymentMethodNonce
|
8 |
+
*/
|
9 |
+
class FacilitatedDetails extends Base
|
10 |
+
{
|
11 |
+
public static function factory($attributes)
|
12 |
+
{
|
13 |
+
$instance = new self();
|
14 |
+
$instance->_initialize($attributes);
|
15 |
+
return $instance;
|
16 |
+
}
|
17 |
+
|
18 |
+
protected function _initialize($attributes)
|
19 |
+
{
|
20 |
+
$this->_attributes = $attributes;
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* returns a string representation of the facilitated details
|
25 |
+
* @return string
|
26 |
+
*/
|
27 |
+
public function __toString()
|
28 |
+
{
|
29 |
+
return __CLASS__ . '[' .
|
30 |
+
Util::attributesToString($this->_attributes) .']';
|
31 |
+
}
|
32 |
+
|
33 |
+
}
|
34 |
+
class_alias('Braintree\FacilitatedDetails', 'Braintree_FacilitatedDetails');
|
lib/braintree/lib/Braintree/FacilitatorDetails.php
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
class FacilitatorDetails extends Base
|
5 |
{
|
6 |
public static function factory($attributes)
|
@@ -17,7 +22,7 @@ class FacilitatorDetails extends Base
|
|
17 |
}
|
18 |
|
19 |
/**
|
20 |
-
* returns a string representation of the
|
21 |
* @return string
|
22 |
*/
|
23 |
public function __toString()
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* @property-read string $oauthApplicationClientId
|
6 |
+
* @property-read string $oauthApplicationName
|
7 |
+
* @property-read string $sourcePaymentMethodToken
|
8 |
+
*/
|
9 |
class FacilitatorDetails extends Base
|
10 |
{
|
11 |
public static function factory($attributes)
|
22 |
}
|
23 |
|
24 |
/**
|
25 |
+
* returns a string representation of the facilitator details
|
26 |
* @return string
|
27 |
*/
|
28 |
public function __toString()
|
lib/braintree/lib/Braintree/Gateway.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
class Gateway
|
12 |
{
|
@@ -42,6 +41,15 @@ class Gateway
|
|
42 |
return new AddressGateway($this);
|
43 |
}
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
/**
|
46 |
*
|
47 |
* @return ClientTokenGateway
|
@@ -87,6 +95,24 @@ class Gateway
|
|
87 |
return new DiscountGateway($this);
|
88 |
}
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
/**
|
91 |
*
|
92 |
* @return MerchantGateway
|
@@ -186,6 +212,15 @@ class Gateway
|
|
186 |
return new TransactionGateway($this);
|
187 |
}
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
/**
|
190 |
*
|
191 |
* @return TransparentRedirectGateway
|
@@ -204,5 +239,40 @@ class Gateway
|
|
204 |
return new UsBankAccountGateway($this);
|
205 |
}
|
206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
}
|
208 |
class_alias('Braintree\Gateway', 'Braintree_Gateway');
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
9 |
*/
|
10 |
class Gateway
|
11 |
{
|
41 |
return new AddressGateway($this);
|
42 |
}
|
43 |
|
44 |
+
/**
|
45 |
+
*
|
46 |
+
* @return ApplePayGateway
|
47 |
+
*/
|
48 |
+
public function applePay()
|
49 |
+
{
|
50 |
+
return new ApplePayGateway($this);
|
51 |
+
}
|
52 |
+
|
53 |
/**
|
54 |
*
|
55 |
* @return ClientTokenGateway
|
95 |
return new DiscountGateway($this);
|
96 |
}
|
97 |
|
98 |
+
/**
|
99 |
+
*
|
100 |
+
* @return DisputeGateway
|
101 |
+
*/
|
102 |
+
public function dispute()
|
103 |
+
{
|
104 |
+
return new DisputeGateway($this);
|
105 |
+
}
|
106 |
+
|
107 |
+
/**
|
108 |
+
*
|
109 |
+
* @return DocumentUploadGateway
|
110 |
+
*/
|
111 |
+
public function documentUpload()
|
112 |
+
{
|
113 |
+
return new DocumentUploadGateway($this);
|
114 |
+
}
|
115 |
+
|
116 |
/**
|
117 |
*
|
118 |
* @return MerchantGateway
|
212 |
return new TransactionGateway($this);
|
213 |
}
|
214 |
|
215 |
+
/**
|
216 |
+
*
|
217 |
+
* @return TransactionLineItemGateway
|
218 |
+
*/
|
219 |
+
public function transactionLineItem()
|
220 |
+
{
|
221 |
+
return new TransactionLineItemGateway($this);
|
222 |
+
}
|
223 |
+
|
224 |
/**
|
225 |
*
|
226 |
* @return TransparentRedirectGateway
|
239 |
return new UsBankAccountGateway($this);
|
240 |
}
|
241 |
|
242 |
+
/**
|
243 |
+
*
|
244 |
+
* @return UsBankAccountVerificationGateway
|
245 |
+
*/
|
246 |
+
public function usBankAccountVerification()
|
247 |
+
{
|
248 |
+
return new UsBankAccountVerificationGateway($this);
|
249 |
+
}
|
250 |
+
|
251 |
+
/**
|
252 |
+
*
|
253 |
+
* @return IdealPaymentGateway
|
254 |
+
*/
|
255 |
+
public function idealPayment()
|
256 |
+
{
|
257 |
+
return new IdealPaymentGateway($this);
|
258 |
+
}
|
259 |
+
|
260 |
+
/**
|
261 |
+
*
|
262 |
+
* @return WebhookNotificationGateway
|
263 |
+
*/
|
264 |
+
public function webhookNotification()
|
265 |
+
{
|
266 |
+
return new WebhookNotificationGateway($this);
|
267 |
+
}
|
268 |
+
|
269 |
+
/**
|
270 |
+
*
|
271 |
+
* @return WebhookTestingGateway
|
272 |
+
*/
|
273 |
+
public function webhookTesting()
|
274 |
+
{
|
275 |
+
return new WebhookTestingGateway($this);
|
276 |
+
}
|
277 |
}
|
278 |
class_alias('Braintree\Gateway', 'Braintree_Gateway');
|
lib/braintree/lib/Braintree/GrantedPaymentInstrumentUpdate.php
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree GrantedPaymentInstrumentUpdate module
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
* @category Resources
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Manages Braintree GrantedPaymentInstrumentUpdate
|
13 |
+
*
|
14 |
+
* <b>== More information ==</b>
|
15 |
+
*
|
16 |
+
*
|
17 |
+
* @package Braintree
|
18 |
+
* @category Resources
|
19 |
+
*
|
20 |
+
* @property-read string $grantOwnerMerchantId
|
21 |
+
* @property-read string $grantRecipientMerchantId
|
22 |
+
* @property-read string $paymentMethodNonce
|
23 |
+
* @property-read string $token
|
24 |
+
* @property-read string $updatedFields
|
25 |
+
*/
|
26 |
+
class GrantedPaymentInstrumentUpdate extends Base
|
27 |
+
{
|
28 |
+
/**
|
29 |
+
* factory method: returns an instance of GrantedPaymentInstrumentUpdate
|
30 |
+
* to the requesting method, with populated properties
|
31 |
+
*
|
32 |
+
* @ignore
|
33 |
+
* @return GrantedPaymentInstrumentUpdate
|
34 |
+
*/
|
35 |
+
public static function factory($attributes)
|
36 |
+
{
|
37 |
+
$instance = new self();
|
38 |
+
$instance->_initialize($attributes);
|
39 |
+
return $instance;
|
40 |
+
}
|
41 |
+
|
42 |
+
/* instance methods */
|
43 |
+
|
44 |
+
/**
|
45 |
+
* sets instance properties from an array of values
|
46 |
+
*
|
47 |
+
* @access protected
|
48 |
+
* @param array $GrantedPaymentInstrumentAttribs array of grantedPaymentInstrumentUpdate data
|
49 |
+
* @return void
|
50 |
+
*/
|
51 |
+
protected function _initialize($grantedPaymentInstrumentUpdateAttribs)
|
52 |
+
{
|
53 |
+
// set the attributes
|
54 |
+
$this->_attributes = $grantedPaymentInstrumentUpdateAttribs;
|
55 |
+
|
56 |
+
$paymentMethodNonce = isset($grantedPaymentInstrumentUpdateAttribs['paymentMethodNonce']) ?
|
57 |
+
GrantedPaymentInstrumentUpdate::factory($grantedPaymentInstrumentUpdateAttribs['paymentMethodNonce']) :
|
58 |
+
null;
|
59 |
+
$this->_set('paymentMethodNonce', $paymentMethodNonce);
|
60 |
+
}
|
61 |
+
|
62 |
+
/**
|
63 |
+
* create a printable representation of the object as:
|
64 |
+
* ClassName[property=value, property=value]
|
65 |
+
* @return string
|
66 |
+
*/
|
67 |
+
public function __toString()
|
68 |
+
{
|
69 |
+
return __CLASS__ . '[' .
|
70 |
+
Util::attributesToString($this->_attributes) . ']';
|
71 |
+
}
|
72 |
+
}
|
73 |
+
class_alias('Braintree\GrantedPaymentInstrumentUpdate', 'Braintree_GrantedPaymentInstrumentUpdate');
|
lib/braintree/lib/Braintree/GraphQL.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
use finfo;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Braintree GraphQL Client
|
8 |
+
* process GraphQL requests using curl
|
9 |
+
*/
|
10 |
+
class GraphQL extends Http
|
11 |
+
{
|
12 |
+
public function __construct($config)
|
13 |
+
{
|
14 |
+
parent::__construct($config);
|
15 |
+
}
|
16 |
+
|
17 |
+
public function graphQLHeaders()
|
18 |
+
{
|
19 |
+
return [
|
20 |
+
'Accept: application/json',
|
21 |
+
'Braintree-Version: ' . Configuration::GRAPHQL_API_VERSION,
|
22 |
+
'Content-Type: application/json',
|
23 |
+
'User-Agent: Braintree PHP Library ' . Version::get(),
|
24 |
+
'X-ApiVersion: ' . Configuration::API_VERSION
|
25 |
+
];
|
26 |
+
}
|
27 |
+
|
28 |
+
public function request($definition, $variables)
|
29 |
+
{
|
30 |
+
$graphQLRequest = ["query" => $definition];
|
31 |
+
if ($variables) {
|
32 |
+
$graphQLRequest["variables"] = $variables;
|
33 |
+
}
|
34 |
+
|
35 |
+
$response = $this->_doUrlRequest('POST', $this->_config->graphQLBaseUrl(), json_encode($graphQLRequest), null, $this->graphQLHeaders());
|
36 |
+
|
37 |
+
$result = json_decode($response["body"], true);
|
38 |
+
Util::throwGraphQLResponseException($result);
|
39 |
+
|
40 |
+
return $result;
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
class_alias('Braintree\GraphQL', 'Braintree_GraphQL');
|
lib/braintree/lib/Braintree/Http.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
4 |
/**
|
5 |
* Braintree HTTP Client
|
6 |
* processes Http requests using curl
|
7 |
-
*
|
8 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
9 |
*/
|
10 |
class Http
|
11 |
{
|
@@ -17,11 +17,14 @@ class Http
|
|
17 |
$this->_config = $config;
|
18 |
}
|
19 |
|
20 |
-
public function delete($path)
|
21 |
{
|
22 |
-
$response = $this->_doRequest('DELETE', $path);
|
23 |
-
|
|
|
24 |
return true;
|
|
|
|
|
25 |
} else {
|
26 |
Util::throwStatusCodeException($response['status']);
|
27 |
}
|
@@ -41,7 +44,22 @@ class Http
|
|
41 |
{
|
42 |
$response = $this->_doRequest('POST', $path, $this->_buildXml($params));
|
43 |
$responseCode = $response['status'];
|
44 |
-
if($responseCode === 200 || $responseCode === 201 || $responseCode === 422 || $responseCode == 400) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
return Xml::buildArrayFromXml($response['body']);
|
46 |
} else {
|
47 |
Util::throwStatusCodeException($responseCode);
|
@@ -52,7 +70,7 @@ class Http
|
|
52 |
{
|
53 |
$response = $this->_doRequest('PUT', $path, $this->_buildXml($params));
|
54 |
$responseCode = $response['status'];
|
55 |
-
if($responseCode === 200 || $responseCode === 201 || $responseCode === 422 || $responseCode == 400) {
|
56 |
return Xml::buildArrayFromXml($response['body']);
|
57 |
} else {
|
58 |
Util::throwStatusCodeException($responseCode);
|
@@ -68,7 +86,6 @@ class Http
|
|
68 |
{
|
69 |
return [
|
70 |
'Accept: application/xml',
|
71 |
-
'Content-Type: application/xml',
|
72 |
];
|
73 |
}
|
74 |
|
@@ -96,22 +113,34 @@ class Http
|
|
96 |
$this->_useClientCredentials = true;
|
97 |
}
|
98 |
|
99 |
-
private function _doRequest($httpVerb, $path, $requestBody = null)
|
100 |
{
|
101 |
-
return $this->_doUrlRequest($httpVerb, $this->_config->baseUrl() . $path, $requestBody);
|
102 |
}
|
103 |
|
104 |
-
public function _doUrlRequest($httpVerb, $url, $requestBody = null)
|
105 |
{
|
106 |
$curl = curl_init();
|
107 |
curl_setopt($curl, CURLOPT_TIMEOUT, $this->_config->timeout());
|
108 |
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $httpVerb);
|
109 |
curl_setopt($curl, CURLOPT_URL, $url);
|
110 |
-
curl_setopt($curl, CURLOPT_ENCODING, 'gzip');
|
111 |
|
112 |
-
|
113 |
-
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
|
116 |
$authorization = $this->_getAuthorization();
|
117 |
if (isset($authorization['user'])) {
|
@@ -120,38 +149,42 @@ class Http
|
|
120 |
} else if (isset($authorization['token'])) {
|
121 |
$headers[] = 'Authorization: Bearer ' . $authorization['token'];
|
122 |
}
|
123 |
-
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
|
124 |
|
125 |
-
// curl_setopt($curl, CURLOPT_VERBOSE, true);
|
126 |
if ($this->_config->sslOn()) {
|
127 |
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
|
128 |
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
|
129 |
curl_setopt($curl, CURLOPT_CAINFO, $this->getCaFile());
|
130 |
}
|
131 |
|
132 |
-
if(!empty($
|
|
|
|
|
|
|
|
|
133 |
curl_setopt($curl, CURLOPT_POSTFIELDS, $requestBody);
|
134 |
}
|
135 |
|
136 |
-
if($this->_config->isUsingProxy()) {
|
137 |
$proxyHost = $this->_config->getProxyHost();
|
138 |
$proxyPort = $this->_config->getProxyPort();
|
139 |
$proxyType = $this->_config->getProxyType();
|
140 |
$proxyUser = $this->_config->getProxyUser();
|
141 |
$proxyPwd= $this->_config->getProxyPassword();
|
142 |
curl_setopt($curl, CURLOPT_PROXY, $proxyHost . ':' . $proxyPort);
|
143 |
-
if(!empty($proxyType)) {
|
144 |
curl_setopt($curl, CURLOPT_PROXYTYPE, $proxyType);
|
145 |
}
|
146 |
-
if($this->_config->isAuthenticatedProxy()) {
|
147 |
curl_setopt($curl, CURLOPT_PROXYUSERPWD, $proxyUser . ':' . $proxyPwd);
|
148 |
}
|
149 |
}
|
150 |
|
|
|
151 |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
152 |
$response = curl_exec($curl);
|
153 |
$httpStatus = curl_getinfo($curl, CURLINFO_HTTP_CODE);
|
154 |
$error_code = curl_errno($curl);
|
|
|
155 |
|
156 |
if ($error_code == 28 && $httpStatus == 0) {
|
157 |
throw new Exception\Timeout();
|
@@ -160,12 +193,59 @@ class Http
|
|
160 |
curl_close($curl);
|
161 |
if ($this->_config->sslOn()) {
|
162 |
if ($httpStatus == 0) {
|
163 |
-
throw new Exception\SSLCertificate();
|
164 |
}
|
|
|
|
|
165 |
}
|
|
|
166 |
return ['status' => $httpStatus, 'body' => $response];
|
167 |
}
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
private function getCaFile()
|
170 |
{
|
171 |
static $memo;
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
use finfo;
|
5 |
+
|
6 |
/**
|
7 |
* Braintree HTTP Client
|
8 |
* processes Http requests using curl
|
|
|
|
|
9 |
*/
|
10 |
class Http
|
11 |
{
|
17 |
$this->_config = $config;
|
18 |
}
|
19 |
|
20 |
+
public function delete($path, $params = null)
|
21 |
{
|
22 |
+
$response = $this->_doRequest('DELETE', $path, $this->_buildXml($params));
|
23 |
+
$responseCode = $response['status'];
|
24 |
+
if ($responseCode === 200 || $responseCode === 204) {
|
25 |
return true;
|
26 |
+
} else if ($responseCode === 422) {
|
27 |
+
return Xml::buildArrayFromXml($response['body']);
|
28 |
} else {
|
29 |
Util::throwStatusCodeException($response['status']);
|
30 |
}
|
44 |
{
|
45 |
$response = $this->_doRequest('POST', $path, $this->_buildXml($params));
|
46 |
$responseCode = $response['status'];
|
47 |
+
if ($responseCode === 200 || $responseCode === 201 || $responseCode === 422 || $responseCode == 400) {
|
48 |
+
return Xml::buildArrayFromXml($response['body']);
|
49 |
+
} else {
|
50 |
+
Util::throwStatusCodeException($responseCode);
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
public function postMultipart($path, $params, $file)
|
55 |
+
{
|
56 |
+
$headers = [
|
57 |
+
'User-Agent: Braintree PHP Library ' . Version::get(),
|
58 |
+
'X-ApiVersion: ' . Configuration::API_VERSION
|
59 |
+
];
|
60 |
+
$response = $this->_doRequest('POST', $path, $params, $file, $headers);
|
61 |
+
$responseCode = $response['status'];
|
62 |
+
if ($responseCode === 200 || $responseCode === 201 || $responseCode === 422 || $responseCode == 400) {
|
63 |
return Xml::buildArrayFromXml($response['body']);
|
64 |
} else {
|
65 |
Util::throwStatusCodeException($responseCode);
|
70 |
{
|
71 |
$response = $this->_doRequest('PUT', $path, $this->_buildXml($params));
|
72 |
$responseCode = $response['status'];
|
73 |
+
if ($responseCode === 200 || $responseCode === 201 || $responseCode === 422 || $responseCode == 400) {
|
74 |
return Xml::buildArrayFromXml($response['body']);
|
75 |
} else {
|
76 |
Util::throwStatusCodeException($responseCode);
|
86 |
{
|
87 |
return [
|
88 |
'Accept: application/xml',
|
|
|
89 |
];
|
90 |
}
|
91 |
|
113 |
$this->_useClientCredentials = true;
|
114 |
}
|
115 |
|
116 |
+
private function _doRequest($httpVerb, $path, $requestBody = null, $file = null, $headers = null)
|
117 |
{
|
118 |
+
return $this->_doUrlRequest($httpVerb, $this->_config->baseUrl() . $path, $requestBody, $file, $headers);
|
119 |
}
|
120 |
|
121 |
+
public function _doUrlRequest($httpVerb, $url, $requestBody = null, $file = null, $customHeaders = null)
|
122 |
{
|
123 |
$curl = curl_init();
|
124 |
curl_setopt($curl, CURLOPT_TIMEOUT, $this->_config->timeout());
|
125 |
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $httpVerb);
|
126 |
curl_setopt($curl, CURLOPT_URL, $url);
|
|
|
127 |
|
128 |
+
if ($this->_config->acceptGzipEncoding()) {
|
129 |
+
curl_setopt($curl, CURLOPT_ENCODING, 'gzip');
|
130 |
+
}
|
131 |
+
if ($this->_config->sslVersion()) {
|
132 |
+
curl_setopt($curl, CURLOPT_SSLVERSION, $this->_config->sslVersion());
|
133 |
+
}
|
134 |
+
|
135 |
+
$headers = [];
|
136 |
+
if ($customHeaders) {
|
137 |
+
$headers = $customHeaders;
|
138 |
+
} else {
|
139 |
+
$headers = $this->_getHeaders($curl);
|
140 |
+
$headers[] = 'User-Agent: Braintree PHP Library ' . Version::get();
|
141 |
+
$headers[] = 'X-ApiVersion: ' . Configuration::API_VERSION;
|
142 |
+
$headers[] = 'Content-Type: application/xml';
|
143 |
+
}
|
144 |
|
145 |
$authorization = $this->_getAuthorization();
|
146 |
if (isset($authorization['user'])) {
|
149 |
} else if (isset($authorization['token'])) {
|
150 |
$headers[] = 'Authorization: Bearer ' . $authorization['token'];
|
151 |
}
|
|
|
152 |
|
|
|
153 |
if ($this->_config->sslOn()) {
|
154 |
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
|
155 |
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
|
156 |
curl_setopt($curl, CURLOPT_CAINFO, $this->getCaFile());
|
157 |
}
|
158 |
|
159 |
+
if (!empty($file)) {
|
160 |
+
$boundary = "---------------------" . md5(mt_rand() . microtime());
|
161 |
+
$headers[] = "Content-Type: multipart/form-data; boundary={$boundary}";
|
162 |
+
$this->prepareMultipart($curl, $requestBody, $file, $boundary);
|
163 |
+
} else if (!empty($requestBody)) {
|
164 |
curl_setopt($curl, CURLOPT_POSTFIELDS, $requestBody);
|
165 |
}
|
166 |
|
167 |
+
if ($this->_config->isUsingProxy()) {
|
168 |
$proxyHost = $this->_config->getProxyHost();
|
169 |
$proxyPort = $this->_config->getProxyPort();
|
170 |
$proxyType = $this->_config->getProxyType();
|
171 |
$proxyUser = $this->_config->getProxyUser();
|
172 |
$proxyPwd= $this->_config->getProxyPassword();
|
173 |
curl_setopt($curl, CURLOPT_PROXY, $proxyHost . ':' . $proxyPort);
|
174 |
+
if (!empty($proxyType)) {
|
175 |
curl_setopt($curl, CURLOPT_PROXYTYPE, $proxyType);
|
176 |
}
|
177 |
+
if ($this->_config->isAuthenticatedProxy()) {
|
178 |
curl_setopt($curl, CURLOPT_PROXYUSERPWD, $proxyUser . ':' . $proxyPwd);
|
179 |
}
|
180 |
}
|
181 |
|
182 |
+
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
|
183 |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
184 |
$response = curl_exec($curl);
|
185 |
$httpStatus = curl_getinfo($curl, CURLINFO_HTTP_CODE);
|
186 |
$error_code = curl_errno($curl);
|
187 |
+
$error = curl_error($curl);
|
188 |
|
189 |
if ($error_code == 28 && $httpStatus == 0) {
|
190 |
throw new Exception\Timeout();
|
193 |
curl_close($curl);
|
194 |
if ($this->_config->sslOn()) {
|
195 |
if ($httpStatus == 0) {
|
196 |
+
throw new Exception\SSLCertificate($error, $error_code);
|
197 |
}
|
198 |
+
} else if ($error_code) {
|
199 |
+
throw new Exception\Connection($error, $error_code);
|
200 |
}
|
201 |
+
|
202 |
return ['status' => $httpStatus, 'body' => $response];
|
203 |
}
|
204 |
|
205 |
+
function prepareMultipart($ch, $requestBody, $file, $boundary) {
|
206 |
+
$disallow = ["\0", "\"", "\r", "\n"];
|
207 |
+
$fileInfo = new finfo(FILEINFO_MIME_TYPE);
|
208 |
+
$filePath = stream_get_meta_data($file)['uri'];
|
209 |
+
$data = file_get_contents($filePath);
|
210 |
+
$mimeType = $fileInfo->buffer($data);
|
211 |
+
|
212 |
+
// build normal parameters
|
213 |
+
foreach ($requestBody as $k => $v) {
|
214 |
+
$k = str_replace($disallow, "_", $k);
|
215 |
+
$body[] = implode("\r\n", [
|
216 |
+
"Content-Disposition: form-data; name=\"{$k}\"",
|
217 |
+
"",
|
218 |
+
filter_var($v),
|
219 |
+
]);
|
220 |
+
}
|
221 |
+
|
222 |
+
// build file parameter
|
223 |
+
$splitFilePath = explode(DIRECTORY_SEPARATOR, $filePath);
|
224 |
+
$filePath = end($splitFilePath);
|
225 |
+
$filePath = str_replace($disallow, "_", $filePath);
|
226 |
+
$body[] = implode("\r\n", [
|
227 |
+
"Content-Disposition: form-data; name=\"file\"; filename=\"{$filePath}\"",
|
228 |
+
"Content-Type: {$mimeType}",
|
229 |
+
"",
|
230 |
+
$data,
|
231 |
+
]);
|
232 |
+
|
233 |
+
// add boundary for each parameters
|
234 |
+
array_walk($body, function (&$part) use ($boundary) {
|
235 |
+
$part = "--{$boundary}\r\n{$part}";
|
236 |
+
});
|
237 |
+
|
238 |
+
// add final boundary
|
239 |
+
$body[] = "--{$boundary}--";
|
240 |
+
$body[] = "";
|
241 |
+
|
242 |
+
// set options
|
243 |
+
return curl_setopt_array($ch, [
|
244 |
+
CURLOPT_POST => true,
|
245 |
+
CURLOPT_POSTFIELDS => implode("\r\n", $body)
|
246 |
+
]);
|
247 |
+
}
|
248 |
+
|
249 |
private function getCaFile()
|
250 |
{
|
251 |
static $memo;
|
lib/braintree/lib/Braintree/IbanBankAccount.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree IbanBankAccount module
|
6 |
+
* PHP Version 5
|
7 |
+
*
|
8 |
+
* @package Braintree
|
9 |
+
*
|
10 |
+
* @property-read string $maskedIban
|
11 |
+
* @property-read string $bic
|
12 |
+
* @property-read string $ibanCountry
|
13 |
+
* @property-read string $description
|
14 |
+
* @property-read string $ibanAccountNumberLast4
|
15 |
+
*/
|
16 |
+
class IbanBankAccount extends Base
|
17 |
+
{
|
18 |
+
/**
|
19 |
+
* create a printable representation of the object as:
|
20 |
+
* ClassName[property=value, property=value]
|
21 |
+
* @ignore
|
22 |
+
* @return string
|
23 |
+
*/
|
24 |
+
public function __toString()
|
25 |
+
{
|
26 |
+
return __CLASS__ . '[' .
|
27 |
+
Util::attributesToString($this->_attributes) . ']';
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* sets instance properties from an array of values
|
32 |
+
*
|
33 |
+
* @ignore
|
34 |
+
* @access protected
|
35 |
+
* @param array $ibanAttribs array of ibanBankAccount data
|
36 |
+
* @return void
|
37 |
+
*/
|
38 |
+
protected function _initialize($ibanAttribs)
|
39 |
+
{
|
40 |
+
// set the attributes
|
41 |
+
$this->_attributes = $ibanAttribs;
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* factory method: returns an instance of IbanBankAccount
|
46 |
+
* to the requesting method, with populated properties
|
47 |
+
* @ignore
|
48 |
+
* @return IbanBankAccount
|
49 |
+
*/
|
50 |
+
public static function factory($attributes)
|
51 |
+
{
|
52 |
+
$instance = new self();
|
53 |
+
$instance->_initialize($attributes);
|
54 |
+
return $instance;
|
55 |
+
}
|
56 |
+
}
|
57 |
+
class_alias('Braintree\IbanBankAccount', 'Braintree_IbanBankAccount');
|
lib/braintree/lib/Braintree/IdealPayment.php
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree IdealPayment module
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
* @category Resources
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Manages Braintree IdealPayments
|
13 |
+
*
|
14 |
+
* <b>== More information ==</b>
|
15 |
+
*
|
16 |
+
*
|
17 |
+
* @package Braintree
|
18 |
+
* @category Resources
|
19 |
+
*
|
20 |
+
* @property-read string $id
|
21 |
+
* @property-read string $idealTransactionId
|
22 |
+
* @property-read string $currency
|
23 |
+
* @property-read string $amount
|
24 |
+
* @property-read string $status
|
25 |
+
* @property-read string $orderId
|
26 |
+
* @property-read string $issuer
|
27 |
+
* @property-read string $ibanBankAccount
|
28 |
+
*/
|
29 |
+
class IdealPayment extends Base
|
30 |
+
{
|
31 |
+
/**
|
32 |
+
* factory method: returns an instance of IdealPayment
|
33 |
+
* to the requesting method, with populated properties
|
34 |
+
*
|
35 |
+
* @ignore
|
36 |
+
* @return IdealPayment
|
37 |
+
*/
|
38 |
+
public static function factory($attributes)
|
39 |
+
{
|
40 |
+
$instance = new self();
|
41 |
+
$instance->_initialize($attributes);
|
42 |
+
return $instance;
|
43 |
+
}
|
44 |
+
|
45 |
+
/* instance methods */
|
46 |
+
|
47 |
+
/**
|
48 |
+
* sets instance properties from an array of values
|
49 |
+
*
|
50 |
+
* @access protected
|
51 |
+
* @param array $idealPaymentAttribs array of idealPayment data
|
52 |
+
* @return void
|
53 |
+
*/
|
54 |
+
protected function _initialize($idealPaymentAttribs)
|
55 |
+
{
|
56 |
+
// set the attributes
|
57 |
+
$this->_attributes = $idealPaymentAttribs;
|
58 |
+
|
59 |
+
$ibanBankAccount = isset($idealPaymentAttribs['ibanBankAccount']) ?
|
60 |
+
IbanBankAccount::factory($idealPaymentAttribs['ibanBankAccount']) :
|
61 |
+
null;
|
62 |
+
$this->_set('ibanBankAccount', $ibanBankAccount);
|
63 |
+
}
|
64 |
+
|
65 |
+
/**
|
66 |
+
* create a printable representation of the object as:
|
67 |
+
* ClassName[property=value, property=value]
|
68 |
+
* @return string
|
69 |
+
*/
|
70 |
+
public function __toString()
|
71 |
+
{
|
72 |
+
return __CLASS__ . '[' .
|
73 |
+
Util::attributesToString($this->_attributes) . ']';
|
74 |
+
}
|
75 |
+
|
76 |
+
|
77 |
+
// static methods redirecting to gateway
|
78 |
+
|
79 |
+
public static function find($idealPaymentId)
|
80 |
+
{
|
81 |
+
return Configuration::gateway()->idealPayment()->find($idealPaymentId);
|
82 |
+
}
|
83 |
+
|
84 |
+
public static function sale($idealPaymentId, $transactionAttribs)
|
85 |
+
{
|
86 |
+
$transactionAttribs['options'] = [
|
87 |
+
'submitForSettlement' => true
|
88 |
+
];
|
89 |
+
return Configuration::gateway()->idealPayment()->sale($idealPaymentId, $transactionAttribs);
|
90 |
+
}
|
91 |
+
}
|
92 |
+
class_alias('Braintree\IdealPayment', 'Braintree_IdealPayment');
|
lib/braintree/lib/Braintree/IdealPaymentGateway.php
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
use InvalidArgumentException;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Braintree IdealPaymentGateway module
|
8 |
+
*
|
9 |
+
* @package Braintree
|
10 |
+
* @category Resources
|
11 |
+
*/
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Manages Braintree IdealPayments
|
15 |
+
*
|
16 |
+
* <b>== More information ==</b>
|
17 |
+
*
|
18 |
+
*
|
19 |
+
* @package Braintree
|
20 |
+
* @category Resources
|
21 |
+
*/
|
22 |
+
class IdealPaymentGateway
|
23 |
+
{
|
24 |
+
private $_gateway;
|
25 |
+
private $_config;
|
26 |
+
private $_http;
|
27 |
+
|
28 |
+
public function __construct($gateway)
|
29 |
+
{
|
30 |
+
$this->_gateway = $gateway;
|
31 |
+
$this->_config = $gateway->config;
|
32 |
+
$this->_config->assertHasAccessTokenOrKeys();
|
33 |
+
$this->_http = new Http($gateway->config);
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* find an IdealPayment by id
|
38 |
+
*
|
39 |
+
* @access public
|
40 |
+
* @param string $idealPaymentId
|
41 |
+
* @return IdealPayment
|
42 |
+
* @throws Exception\NotFound
|
43 |
+
*/
|
44 |
+
public function find($idealPaymentId)
|
45 |
+
{
|
46 |
+
try {
|
47 |
+
$path = $this->_config->merchantPath() . '/ideal_payments/' . $idealPaymentId;
|
48 |
+
$response = $this->_http->get($path);
|
49 |
+
return IdealPayment::factory($response['idealPayment']);
|
50 |
+
} catch (Exception\NotFound $e) {
|
51 |
+
throw new Exception\NotFound(
|
52 |
+
'iDEAL Payment with id ' . $idealPaymentId . ' not found'
|
53 |
+
);
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* create a new sale for the current IdealPayment
|
59 |
+
*
|
60 |
+
* @param string $idealPaymentId
|
61 |
+
* @param array $transactionAttribs
|
62 |
+
* @return Result\Successful|Result\Error
|
63 |
+
* @see Transaction::sale()
|
64 |
+
*/
|
65 |
+
public function sale($idealPaymentId, $transactionAttribs)
|
66 |
+
{
|
67 |
+
return Transaction::sale(
|
68 |
+
array_merge(
|
69 |
+
$transactionAttribs,
|
70 |
+
['paymentMethodNonce' => $idealPaymentId]
|
71 |
+
)
|
72 |
+
);
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* generic method for validating incoming gateway responses
|
77 |
+
*
|
78 |
+
* creates a new IdealPayment object and encapsulates
|
79 |
+
* it inside a Result\Successful object, or
|
80 |
+
* encapsulates a Errors object inside a Result\Error
|
81 |
+
* alternatively, throws an Unexpected exception if the response is invalid.
|
82 |
+
*
|
83 |
+
* @ignore
|
84 |
+
* @param array $response gateway response values
|
85 |
+
* @return Result\Successful|Result\Error
|
86 |
+
* @throws Exception\Unexpected
|
87 |
+
*/
|
88 |
+
private function _verifyGatewayResponse($response)
|
89 |
+
{
|
90 |
+
if (isset($response['idealPayment'])) {
|
91 |
+
// return a populated instance of IdealPayment
|
92 |
+
return new Result\Successful(
|
93 |
+
IdealPayment::factory($response['idealPayment'])
|
94 |
+
);
|
95 |
+
} else if (isset($response['apiErrorResponse'])) {
|
96 |
+
return new Result\Error($response['apiErrorResponse']);
|
97 |
+
} else {
|
98 |
+
throw new Exception\Unexpected(
|
99 |
+
'Expected Ideal Payment or apiErrorResponse'
|
100 |
+
);
|
101 |
+
}
|
102 |
+
}
|
103 |
+
}
|
104 |
+
class_alias('Braintree\IdealPaymentGateway', 'Braintree_IdealPaymentGateway');
|
lib/braintree/lib/Braintree/Instance.php
CHANGED
@@ -4,7 +4,6 @@ namespace Braintree;
|
|
4 |
/**
|
5 |
* Braintree Class Instance template
|
6 |
*
|
7 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
8 |
* @abstract
|
9 |
*/
|
10 |
abstract class Instance
|
4 |
/**
|
5 |
* Braintree Class Instance template
|
6 |
*
|
|
|
7 |
* @abstract
|
8 |
*/
|
9 |
abstract class Instance
|
lib/braintree/lib/Braintree/LocalPaymentCompleted.php
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree LocalPaymentCompleted module
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
* @category Resources
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Manages Braintree LocalPaymentCompleted
|
13 |
+
*
|
14 |
+
* <b>== More information ==</b>
|
15 |
+
*
|
16 |
+
*
|
17 |
+
* @package Braintree
|
18 |
+
* @category Resources
|
19 |
+
*
|
20 |
+
* @property-read string $grantOwnerMerchantId
|
21 |
+
* @property-read string $grantRecipientMerchantId
|
22 |
+
* @property-read string $paymentMethodNonce
|
23 |
+
* @property-read string $token
|
24 |
+
* @property-read string $updatedFields
|
25 |
+
*/
|
26 |
+
class LocalPaymentCompleted extends Base
|
27 |
+
{
|
28 |
+
/**
|
29 |
+
* factory method: returns an instance of GrantedPaymentInstrumentUpdate
|
30 |
+
* to the requesting method, with populated properties
|
31 |
+
*
|
32 |
+
* @ignore
|
33 |
+
* @return LocalPaymentCompleted
|
34 |
+
*/
|
35 |
+
public static function factory($attributes)
|
36 |
+
{
|
37 |
+
$instance = new self();
|
38 |
+
$instance->_initialize($attributes);
|
39 |
+
return $instance;
|
40 |
+
}
|
41 |
+
|
42 |
+
/* instance methods */
|
43 |
+
|
44 |
+
/**
|
45 |
+
* sets instance properties from an array of values
|
46 |
+
*
|
47 |
+
* @access protected
|
48 |
+
* @param array $LocalPaymentCompletedAttribs array of localPaymentCompleted data
|
49 |
+
* @return void
|
50 |
+
*/
|
51 |
+
protected function _initialize($localPaymentCompletedAttribs)
|
52 |
+
{
|
53 |
+
// set the attributes
|
54 |
+
$this->_attributes = $localPaymentCompletedAttribs;
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* create a printable representation of the object as:
|
59 |
+
* ClassName[property=value, property=value]
|
60 |
+
* @return string
|
61 |
+
*/
|
62 |
+
public function __toString()
|
63 |
+
{
|
64 |
+
return __CLASS__ . '[' .
|
65 |
+
Util::attributesToString($this->_attributes) . ']';
|
66 |
+
}
|
67 |
+
}
|
68 |
+
class_alias('Braintree\LocalPaymentCompleted', 'Braintree_LocalPaymentCompleted');
|
lib/braintree/lib/Braintree/MasterpassCard.php
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree MasterpassCard module
|
6 |
+
* Creates and manages Braintree MasterpassCards
|
7 |
+
*
|
8 |
+
* <b>== More information ==</b>
|
9 |
+
*
|
10 |
+
* For more detailed information on CreditCard verifications, see {@link https://developers.braintreepayments.com/reference/response/credit-card-verification/php https://developers.braintreepayments.com/reference/response/credit-card-verification/php}
|
11 |
+
*
|
12 |
+
* @package Braintree
|
13 |
+
* @category Resources
|
14 |
+
*
|
15 |
+
* @property-read \Braintree\Address $billingAddress
|
16 |
+
* @property-read string $bin
|
17 |
+
* @property-read string $cardType
|
18 |
+
* @property-read string $cardholderName
|
19 |
+
* @property-read string $commercial
|
20 |
+
* @property-read string $countryOfIssuance
|
21 |
+
* @property-read \DateTime $createdAt
|
22 |
+
* @property-read string $customerId
|
23 |
+
* @property-read string $customerLocation
|
24 |
+
* @property-read string $debit
|
25 |
+
* @property-read boolean $default
|
26 |
+
* @property-read string $durbinRegulated
|
27 |
+
* @property-read string $expirationDate
|
28 |
+
* @property-read string $expirationMonth
|
29 |
+
* @property-read string $expirationYear
|
30 |
+
* @property-read boolean $expired
|
31 |
+
* @property-read string $healthcare
|
32 |
+
* @property-read string $imageUrl
|
33 |
+
* @property-read string $issuingBank
|
34 |
+
* @property-read string $last4
|
35 |
+
* @property-read string $maskedNumber
|
36 |
+
* @property-read string $payroll
|
37 |
+
* @property-read string $prepaid
|
38 |
+
* @property-read string $productId
|
39 |
+
* @property-read \Braintree\Subscription[] $subscriptions
|
40 |
+
* @property-read string $token
|
41 |
+
* @property-read string $uniqueNumberIdentifier
|
42 |
+
* @property-read \DateTime $updatedAt
|
43 |
+
*/
|
44 |
+
class MasterpassCard extends Base
|
45 |
+
{
|
46 |
+
/* instance methods */
|
47 |
+
/**
|
48 |
+
* returns false if default is null or false
|
49 |
+
*
|
50 |
+
* @return boolean
|
51 |
+
*/
|
52 |
+
public function isDefault()
|
53 |
+
{
|
54 |
+
return $this->default;
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* checks whether the card is expired based on the current date
|
59 |
+
*
|
60 |
+
* @return boolean
|
61 |
+
*/
|
62 |
+
public function isExpired()
|
63 |
+
{
|
64 |
+
return $this->expired;
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* sets instance properties from an array of values
|
69 |
+
*
|
70 |
+
* @access protected
|
71 |
+
* @param array $creditCardAttribs array of creditcard data
|
72 |
+
* @return void
|
73 |
+
*/
|
74 |
+
protected function _initialize($creditCardAttribs)
|
75 |
+
{
|
76 |
+
// set the attributes
|
77 |
+
$this->_attributes = $creditCardAttribs;
|
78 |
+
|
79 |
+
// map each address into its own object
|
80 |
+
$billingAddress = isset($creditCardAttribs['billingAddress']) ?
|
81 |
+
Address::factory($creditCardAttribs['billingAddress']) :
|
82 |
+
null;
|
83 |
+
|
84 |
+
$subscriptionArray = [];
|
85 |
+
if (isset($creditCardAttribs['subscriptions'])) {
|
86 |
+
foreach ($creditCardAttribs['subscriptions'] AS $subscription) {
|
87 |
+
$subscriptionArray[] = Subscription::factory($subscription);
|
88 |
+
}
|
89 |
+
}
|
90 |
+
|
91 |
+
$this->_set('subscriptions', $subscriptionArray);
|
92 |
+
$this->_set('billingAddress', $billingAddress);
|
93 |
+
$this->_set('expirationDate', $this->expirationMonth . '/' . $this->expirationYear);
|
94 |
+
$this->_set('maskedNumber', $this->bin . '******' . $this->last4);
|
95 |
+
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* returns false if comparing object is not a CreditCard,
|
99 |
+
* or is a CreditCard with a different id
|
100 |
+
*
|
101 |
+
* @param object $otherCreditCard customer to compare against
|
102 |
+
* @return boolean
|
103 |
+
*/
|
104 |
+
public function isEqual($otherMasterpassCard)
|
105 |
+
{
|
106 |
+
return !($otherMasterpassCard instanceof self) ? false : $this->token === $otherMasterpassCard->token;
|
107 |
+
}
|
108 |
+
|
109 |
+
/**
|
110 |
+
* create a printable representation of the object as:
|
111 |
+
* ClassName[property=value, property=value]
|
112 |
+
* @return string
|
113 |
+
*/
|
114 |
+
public function __toString()
|
115 |
+
{
|
116 |
+
return __CLASS__ . '[' .
|
117 |
+
Util::attributesToString($this->_attributes) .']';
|
118 |
+
}
|
119 |
+
|
120 |
+
/**
|
121 |
+
* factory method: returns an instance of CreditCard
|
122 |
+
* to the requesting method, with populated properties
|
123 |
+
*
|
124 |
+
* @ignore
|
125 |
+
* @return MasterpassCard
|
126 |
+
*/
|
127 |
+
public static function factory($attributes)
|
128 |
+
{
|
129 |
+
$defaultAttributes = [
|
130 |
+
'bin' => '',
|
131 |
+
'expirationMonth' => '',
|
132 |
+
'expirationYear' => '',
|
133 |
+
'last4' => '',
|
134 |
+
];
|
135 |
+
|
136 |
+
$instance = new self();
|
137 |
+
$instance->_initialize(array_merge($defaultAttributes, $attributes));
|
138 |
+
return $instance;
|
139 |
+
}
|
140 |
+
}
|
141 |
+
class_alias('Braintree\MasterpassCard', 'Braintree_MasterpassCard');
|
lib/braintree/lib/Braintree/MerchantAccount.php
CHANGED
@@ -1,6 +1,16 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
class MerchantAccount extends Base
|
5 |
{
|
6 |
const STATUS_ACTIVE = 'active';
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* @property-read \Braintree\MerchantAccount\BusinessDetails $businessDetails
|
6 |
+
* @property-read string $currencyIsoCode
|
7 |
+
* @property-read boolean $default
|
8 |
+
* @property-read \Braintree\MerchantAccount\FundingDetails $fundingDetails
|
9 |
+
* @property-read string $id
|
10 |
+
* @property-read \Braintree\MerchantAccount\IndividualDetails $individualDetails
|
11 |
+
* @property-read \Braintree\MerchantAccount $masterMerchantAccount
|
12 |
+
* @property-read string $status
|
13 |
+
*/
|
14 |
class MerchantAccount extends Base
|
15 |
{
|
16 |
const STATUS_ACTIVE = 'active';
|
lib/braintree/lib/Braintree/MerchantAccountGateway.php
CHANGED
@@ -55,6 +55,31 @@ class MerchantAccountGateway
|
|
55 |
return $signature;
|
56 |
}
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
public static function createSignature()
|
59 |
{
|
60 |
$addressSignature = ['streetAddress', 'postalCode', 'locality', 'region'];
|
@@ -137,6 +162,9 @@ class MerchantAccountGateway
|
|
137 |
|
138 |
private function _verifyGatewayResponse($response)
|
139 |
{
|
|
|
|
|
|
|
140 |
if (isset($response['merchantAccount'])) {
|
141 |
// return a populated instance of merchantAccount
|
142 |
return new Result\Successful(
|
55 |
return $signature;
|
56 |
}
|
57 |
|
58 |
+
public function createForCurrency($attribs)
|
59 |
+
{
|
60 |
+
$response = $this->_http->post($this->_config->merchantPath() . '/merchant_accounts/create_for_currency', ['merchant_account' => $attribs]);
|
61 |
+
return $this->_verifyGatewayResponse($response);
|
62 |
+
}
|
63 |
+
|
64 |
+
public function all()
|
65 |
+
{
|
66 |
+
$pager = [
|
67 |
+
'object' => $this,
|
68 |
+
'method' => 'fetchMerchantAccounts',
|
69 |
+
];
|
70 |
+
return new PaginatedCollection($pager);
|
71 |
+
}
|
72 |
+
|
73 |
+
public function fetchMerchantAccounts($page)
|
74 |
+
{
|
75 |
+
$response = $this->_http->get($this->_config->merchantPath() . '/merchant_accounts?page=' . $page);
|
76 |
+
$body = $response['merchantAccounts'];
|
77 |
+
$merchantAccounts = Util::extractattributeasarray($body, 'merchantAccount');
|
78 |
+
$totalItems = $body['totalItems'][0];
|
79 |
+
$pageSize = $body['pageSize'][0];
|
80 |
+
return new PaginatedResult($totalItems, $pageSize, $merchantAccounts);
|
81 |
+
}
|
82 |
+
|
83 |
public static function createSignature()
|
84 |
{
|
85 |
$addressSignature = ['streetAddress', 'postalCode', 'locality', 'region'];
|
162 |
|
163 |
private function _verifyGatewayResponse($response)
|
164 |
{
|
165 |
+
if (isset($response['response'])) {
|
166 |
+
$response = $response['response'];
|
167 |
+
}
|
168 |
if (isset($response['merchantAccount'])) {
|
169 |
// return a populated instance of merchantAccount
|
170 |
return new Result\Successful(
|
lib/braintree/lib/Braintree/OAuthAccessRevocation.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree OAuth Revocation module
|
6 |
+
*
|
7 |
+
* PHP Version 5
|
8 |
+
*
|
9 |
+
* @package Braintree
|
10 |
+
*/
|
11 |
+
class OAuthAccessRevocation extends Base
|
12 |
+
{
|
13 |
+
/**
|
14 |
+
* @ignore
|
15 |
+
*/
|
16 |
+
public static function factory($attributes)
|
17 |
+
{
|
18 |
+
$instance = new self();
|
19 |
+
$instance->_initialize($attributes);
|
20 |
+
|
21 |
+
return $instance;
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* @ignore
|
26 |
+
*/
|
27 |
+
protected function _initialize($attributes)
|
28 |
+
{
|
29 |
+
$this->_attributes = $attributes;
|
30 |
+
}
|
31 |
+
}
|
32 |
+
class_alias('Braintree\OAuthAccessRevocation', 'Braintree_OAuthAccessRevocation');
|
lib/braintree/lib/Braintree/OAuthCredentials.php
CHANGED
@@ -6,8 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
-
*
|
11 |
*/
|
12 |
class OAuthCredentials extends Base
|
13 |
{
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
|
|
9 |
*/
|
10 |
class OAuthCredentials extends Base
|
11 |
{
|
lib/braintree/lib/Braintree/OAuthGateway.php
CHANGED
@@ -7,7 +7,6 @@ namespace Braintree;
|
|
7 |
* Creates and manages Braintree Addresses
|
8 |
*
|
9 |
* @package Braintree
|
10 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
11 |
*/
|
12 |
class OAuthGateway
|
13 |
{
|
@@ -109,11 +108,13 @@ class OAuthGateway
|
|
109 |
$query = Util::camelCaseToDelimiterArray($params, '_');
|
110 |
$query['client_id'] = $this->_config->getClientId();
|
111 |
$queryString = preg_replace('/\%5B\d+\%5D/', '%5B%5D', http_build_query($query));
|
112 |
-
$url = $this->_config->baseUrl() . '/oauth/connect?' . $queryString;
|
113 |
|
114 |
-
return $
|
115 |
}
|
116 |
|
|
|
|
|
|
|
117 |
public function computeSignature($url)
|
118 |
{
|
119 |
$key = hash('sha256', $this->_config->getClientSecret(), true);
|
7 |
* Creates and manages Braintree Addresses
|
8 |
*
|
9 |
* @package Braintree
|
|
|
10 |
*/
|
11 |
class OAuthGateway
|
12 |
{
|
108 |
$query = Util::camelCaseToDelimiterArray($params, '_');
|
109 |
$query['client_id'] = $this->_config->getClientId();
|
110 |
$queryString = preg_replace('/\%5B\d+\%5D/', '%5B%5D', http_build_query($query));
|
|
|
111 |
|
112 |
+
return $this->_config->baseUrl() . '/oauth/connect?' . $queryString;
|
113 |
}
|
114 |
|
115 |
+
/**
|
116 |
+
* @deprecated since version 3.26.1
|
117 |
+
*/
|
118 |
public function computeSignature($url)
|
119 |
{
|
120 |
$key = hash('sha256', $this->_config->getClientSecret(), true);
|
lib/braintree/lib/Braintree/OAuthResult.php
CHANGED
@@ -6,8 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
-
*
|
11 |
*/
|
12 |
class OAuthResult extends Base
|
13 |
{
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
|
|
9 |
*/
|
10 |
class OAuthResult extends Base
|
11 |
{
|
lib/braintree/lib/Braintree/PaginatedCollection.php
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
use Iterator;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Braintree PaginatedCollection
|
8 |
+
* PaginatedCollection is a container object for paginated data
|
9 |
+
*
|
10 |
+
* retrieves and pages through large collections of results
|
11 |
+
*
|
12 |
+
* example:
|
13 |
+
* <code>
|
14 |
+
* $result = MerchantAccount::all();
|
15 |
+
*
|
16 |
+
* foreach($result as $merchantAccount) {
|
17 |
+
* print_r($merchantAccount->status);
|
18 |
+
* }
|
19 |
+
* </code>
|
20 |
+
*
|
21 |
+
* @package Braintree
|
22 |
+
* @subpackage Utility
|
23 |
+
*/
|
24 |
+
class PaginatedCollection implements Iterator
|
25 |
+
{
|
26 |
+
private $_pager;
|
27 |
+
private $_pageSize;
|
28 |
+
private $_currentPage;
|
29 |
+
private $_index;
|
30 |
+
private $_totalItems;
|
31 |
+
private $_items;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* set up the paginated collection
|
35 |
+
*
|
36 |
+
* expects an array of an object and method to call on it
|
37 |
+
*
|
38 |
+
* @param array $pager
|
39 |
+
*/
|
40 |
+
public function __construct($pager)
|
41 |
+
{
|
42 |
+
$this->_pager = $pager;
|
43 |
+
$this->_pageSize = 0;
|
44 |
+
$this->_currentPage = 0;
|
45 |
+
$this->_totalItems = 0;
|
46 |
+
$this->_index = 0;
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* returns the current item when iterating with foreach
|
51 |
+
*/
|
52 |
+
public function current()
|
53 |
+
{
|
54 |
+
return $this->_items[($this->_index % $this->_pageSize)];
|
55 |
+
}
|
56 |
+
|
57 |
+
public function key()
|
58 |
+
{
|
59 |
+
return null;
|
60 |
+
}
|
61 |
+
|
62 |
+
/**
|
63 |
+
* advances to the next item in the collection when iterating with foreach
|
64 |
+
*/
|
65 |
+
public function next()
|
66 |
+
{
|
67 |
+
++$this->_index;
|
68 |
+
}
|
69 |
+
|
70 |
+
/**
|
71 |
+
* rewinds the collection to the first item when iterating with foreach
|
72 |
+
*/
|
73 |
+
public function rewind()
|
74 |
+
{
|
75 |
+
$this->_index = 0;
|
76 |
+
$this->_currentPage = 0;
|
77 |
+
$this->_pageSize = 0;
|
78 |
+
$this->_totalItems = 0;
|
79 |
+
$this->_items = [];
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* returns whether the current item is valid when iterating with foreach
|
84 |
+
*/
|
85 |
+
public function valid()
|
86 |
+
{
|
87 |
+
if ($this->_currentPage == 0 || $this->_index % $this->_pageSize == 0 && $this->_index < $this->_totalItems)
|
88 |
+
{
|
89 |
+
$this->_getNextPage();
|
90 |
+
}
|
91 |
+
|
92 |
+
return $this->_index < $this->_totalItems;
|
93 |
+
}
|
94 |
+
|
95 |
+
private function _getNextPage()
|
96 |
+
{
|
97 |
+
$this->_currentPage++;
|
98 |
+
$object = $this->_pager['object'];
|
99 |
+
$method = $this->_pager['method'];
|
100 |
+
|
101 |
+
if (isset($this->_pager['query'])) {
|
102 |
+
$query = $this->_pager['query'];
|
103 |
+
$result = call_user_func(
|
104 |
+
[$object, $method],
|
105 |
+
$query,
|
106 |
+
$this->_currentPage
|
107 |
+
);
|
108 |
+
} else {
|
109 |
+
$result = call_user_func(
|
110 |
+
[$object, $method],
|
111 |
+
$this->_currentPage
|
112 |
+
);
|
113 |
+
}
|
114 |
+
|
115 |
+
$this->_totalItems= $result->getTotalItems();
|
116 |
+
$this->_pageSize = $result->getPageSize();
|
117 |
+
$this->_items = $result->getCurrentPage();
|
118 |
+
}
|
119 |
+
}
|
120 |
+
class_alias('Braintree\PaginatedCollection', 'Braintree_PaginatedCollection');
|
lib/braintree/lib/Braintree/PaginatedResult.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
class PaginatedResult
|
5 |
+
{
|
6 |
+
private $_totalItems;
|
7 |
+
private $_pageSize;
|
8 |
+
private $_currentPage;
|
9 |
+
|
10 |
+
public function __construct($totalItems, $pageSize, $currentPage)
|
11 |
+
{
|
12 |
+
$this->_totalItems = $totalItems;
|
13 |
+
$this->_pageSize = $pageSize;
|
14 |
+
$this->_currentPage = $currentPage;
|
15 |
+
}
|
16 |
+
|
17 |
+
public function getTotalItems()
|
18 |
+
{
|
19 |
+
return $this->_totalItems;
|
20 |
+
}
|
21 |
+
|
22 |
+
public function getPageSize()
|
23 |
+
{
|
24 |
+
return $this->_pageSize;
|
25 |
+
}
|
26 |
+
|
27 |
+
public function getCurrentPage()
|
28 |
+
{
|
29 |
+
return $this->_currentPage;
|
30 |
+
}
|
31 |
+
}
|
32 |
+
class_alias('Braintree\PaginatedResult', 'Braintree_PaginatedResult');
|
lib/braintree/lib/Braintree/PartnerMerchant.php
CHANGED
@@ -8,7 +8,6 @@ namespace Braintree;
|
|
8 |
* Creates an instance of PartnerMerchants
|
9 |
*
|
10 |
* @package Braintree
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*
|
13 |
* @property-read string $merchantPublicId
|
14 |
* @property-read string $publicKey
|
8 |
* Creates an instance of PartnerMerchants
|
9 |
*
|
10 |
* @package Braintree
|
|
|
11 |
*
|
12 |
* @property-read string $merchantPublicId
|
13 |
* @property-read string $publicKey
|
lib/braintree/lib/Braintree/PayPalAccount.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -17,12 +16,17 @@ namespace Braintree;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @category Resources
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
*
|
|
|
|
|
22 |
* @property-read string $customerId
|
|
|
23 |
* @property-read string $email
|
24 |
-
* @property-read string $token
|
25 |
* @property-read string $imageUrl
|
|
|
|
|
|
|
|
|
26 |
*/
|
27 |
class PayPalAccount extends Base
|
28 |
{
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @category Resources
|
|
|
19 |
*
|
20 |
+
* @property-read string $billingAgreementId
|
21 |
+
* @property-read \DateTime $createdAt
|
22 |
* @property-read string $customerId
|
23 |
+
* @property-read boolean $default
|
24 |
* @property-read string $email
|
|
|
25 |
* @property-read string $imageUrl
|
26 |
+
* @property-read string $payerId
|
27 |
+
* @property-read \Braintree\Subscription[] $subscriptions
|
28 |
+
* @property-read string $token
|
29 |
+
* @property-read \DateTime $updatedAt
|
30 |
*/
|
31 |
class PayPalAccount extends Base
|
32 |
{
|
lib/braintree/lib/Braintree/PayPalAccountGateway.php
CHANGED
@@ -8,7 +8,6 @@ use InvalidArgumentException;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @category Resources
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -19,7 +18,6 @@ use InvalidArgumentException;
|
|
19 |
*
|
20 |
* @package Braintree
|
21 |
* @category Resources
|
22 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
23 |
*/
|
24 |
class PayPalAccountGateway
|
25 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @category Resources
|
|
|
11 |
*/
|
12 |
|
13 |
/**
|
18 |
*
|
19 |
* @package Braintree
|
20 |
* @category Resources
|
|
|
21 |
*/
|
22 |
class PayPalAccountGateway
|
23 |
{
|
lib/braintree/lib/Braintree/PaymentInstrumentType.php
CHANGED
@@ -7,9 +7,13 @@ class PaymentInstrumentType
|
|
7 |
const COINBASE_ACCOUNT = 'coinbase_account';
|
8 |
const EUROPE_BANK_ACCOUNT = 'europe_bank_account';
|
9 |
const CREDIT_CARD = 'credit_card';
|
|
|
|
|
10 |
const APPLE_PAY_CARD = 'apple_pay_card';
|
11 |
const ANDROID_PAY_CARD = 'android_pay_card';
|
12 |
const VENMO_ACCOUNT = 'venmo_account';
|
13 |
const US_BANK_ACCOUNT = 'us_bank_account';
|
|
|
|
|
14 |
}
|
15 |
class_alias('Braintree\PaymentInstrumentType', 'Braintree_PaymentInstrumentType');
|
7 |
const COINBASE_ACCOUNT = 'coinbase_account';
|
8 |
const EUROPE_BANK_ACCOUNT = 'europe_bank_account';
|
9 |
const CREDIT_CARD = 'credit_card';
|
10 |
+
const VISA_CHECKOUT_CARD = 'visa_checkout_card';
|
11 |
+
const MASTERPASS_CARD = 'masterpass_card';
|
12 |
const APPLE_PAY_CARD = 'apple_pay_card';
|
13 |
const ANDROID_PAY_CARD = 'android_pay_card';
|
14 |
const VENMO_ACCOUNT = 'venmo_account';
|
15 |
const US_BANK_ACCOUNT = 'us_bank_account';
|
16 |
+
const IDEAL_PAYMENT = 'ideal_payment';
|
17 |
+
const SAMSUNG_PAY_CARD = 'samsung_pay_card';
|
18 |
}
|
19 |
class_alias('Braintree\PaymentInstrumentType', 'Braintree_PaymentInstrumentType');
|
lib/braintree/lib/Braintree/PaymentMethod.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -17,8 +16,6 @@ namespace Braintree;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @category Resources
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
-
*
|
22 |
*/
|
23 |
class PaymentMethod extends Base
|
24 |
{
|
@@ -39,9 +36,9 @@ class PaymentMethod extends Base
|
|
39 |
return Configuration::gateway()->paymentMethod()->update($token, $attribs);
|
40 |
}
|
41 |
|
42 |
-
public static function delete($token)
|
43 |
{
|
44 |
-
return Configuration::gateway()->paymentMethod()->delete($token);
|
45 |
}
|
46 |
}
|
47 |
class_alias('Braintree\PaymentMethod', 'Braintree_PaymentMethod');
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @category Resources
|
|
|
|
|
19 |
*/
|
20 |
class PaymentMethod extends Base
|
21 |
{
|
36 |
return Configuration::gateway()->paymentMethod()->update($token, $attribs);
|
37 |
}
|
38 |
|
39 |
+
public static function delete($token, $options=[])
|
40 |
{
|
41 |
+
return Configuration::gateway()->paymentMethod()->delete($token, $options);
|
42 |
}
|
43 |
}
|
44 |
class_alias('Braintree\PaymentMethod', 'Braintree_PaymentMethod');
|
lib/braintree/lib/Braintree/PaymentMethodGateway.php
CHANGED
@@ -8,7 +8,6 @@ use InvalidArgumentException;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @category Resources
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -19,8 +18,6 @@ use InvalidArgumentException;
|
|
19 |
*
|
20 |
* @package Braintree
|
21 |
* @category Resources
|
22 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
23 |
-
*
|
24 |
*/
|
25 |
class PaymentMethodGateway
|
26 |
{
|
@@ -56,27 +53,7 @@ class PaymentMethodGateway
|
|
56 |
try {
|
57 |
$path = $this->_config->merchantPath() . '/payment_methods/any/' . $token;
|
58 |
$response = $this->_http->get($path);
|
59 |
-
|
60 |
-
return CreditCard::factory($response['creditCard']);
|
61 |
-
} else if (isset($response['paypalAccount'])) {
|
62 |
-
return PayPalAccount::factory($response['paypalAccount']);
|
63 |
-
} else if (isset($response['coinbaseAccount'])) {
|
64 |
-
return CoinbaseAccount::factory($response['coinbaseAccount']);
|
65 |
-
} else if (isset($response['applePayCard'])) {
|
66 |
-
return ApplePayCard::factory($response['applePayCard']);
|
67 |
-
} else if (isset($response['androidPayCard'])) {
|
68 |
-
return AndroidPayCard::factory($response['androidPayCard']);
|
69 |
-
} else if (isset($response['amexExpressCheckoutCard'])) {
|
70 |
-
return AmexExpressCheckoutCard::factory($response['amexExpressCheckoutCard']);
|
71 |
-
} else if (isset($response['europeBankAccount'])) {
|
72 |
-
return EuropeBankAccount::factory($response['europeBankAccount']);
|
73 |
-
} else if (isset($response['usBankAccount'])) {
|
74 |
-
return UsBankAccount::factory($response['usBankAccount']);
|
75 |
-
} else if (isset($response['venmoAccount'])) {
|
76 |
-
return VenmoAccount::factory($response['venmoAccount']);
|
77 |
-
} else if (is_array($response)) {
|
78 |
-
return UnknownPaymentMethod::factory($response);
|
79 |
-
}
|
80 |
} catch (Exception\NotFound $e) {
|
81 |
throw new Exception\NotFound(
|
82 |
'payment method with token ' . $token . ' not found'
|
@@ -90,12 +67,15 @@ class PaymentMethodGateway
|
|
90 |
return $this->_doUpdate('/payment_methods/any/' . $token, ['payment_method' => $attribs]);
|
91 |
}
|
92 |
|
93 |
-
public function delete($token)
|
94 |
{
|
|
|
95 |
$this->_validateId($token);
|
96 |
-
$
|
97 |
-
|
98 |
-
|
|
|
|
|
99 |
}
|
100 |
|
101 |
public function grant($sharedPaymentMethodToken, $attribs=[])
|
@@ -105,7 +85,7 @@ class PaymentMethodGateway
|
|
105 |
}
|
106 |
$options = [ 'shared_payment_method_token' => $sharedPaymentMethodToken ];
|
107 |
|
108 |
-
return $this->
|
109 |
'/payment_methods/grant',
|
110 |
[
|
111 |
'payment_method' => array_merge($attribs, $options)
|
@@ -115,7 +95,7 @@ class PaymentMethodGateway
|
|
115 |
|
116 |
public function revoke($sharedPaymentMethodToken)
|
117 |
{
|
118 |
-
return $this->
|
119 |
'/payment_methods/revoke',
|
120 |
[
|
121 |
'payment_method' => [
|
@@ -133,7 +113,26 @@ class PaymentMethodGateway
|
|
133 |
'makeDefault',
|
134 |
'verificationMerchantAccountId',
|
135 |
'verifyCard',
|
136 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
];
|
138 |
return [
|
139 |
'billingAddressId',
|
@@ -153,7 +152,7 @@ class PaymentMethodGateway
|
|
153 |
|
154 |
public static function createSignature()
|
155 |
{
|
156 |
-
$signature = array_merge(self::baseSignature(), ['customerId']);
|
157 |
return $signature;
|
158 |
}
|
159 |
|
@@ -174,6 +173,11 @@ class PaymentMethodGateway
|
|
174 |
return $signature;
|
175 |
}
|
176 |
|
|
|
|
|
|
|
|
|
|
|
177 |
/**
|
178 |
* sends the create request to the gateway
|
179 |
*
|
@@ -190,6 +194,22 @@ class PaymentMethodGateway
|
|
190 |
return $this->_verifyGatewayResponse($response);
|
191 |
}
|
192 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
/**
|
194 |
* sends the update request to the gateway
|
195 |
*
|
@@ -206,6 +226,21 @@ class PaymentMethodGateway
|
|
206 |
return $this->_verifyGatewayResponse($response);
|
207 |
}
|
208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
/**
|
210 |
* generic method for validating incoming gateway responses
|
211 |
*
|
@@ -221,66 +256,43 @@ class PaymentMethodGateway
|
|
221 |
*/
|
222 |
private function _verifyGatewayResponse($response)
|
223 |
{
|
224 |
-
if (isset($response['
|
|
|
|
|
225 |
return new Result\Successful(
|
226 |
-
|
227 |
'paymentMethod'
|
228 |
);
|
229 |
-
} else
|
230 |
-
|
231 |
-
|
232 |
-
"paymentMethod"
|
233 |
-
);
|
234 |
-
} else if (isset($response['coinbaseAccount'])) {
|
235 |
-
return new Result\Successful(
|
236 |
-
CoinbaseAccount::factory($response['coinbaseAccount']),
|
237 |
-
"paymentMethod"
|
238 |
-
);
|
239 |
-
} else if (isset($response['applePayCard'])) {
|
240 |
-
return new Result\Successful(
|
241 |
-
ApplePayCard::factory($response['applePayCard']),
|
242 |
-
"paymentMethod"
|
243 |
-
);
|
244 |
-
} else if (isset($response['androidPayCard'])) {
|
245 |
-
return new Result\Successful(
|
246 |
-
AndroidPayCard::factory($response['androidPayCard']),
|
247 |
-
"paymentMethod"
|
248 |
-
);
|
249 |
-
} else if (isset($response['amexExpressCheckoutCard'])) {
|
250 |
-
return new Result\Successful(
|
251 |
-
AmexExpressCheckoutCard::factory($response['amexExpressCheckoutCard']),
|
252 |
-
"paymentMethod"
|
253 |
-
);
|
254 |
-
} else if (isset($response['europeBankAccount'])) {
|
255 |
-
return new Result\Successful(
|
256 |
-
EuropeBankAccount::factory($response['europeBankAccount']),
|
257 |
-
"paymentMethod"
|
258 |
-
);
|
259 |
-
} else if (isset($response['usBankAccount'])) {
|
260 |
-
return new Result\Successful(
|
261 |
-
UsBankAccount::factory($response['usBankAccount']),
|
262 |
-
"paymentMethod"
|
263 |
-
);
|
264 |
-
} else if (isset($response['venmoAccount'])) {
|
265 |
-
return new Result\Successful(
|
266 |
-
VenmoAccount::factory($response['venmoAccount']),
|
267 |
-
"paymentMethod"
|
268 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
} else if (isset($response['paymentMethodNonce'])) {
|
270 |
return new Result\Successful(
|
271 |
PaymentMethodNonce::factory($response['paymentMethodNonce']),
|
272 |
-
|
273 |
);
|
274 |
-
} else
|
275 |
-
|
276 |
-
|
277 |
-
return new Result\Successful(
|
278 |
-
UnknownPaymentMethod::factory($response),
|
279 |
-
"paymentMethod"
|
280 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
} else {
|
282 |
throw new Exception\Unexpected(
|
283 |
-
|
284 |
);
|
285 |
}
|
286 |
}
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @category Resources
|
|
|
11 |
*/
|
12 |
|
13 |
/**
|
18 |
*
|
19 |
* @package Braintree
|
20 |
* @category Resources
|
|
|
|
|
21 |
*/
|
22 |
class PaymentMethodGateway
|
23 |
{
|
53 |
try {
|
54 |
$path = $this->_config->merchantPath() . '/payment_methods/any/' . $token;
|
55 |
$response = $this->_http->get($path);
|
56 |
+
return PaymentMethodParser::parsePaymentMethod($response);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
} catch (Exception\NotFound $e) {
|
58 |
throw new Exception\NotFound(
|
59 |
'payment method with token ' . $token . ' not found'
|
67 |
return $this->_doUpdate('/payment_methods/any/' . $token, ['payment_method' => $attribs]);
|
68 |
}
|
69 |
|
70 |
+
public function delete($token, $options=[])
|
71 |
{
|
72 |
+
Util::verifyKeys(self::deleteSignature(), $options);
|
73 |
$this->_validateId($token);
|
74 |
+
$queryString = "";
|
75 |
+
if (!empty($options)) {
|
76 |
+
$queryString = "?" . http_build_query(Util::camelCaseToDelimiterArray($options, '_'));
|
77 |
+
}
|
78 |
+
return $this->_doDelete('/payment_methods/any/' . $token . $queryString);
|
79 |
}
|
80 |
|
81 |
public function grant($sharedPaymentMethodToken, $attribs=[])
|
85 |
}
|
86 |
$options = [ 'shared_payment_method_token' => $sharedPaymentMethodToken ];
|
87 |
|
88 |
+
return $this->_doGrant(
|
89 |
'/payment_methods/grant',
|
90 |
[
|
91 |
'payment_method' => array_merge($attribs, $options)
|
95 |
|
96 |
public function revoke($sharedPaymentMethodToken)
|
97 |
{
|
98 |
+
return $this->_doRevoke(
|
99 |
'/payment_methods/revoke',
|
100 |
[
|
101 |
'payment_method' => [
|
113 |
'makeDefault',
|
114 |
'verificationMerchantAccountId',
|
115 |
'verifyCard',
|
116 |
+
'verificationAccountType',
|
117 |
+
'verificationAmount',
|
118 |
+
'usBankAccountVerificationMethod',
|
119 |
+
['paypal' => [
|
120 |
+
'payee_email',
|
121 |
+
'payeeEmail',
|
122 |
+
'order_id',
|
123 |
+
'orderId',
|
124 |
+
'custom_field',
|
125 |
+
'customField',
|
126 |
+
'description',
|
127 |
+
'amount',
|
128 |
+
['shipping' =>
|
129 |
+
[
|
130 |
+
'firstName', 'lastName', 'company', 'countryName',
|
131 |
+
'countryCodeAlpha2', 'countryCodeAlpha3', 'countryCodeNumeric',
|
132 |
+
'extendedAddress', 'locality', 'postalCode', 'region',
|
133 |
+
'streetAddress'],
|
134 |
+
],
|
135 |
+
]],
|
136 |
];
|
137 |
return [
|
138 |
'billingAddressId',
|
152 |
|
153 |
public static function createSignature()
|
154 |
{
|
155 |
+
$signature = array_merge(self::baseSignature(), ['customerId', 'paypalRefreshToken', 'paypalVaultWithoutUpgrade']);
|
156 |
return $signature;
|
157 |
}
|
158 |
|
173 |
return $signature;
|
174 |
}
|
175 |
|
176 |
+
private static function deleteSignature()
|
177 |
+
{
|
178 |
+
return ['revokeAllGrants'];
|
179 |
+
}
|
180 |
+
|
181 |
/**
|
182 |
* sends the create request to the gateway
|
183 |
*
|
194 |
return $this->_verifyGatewayResponse($response);
|
195 |
}
|
196 |
|
197 |
+
public function _doGrant($subPath, $params)
|
198 |
+
{
|
199 |
+
$fullPath = $this->_config->merchantPath() . $subPath;
|
200 |
+
$response = $this->_http->post($fullPath, $params);
|
201 |
+
|
202 |
+
return $this->_verifyGrantResponse($response);
|
203 |
+
}
|
204 |
+
|
205 |
+
public function _doRevoke($subPath, $params)
|
206 |
+
{
|
207 |
+
$fullPath = $this->_config->merchantPath() . $subPath;
|
208 |
+
$response = $this->_http->post($fullPath, $params);
|
209 |
+
|
210 |
+
return $this->_verifyRevokeResponse($response);
|
211 |
+
}
|
212 |
+
|
213 |
/**
|
214 |
* sends the update request to the gateway
|
215 |
*
|
226 |
return $this->_verifyGatewayResponse($response);
|
227 |
}
|
228 |
|
229 |
+
|
230 |
+
/**
|
231 |
+
* sends the delete request to the gateway
|
232 |
+
*
|
233 |
+
* @ignore
|
234 |
+
* @param string $subPath
|
235 |
+
* @return mixed
|
236 |
+
*/
|
237 |
+
public function _doDelete($subPath)
|
238 |
+
{
|
239 |
+
$fullPath = $this->_config->merchantPath() . $subPath;
|
240 |
+
$this->_http->delete($fullPath);
|
241 |
+
return new Result\Successful();
|
242 |
+
}
|
243 |
+
|
244 |
/**
|
245 |
* generic method for validating incoming gateway responses
|
246 |
*
|
256 |
*/
|
257 |
private function _verifyGatewayResponse($response)
|
258 |
{
|
259 |
+
if (isset($response['apiErrorResponse'])) {
|
260 |
+
return new Result\Error($response['apiErrorResponse']);
|
261 |
+
} else if (($response)) {
|
262 |
return new Result\Successful(
|
263 |
+
PaymentMethodParser::parsePaymentMethod($response),
|
264 |
'paymentMethod'
|
265 |
);
|
266 |
+
} else {
|
267 |
+
throw new Exception\Unexpected(
|
268 |
+
'Expected payment method or apiErrorResponse'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
);
|
270 |
+
}
|
271 |
+
}
|
272 |
+
|
273 |
+
private function _verifyGrantResponse($response) {
|
274 |
+
if (isset($response['apiErrorResponse'])) {
|
275 |
+
return new Result\Error($response['apiErrorResponse']);
|
276 |
} else if (isset($response['paymentMethodNonce'])) {
|
277 |
return new Result\Successful(
|
278 |
PaymentMethodNonce::factory($response['paymentMethodNonce']),
|
279 |
+
'paymentMethodNonce'
|
280 |
);
|
281 |
+
} else {
|
282 |
+
throw new Exception\Unexpected(
|
283 |
+
'Expected paymentMethodNonce or apiErrorResponse'
|
|
|
|
|
|
|
284 |
);
|
285 |
+
}
|
286 |
+
}
|
287 |
+
|
288 |
+
private function _verifyRevokeResponse($response) {
|
289 |
+
if (isset($response['apiErrorResponse'])) {
|
290 |
+
return new Result\Error($response['apiErrorResponse']);
|
291 |
+
} else if (isset($response['success'])) {
|
292 |
+
return new Result\Successful();
|
293 |
} else {
|
294 |
throw new Exception\Unexpected(
|
295 |
+
'Expected success or apiErrorResponse'
|
296 |
);
|
297 |
}
|
298 |
}
|
lib/braintree/lib/Braintree/PaymentMethodNonce.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -17,8 +16,12 @@ namespace Braintree;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @category Resources
|
20 |
-
*
|
21 |
-
*
|
|
|
|
|
|
|
|
|
22 |
*/
|
23 |
class PaymentMethodNonce extends Base
|
24 |
{
|
@@ -50,6 +53,10 @@ class PaymentMethodNonce extends Base
|
|
50 |
if(isset($nonceAttributes['threeDSecureInfo'])) {
|
51 |
$this->_set('threeDSecureInfo', ThreeDSecureInfo::factory($nonceAttributes['threeDSecureInfo']));
|
52 |
}
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
}
|
55 |
class_alias('Braintree\PaymentMethodNonce', 'Braintree_PaymentMethodNonce');
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @category Resources
|
19 |
+
*
|
20 |
+
* @property-read \Braintree\BinData $binData
|
21 |
+
* @property-read boolean $default
|
22 |
+
* @property-read string $nonce
|
23 |
+
* @property-read \Braintree\ThreeDSecureInfo $threeDSecureInfo
|
24 |
+
* @property-read string $type
|
25 |
*/
|
26 |
class PaymentMethodNonce extends Base
|
27 |
{
|
53 |
if(isset($nonceAttributes['threeDSecureInfo'])) {
|
54 |
$this->_set('threeDSecureInfo', ThreeDSecureInfo::factory($nonceAttributes['threeDSecureInfo']));
|
55 |
}
|
56 |
+
|
57 |
+
if(isset($nonceAttributes['binData'])) {
|
58 |
+
$this->_set('binData', BinData::factory($nonceAttributes['binData']));
|
59 |
+
}
|
60 |
}
|
61 |
}
|
62 |
class_alias('Braintree\PaymentMethodNonce', 'Braintree_PaymentMethodNonce');
|
lib/braintree/lib/Braintree/PaymentMethodNonceGateway.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -17,8 +16,6 @@ namespace Braintree;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @category Resources
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
-
*
|
22 |
*/
|
23 |
class PaymentMethodNonceGateway
|
24 |
{
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @category Resources
|
|
|
|
|
19 |
*/
|
20 |
class PaymentMethodNonceGateway
|
21 |
{
|
lib/braintree/lib/Braintree/PaymentMethodParser.php
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree PaymentMethodParser module
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
* @category Resources
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Manages Braintree PaymentMethodParser
|
13 |
+
*
|
14 |
+
* <b>== More information ==</b>
|
15 |
+
*
|
16 |
+
*
|
17 |
+
* @package Braintree
|
18 |
+
* @category Resources
|
19 |
+
*
|
20 |
+
*/
|
21 |
+
class PaymentMethodParser
|
22 |
+
{
|
23 |
+
public static function parsePaymentMethod($response)
|
24 |
+
{
|
25 |
+
if (isset($response['creditCard'])) {
|
26 |
+
return CreditCard::factory($response['creditCard']);
|
27 |
+
} else if (isset($response['paypalAccount'])) {
|
28 |
+
return PayPalAccount::factory($response['paypalAccount']);
|
29 |
+
} else if (isset($response['coinbaseAccount'])) {
|
30 |
+
return CoinbaseAccount::factory($response['coinbaseAccount']);
|
31 |
+
} else if (isset($response['applePayCard'])) {
|
32 |
+
return ApplePayCard::factory($response['applePayCard']);
|
33 |
+
} else if (isset($response['androidPayCard'])) {
|
34 |
+
return AndroidPayCard::factory($response['androidPayCard']);
|
35 |
+
} else if (isset($response['amexExpressCheckoutCard'])) {
|
36 |
+
return AmexExpressCheckoutCard::factory($response['amexExpressCheckoutCard']);
|
37 |
+
} else if (isset($response['europeBankAccount'])) {
|
38 |
+
return EuropeBankAccount::factory($response['europeBankAccount']);
|
39 |
+
} else if (isset($response['usBankAccount'])) {
|
40 |
+
return UsBankAccount::factory($response['usBankAccount']);
|
41 |
+
} else if (isset($response['venmoAccount'])) {
|
42 |
+
return VenmoAccount::factory($response['venmoAccount']);
|
43 |
+
} else if (isset($response['visaCheckoutCard'])) {
|
44 |
+
return VisaCheckoutCard::factory($response['visaCheckoutCard']);
|
45 |
+
} else if (isset($response['masterpassCard'])) {
|
46 |
+
return MasterpassCard::factory($response['masterpassCard']);
|
47 |
+
} else if (isset($response['samsungPayCard'])) {
|
48 |
+
return SamsungPayCard::factory($response['samsungPayCard']);
|
49 |
+
} else if (is_array($response)) {
|
50 |
+
return UnknownPaymentMethod::factory($response);
|
51 |
+
} else {
|
52 |
+
throw new Exception\Unexpected(
|
53 |
+
'Expected payment method'
|
54 |
+
);
|
55 |
+
}
|
56 |
+
}
|
57 |
+
}
|
58 |
+
class_alias('Braintree\PaymentMethodParser', 'Braintree_PaymentMethodParser');
|
lib/braintree/lib/Braintree/Plan.php
CHANGED
@@ -1,6 +1,23 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
class Plan extends Base
|
5 |
{
|
6 |
public static function factory($attributes)
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* @property-read \Braintree\Addon[] $addOns
|
6 |
+
* @property-read string $id
|
7 |
+
* @property-read int|null $billingDayOfMonth
|
8 |
+
* @property-read int $billingFrequency
|
9 |
+
* @property-read \DateTime $createdAt
|
10 |
+
* @property-read string $currencyIsoCode
|
11 |
+
* @property-read string|null $description
|
12 |
+
* @property-read \Braintree\Discount[] $discounts
|
13 |
+
* @property-read string $name
|
14 |
+
* @property-read int|null $numberOfBillingCycles
|
15 |
+
* @property-read string $price
|
16 |
+
* @property-read int|null $trialDuration
|
17 |
+
* @property-read string|null $trialDurationUnit
|
18 |
+
* @property-read boolean $trialPeriod
|
19 |
+
* @property-read \DateTime $updatedAt
|
20 |
+
*/
|
21 |
class Plan extends Base
|
22 |
{
|
23 |
public static function factory($attributes)
|
lib/braintree/lib/Braintree/ProcessorResponseTypes.php
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Processor response types.
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
*/
|
9 |
+
class ProcessorResponseTypes
|
10 |
+
{
|
11 |
+
const APPROVED = 'approved';
|
12 |
+
const SOFT_DECLINED = 'soft_declined';
|
13 |
+
const HARD_DECLINED = 'hard_declined';
|
14 |
+
}
|
15 |
+
class_alias('Braintree\ProcessorResponseTypes', 'Braintree_ProcessorResponseTypes');
|
lib/braintree/lib/Braintree/ResourceCollection.php
CHANGED
@@ -20,7 +20,6 @@ use Iterator;
|
|
20 |
*
|
21 |
* @package Braintree
|
22 |
* @subpackage Utility
|
23 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
24 |
*/
|
25 |
class ResourceCollection implements Iterator
|
26 |
{
|
20 |
*
|
21 |
* @package Braintree
|
22 |
* @subpackage Utility
|
|
|
23 |
*/
|
24 |
class ResourceCollection implements Iterator
|
25 |
{
|
lib/braintree/lib/Braintree/Result/CreditCardVerification.php
CHANGED
@@ -13,9 +13,8 @@ use Braintree\Util;
|
|
13 |
*
|
14 |
* @package Braintree
|
15 |
* @subpackage Result
|
16 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
17 |
*
|
18 |
-
* @property-read string $avsErrorResponseCode
|
19 |
* @property-read string $avsPostalCodeResponseCode
|
20 |
* @property-read string $avsStreetAddressResponseCode
|
21 |
* @property-read string $cvvResponseCode
|
@@ -31,9 +30,11 @@ class CreditCardVerification
|
|
31 |
const VERIFIED = 'verified';
|
32 |
|
33 |
private $_attributes;
|
|
|
34 |
private $_avsErrorResponseCode;
|
35 |
private $_avsPostalCodeResponseCode;
|
36 |
private $_avsStreetAddressResponseCode;
|
|
|
37 |
private $_cvvResponseCode;
|
38 |
private $_gatewayRejectionReason;
|
39 |
private $_status;
|
13 |
*
|
14 |
* @package Braintree
|
15 |
* @subpackage Result
|
|
|
16 |
*
|
17 |
+
* @property-read string|null $avsErrorResponseCode
|
18 |
* @property-read string $avsPostalCodeResponseCode
|
19 |
* @property-read string $avsStreetAddressResponseCode
|
20 |
* @property-read string $cvvResponseCode
|
30 |
const VERIFIED = 'verified';
|
31 |
|
32 |
private $_attributes;
|
33 |
+
private $_amount;
|
34 |
private $_avsErrorResponseCode;
|
35 |
private $_avsPostalCodeResponseCode;
|
36 |
private $_avsStreetAddressResponseCode;
|
37 |
+
private $_currencyIsoCode;
|
38 |
private $_cvvResponseCode;
|
39 |
private $_gatewayRejectionReason;
|
40 |
private $_status;
|
lib/braintree/lib/Braintree/Result/Error.php
CHANGED
@@ -28,7 +28,6 @@ use Braintree\Error\ErrorCollection;
|
|
28 |
*
|
29 |
* @package Braintree
|
30 |
* @subpackage Result
|
31 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
32 |
*
|
33 |
* @property-read array $params original passed params
|
34 |
* @property-read \Braintree\Error\ErrorCollection $errors
|
28 |
*
|
29 |
* @package Braintree
|
30 |
* @subpackage Result
|
|
|
31 |
*
|
32 |
* @property-read array $params original passed params
|
33 |
* @property-read \Braintree\Error\ErrorCollection $errors
|
lib/braintree/lib/Braintree/Result/Successful.php
CHANGED
@@ -26,7 +26,6 @@ use Braintree\Util;
|
|
26 |
*
|
27 |
* @package Braintree
|
28 |
* @subpackage Result
|
29 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
30 |
*/
|
31 |
class Successful extends Instance
|
32 |
{
|
@@ -75,7 +74,7 @@ class Successful extends Instance
|
|
75 |
{
|
76 |
$objects = [];
|
77 |
foreach ($this->_returnObjectNames as $returnObjectName) {
|
78 |
-
array_push($objects, $
|
79 |
}
|
80 |
return __CLASS__ . '[' . implode(', ', $objects) . ']';
|
81 |
}
|
26 |
*
|
27 |
* @package Braintree
|
28 |
* @subpackage Result
|
|
|
29 |
*/
|
30 |
class Successful extends Instance
|
31 |
{
|
74 |
{
|
75 |
$objects = [];
|
76 |
foreach ($this->_returnObjectNames as $returnObjectName) {
|
77 |
+
array_push($objects, $returnObjectName);
|
78 |
}
|
79 |
return __CLASS__ . '[' . implode(', ', $objects) . ']';
|
80 |
}
|
lib/braintree/lib/Braintree/Result/UsBankAccountVerification.php
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree\Result;
|
3 |
+
|
4 |
+
use Braintree\RiskData;
|
5 |
+
use Braintree\Util;
|
6 |
+
use Braintree\UsBankAccount;
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Braintree US Bank Account Verification Result
|
10 |
+
*
|
11 |
+
* This object is returned as part of an Error Result; it provides
|
12 |
+
* access to the credit card verification data from the gateway
|
13 |
+
*
|
14 |
+
*
|
15 |
+
* @package Braintree
|
16 |
+
* @subpackage Result
|
17 |
+
*
|
18 |
+
* @property-read string $id
|
19 |
+
* @property-read string $status
|
20 |
+
* @property-read string $verificationMethod
|
21 |
+
* @property-read \DateTime $verificationDeterminedAt
|
22 |
+
* @property-read Braintree\UsBankAccount $usBankAccount
|
23 |
+
*
|
24 |
+
*/
|
25 |
+
class UsBankAccountVerification
|
26 |
+
{
|
27 |
+
// Status
|
28 |
+
const FAILED = 'failed';
|
29 |
+
const GATEWAY_REJECTED = 'gateway_rejected';
|
30 |
+
const PROCESSOR_DECLINED = 'processor_declined';
|
31 |
+
const VERIFIED = 'verified';
|
32 |
+
const PENDING = 'pending';
|
33 |
+
|
34 |
+
const TOKENIZED_CHECK = 'tokenized_check';
|
35 |
+
const NETWORK_CHECK = 'network_check';
|
36 |
+
const INDEPENDENT_CHECK = 'independent_check';
|
37 |
+
const MICRO_TRANSFERS = 'micro_transfers';
|
38 |
+
|
39 |
+
private $_attributes;
|
40 |
+
private $_gatewayRejectionReason;
|
41 |
+
private $_status;
|
42 |
+
|
43 |
+
/**
|
44 |
+
* @ignore
|
45 |
+
*/
|
46 |
+
public function __construct($attributes)
|
47 |
+
{
|
48 |
+
$this->_initializeFromArray($attributes);
|
49 |
+
|
50 |
+
$usBankAccount = isset($attributes['usBankAccount']) ?
|
51 |
+
UsBankAccount::factory($attributes['usBankAccount']) :
|
52 |
+
null;
|
53 |
+
$this->usBankAccount = $usBankAccount;
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* initializes instance properties from the keys/values of an array
|
58 |
+
* @ignore
|
59 |
+
* @access protected
|
60 |
+
* @param <type> $aAttribs array of properties to set - single level
|
61 |
+
* @return void
|
62 |
+
*/
|
63 |
+
private function _initializeFromArray($attributes)
|
64 |
+
{
|
65 |
+
$this->_attributes = $attributes;
|
66 |
+
foreach($attributes AS $name => $value) {
|
67 |
+
$varName = "_$name";
|
68 |
+
$this->$varName = $value;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* @ignore
|
74 |
+
*/
|
75 |
+
public function __get($name)
|
76 |
+
{
|
77 |
+
$varName = "_$name";
|
78 |
+
return isset($this->$varName) ? $this->$varName : null;
|
79 |
+
}
|
80 |
+
|
81 |
+
/**
|
82 |
+
* returns a string representation of the customer
|
83 |
+
* @return string
|
84 |
+
*/
|
85 |
+
public function __toString()
|
86 |
+
{
|
87 |
+
return __CLASS__ . '[' .
|
88 |
+
Util::attributesToString($this->_attributes) . ']';
|
89 |
+
}
|
90 |
+
|
91 |
+
public static function allStatuses()
|
92 |
+
{
|
93 |
+
return [
|
94 |
+
UsBankAccountVerification::FAILED,
|
95 |
+
UsBankAccountVerification::GATEWAY_REJECTED,
|
96 |
+
UsBankAccountVerification::PROCESSOR_DECLINED,
|
97 |
+
UsBankAccountVerification::VERIFIED,
|
98 |
+
UsBankAccountVerification::PENDING,
|
99 |
+
];
|
100 |
+
}
|
101 |
+
|
102 |
+
public static function allVerificationMethods()
|
103 |
+
{
|
104 |
+
return [
|
105 |
+
UsBankAccountVerification::TOKENIZED_CHECK,
|
106 |
+
UsBankAccountVerification::NETWORK_CHECK,
|
107 |
+
UsBankAccountVerification::INDEPENDENT_CHECK,
|
108 |
+
UsBankAccountVerification::MICRO_TRANSFERS,
|
109 |
+
];
|
110 |
+
}
|
111 |
+
}
|
112 |
+
class_alias('Braintree\Result\UsBankAccountVerification', 'Braintree_Result_UsBankAccountVerification');
|
lib/braintree/lib/Braintree/RevokedPaymentMethodMetadata.php
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree RevokedPaymentMethodMetadata module
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
* @category Resources
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Manages Braintree RevokedPaymentMethodMetadata
|
13 |
+
*
|
14 |
+
* <b>== More information ==</b>
|
15 |
+
*
|
16 |
+
*
|
17 |
+
* @package Braintree
|
18 |
+
* @category Resources
|
19 |
+
*
|
20 |
+
* @property-read string $customerId
|
21 |
+
* @property-read string $token
|
22 |
+
* @property-read string $revokedPaymentMethod
|
23 |
+
*/
|
24 |
+
class RevokedPaymentMethodMetadata extends Base
|
25 |
+
{
|
26 |
+
/**
|
27 |
+
* factory method: returns an instance of RevokedPaymentMethodMetadata
|
28 |
+
* to the requesting method, with populated properties
|
29 |
+
*
|
30 |
+
* @ignore
|
31 |
+
* @return RevokedPaymentMethodMetadata
|
32 |
+
*/
|
33 |
+
public static function factory($attributes)
|
34 |
+
{
|
35 |
+
$instance = new self();
|
36 |
+
$instance->revokedPaymentMethod = PaymentMethodParser::parsePaymentMethod($attributes);
|
37 |
+
$instance->customerId = $instance->revokedPaymentMethod->customerId;
|
38 |
+
$instance->token = $instance->revokedPaymentMethod->token;
|
39 |
+
return $instance;
|
40 |
+
}
|
41 |
+
|
42 |
+
/**
|
43 |
+
* create a printable representation of the object as:
|
44 |
+
* ClassName[property=value, property=value]
|
45 |
+
* @return string
|
46 |
+
*/
|
47 |
+
public function __toString()
|
48 |
+
{
|
49 |
+
return __CLASS__ . '[' .
|
50 |
+
Util::attributesToString($this->_attributes) . ']';
|
51 |
+
}
|
52 |
+
}
|
53 |
+
class_alias('Braintree\RevokedPaymentMethodMetadata', 'Braintree_RevokedPaymentMethodMetadata');
|
lib/braintree/lib/Braintree/RiskData.php
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
class RiskData extends Base
|
5 |
{
|
6 |
public static function factory($attributes)
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* @property-read string $decision
|
6 |
+
* @property-read boolean $deviceDataCaptured
|
7 |
+
* @property-read string $id
|
8 |
+
*/
|
9 |
class RiskData extends Base
|
10 |
{
|
11 |
public static function factory($attributes)
|
lib/braintree/lib/Braintree/SamsungPayCard.php
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree SamsungPayCard module
|
6 |
+
* Creates and manages Braintree SamsungPayCards
|
7 |
+
*
|
8 |
+
* @package Braintree
|
9 |
+
* @category Resources
|
10 |
+
*
|
11 |
+
* @property-read \Braintree\Address $billingAddress
|
12 |
+
* @property-read string $bin
|
13 |
+
* @property-read string $cardType
|
14 |
+
* @property-read string $cardholderName
|
15 |
+
* @property-read string $commercial
|
16 |
+
* @property-read string $countryOfIssuance
|
17 |
+
* @property-read \DateTime $createdAt
|
18 |
+
* @property-read string $customerId
|
19 |
+
* @property-read string $customerLocation
|
20 |
+
* @property-read string $debit
|
21 |
+
* @property-read boolean $default
|
22 |
+
* @property-read string $durbinRegulated
|
23 |
+
* @property-read string $expirationDate
|
24 |
+
* @property-read string $expirationMonth
|
25 |
+
* @property-read string $expirationYear
|
26 |
+
* @property-read boolean $expired
|
27 |
+
* @property-read string $healthcare
|
28 |
+
* @property-read string $imageUrl
|
29 |
+
* @property-read string $issuingBank
|
30 |
+
* @property-read string $last4
|
31 |
+
* @property-read string $maskedNumber
|
32 |
+
* @property-read string $payroll
|
33 |
+
* @property-read string $prepaid
|
34 |
+
* @property-read string $productId
|
35 |
+
* @property-read string $sourceCardLast4
|
36 |
+
* @property-read \Braintree\Subscription[] $subscriptions
|
37 |
+
* @property-read string $token
|
38 |
+
* @property-read string $uniqueNumberIdentifier
|
39 |
+
* @property-read \DateTime $updatedAt
|
40 |
+
*/
|
41 |
+
class SamsungPayCard extends Base
|
42 |
+
{
|
43 |
+
/* instance methods */
|
44 |
+
/**
|
45 |
+
* returns false if default is null or false
|
46 |
+
*
|
47 |
+
* @return boolean
|
48 |
+
*/
|
49 |
+
public function isDefault()
|
50 |
+
{
|
51 |
+
return $this->default;
|
52 |
+
}
|
53 |
+
|
54 |
+
/**
|
55 |
+
* checks whether the card is expired based on the current date
|
56 |
+
*
|
57 |
+
* @return boolean
|
58 |
+
*/
|
59 |
+
public function isExpired()
|
60 |
+
{
|
61 |
+
return $this->expired;
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* sets instance properties from an array of values
|
66 |
+
*
|
67 |
+
* @access protected
|
68 |
+
* @param array $creditCardAttribs array of creditcard data
|
69 |
+
* @return void
|
70 |
+
*/
|
71 |
+
protected function _initialize($creditCardAttribs)
|
72 |
+
{
|
73 |
+
// set the attributes
|
74 |
+
$this->_attributes = $creditCardAttribs;
|
75 |
+
|
76 |
+
// map each address into its own object
|
77 |
+
$billingAddress = isset($creditCardAttribs['billingAddress']) ?
|
78 |
+
Address::factory($creditCardAttribs['billingAddress']) :
|
79 |
+
null;
|
80 |
+
|
81 |
+
$subscriptionArray = [];
|
82 |
+
if (isset($creditCardAttribs['subscriptions'])) {
|
83 |
+
foreach ($creditCardAttribs['subscriptions'] AS $subscription) {
|
84 |
+
$subscriptionArray[] = Subscription::factory($subscription);
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
+
$this->_set('subscriptions', $subscriptionArray);
|
89 |
+
$this->_set('billingAddress', $billingAddress);
|
90 |
+
$this->_set('expirationDate', $this->expirationMonth . '/' . $this->expirationYear);
|
91 |
+
$this->_set('maskedNumber', $this->bin . '******' . $this->last4);
|
92 |
+
}
|
93 |
+
|
94 |
+
/**
|
95 |
+
* returns false if comparing object is not a SamsungPayCard,
|
96 |
+
* or is a SamsungPayCard with a different id
|
97 |
+
*
|
98 |
+
* @param object $otherSamsungPayCard customer to compare against
|
99 |
+
* @return boolean
|
100 |
+
*/
|
101 |
+
public function isEqual($otherSamsungPayCard)
|
102 |
+
{
|
103 |
+
return !($otherSamsungPayCard instanceof self) ? false : $this->token === $otherSamsungPayCard->token;
|
104 |
+
}
|
105 |
+
|
106 |
+
/**
|
107 |
+
* create a printable representation of the object as:
|
108 |
+
* ClassName[property=value, property=value]
|
109 |
+
* @return string
|
110 |
+
*/
|
111 |
+
public function __toString()
|
112 |
+
{
|
113 |
+
return __CLASS__ . '[' .
|
114 |
+
Util::attributesToString($this->_attributes) .']';
|
115 |
+
}
|
116 |
+
|
117 |
+
/**
|
118 |
+
* factory method: returns an instance of SamsungPayCard
|
119 |
+
* to the requesting method, with populated properties
|
120 |
+
*
|
121 |
+
* @ignore
|
122 |
+
* @return SamsungPayCard
|
123 |
+
*/
|
124 |
+
public static function factory($attributes)
|
125 |
+
{
|
126 |
+
$defaultAttributes = [
|
127 |
+
'bin' => '',
|
128 |
+
'expirationMonth' => '',
|
129 |
+
'expirationYear' => '',
|
130 |
+
'last4' => '',
|
131 |
+
];
|
132 |
+
|
133 |
+
$instance = new self();
|
134 |
+
$instance->_initialize(array_merge($defaultAttributes, $attributes));
|
135 |
+
return $instance;
|
136 |
+
}
|
137 |
+
}
|
138 |
+
class_alias('Braintree\SamsungPayCard', 'Braintree_SamsungPayCard');
|
lib/braintree/lib/Braintree/SettlementBatchSummary.php
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
4 |
class SettlementBatchSummary extends Base
|
5 |
{
|
6 |
/**
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* @property-read array $records
|
6 |
+
*/
|
7 |
class SettlementBatchSummary extends Base
|
8 |
{
|
9 |
/**
|
lib/braintree/lib/Braintree/Subscription.php
CHANGED
@@ -6,12 +6,42 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* <b>== More information ==</b>
|
8 |
*
|
9 |
-
* For more detailed information on Subscriptions, see {@link
|
10 |
*
|
11 |
* PHP Version 5
|
12 |
*
|
13 |
* @package Braintree
|
14 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
*/
|
16 |
class Subscription extends Base
|
17 |
{
|
@@ -64,6 +94,10 @@ class Subscription extends Base
|
|
64 |
$this->_set('descriptor', new Descriptor($attributes['descriptor']));
|
65 |
}
|
66 |
|
|
|
|
|
|
|
|
|
67 |
$statusHistory = [];
|
68 |
if (isset($attributes['statusHistory'])) {
|
69 |
foreach ($attributes['statusHistory'] AS $history) {
|
@@ -128,9 +162,9 @@ class Subscription extends Base
|
|
128 |
return Configuration::gateway()->subscription()->update($subscriptionId, $attributes);
|
129 |
}
|
130 |
|
131 |
-
public static function retryCharge($subscriptionId, $amount = null)
|
132 |
{
|
133 |
-
return Configuration::gateway()->subscription()->retryCharge($subscriptionId, $amount);
|
134 |
}
|
135 |
|
136 |
public static function cancel($subscriptionId)
|
6 |
*
|
7 |
* <b>== More information ==</b>
|
8 |
*
|
9 |
+
* For more detailed information on Subscriptions, see {@link https://developers.braintreepayments.com/reference/response/subscription/php https://developers.braintreepayments.com/reference/response/subscription/php}
|
10 |
*
|
11 |
* PHP Version 5
|
12 |
*
|
13 |
* @package Braintree
|
14 |
+
*
|
15 |
+
* @property-read \Braintree\Addon[] $addOns
|
16 |
+
* @property-read string $balance
|
17 |
+
* @property-read int $billingDayOfMonth
|
18 |
+
* @property-read \DateTime $billingPeriodEndDate
|
19 |
+
* @property-read \DateTime $billingPeriodStartDate
|
20 |
+
* @property-read \DateTime $createdAt
|
21 |
+
* @property-read int $currentBillingCycle
|
22 |
+
* @property-read int|null $daysPastDue
|
23 |
+
* @property-read string|null $description
|
24 |
+
* @property-read \Braintree\Descriptor|null $descriptor
|
25 |
+
* @property-read \Braintree\Discount[] $discounts
|
26 |
+
* @property-read int $failureCount
|
27 |
+
* @property-read \DateTime $firstBillingDate
|
28 |
+
* @property-read string $id
|
29 |
+
* @property-read string $merchantAccountId
|
30 |
+
* @property-read boolean $neverExpires
|
31 |
+
* @property-read string $nextBillingPeriodAmount
|
32 |
+
* @property-read \DateTime $nextBillingDate
|
33 |
+
* @property-read int|null $numberOfBillingCycles
|
34 |
+
* @property-read \DateTime|null $paidThroughDate
|
35 |
+
* @property-read string $paymentMethodToken
|
36 |
+
* @property-read string $planId
|
37 |
+
* @property-read string $price
|
38 |
+
* @property-read string $status
|
39 |
+
* @property-read \Braintree\Subscription\StatusDetails[] $statusHistory
|
40 |
+
* @property-read \Braintree\Transaction[] $transactions
|
41 |
+
* @property-read int $trialDuration
|
42 |
+
* @property-read string $trialDurationUnit
|
43 |
+
* @property-read boolean $trialPeriod
|
44 |
+
* @property-read \DateTime $updatedAt
|
45 |
*/
|
46 |
class Subscription extends Base
|
47 |
{
|
94 |
$this->_set('descriptor', new Descriptor($attributes['descriptor']));
|
95 |
}
|
96 |
|
97 |
+
if (isset($attributes['description'])) {
|
98 |
+
$this->_set('description', $attributes['description']);
|
99 |
+
}
|
100 |
+
|
101 |
$statusHistory = [];
|
102 |
if (isset($attributes['statusHistory'])) {
|
103 |
foreach ($attributes['statusHistory'] AS $history) {
|
162 |
return Configuration::gateway()->subscription()->update($subscriptionId, $attributes);
|
163 |
}
|
164 |
|
165 |
+
public static function retryCharge($subscriptionId, $amount = null, $submitForSettlement = false)
|
166 |
{
|
167 |
+
return Configuration::gateway()->subscription()->retryCharge($subscriptionId, $amount, $submitForSettlement);
|
168 |
}
|
169 |
|
170 |
public static function cancel($subscriptionId)
|
lib/braintree/lib/Braintree/Subscription/StatusDetails.php
CHANGED
@@ -8,14 +8,13 @@ use Braintree\Instance;
|
|
8 |
* Creates an instance of StatusDetails, as part of a subscription response
|
9 |
*
|
10 |
* @package Braintree
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*
|
13 |
* @property-read string $price
|
14 |
* @property-read string $currencyIsoCode
|
15 |
* @property-read string $planId
|
16 |
* @property-read string $balance
|
17 |
* @property-read string $status
|
18 |
-
* @property-read
|
19 |
* @property-read string $subscriptionSource
|
20 |
* @property-read string $user
|
21 |
*/
|
8 |
* Creates an instance of StatusDetails, as part of a subscription response
|
9 |
*
|
10 |
* @package Braintree
|
|
|
11 |
*
|
12 |
* @property-read string $price
|
13 |
* @property-read string $currencyIsoCode
|
14 |
* @property-read string $planId
|
15 |
* @property-read string $balance
|
16 |
* @property-read string $status
|
17 |
+
* @property-read \DateTime $timestamp
|
18 |
* @property-read string $subscriptionSource
|
19 |
* @property-read string $user
|
20 |
*/
|
lib/braintree/lib/Braintree/SubscriptionGateway.php
CHANGED
@@ -8,12 +8,11 @@ use InvalidArgumentException;
|
|
8 |
*
|
9 |
* <b>== More information ==</b>
|
10 |
*
|
11 |
-
* For more detailed information on Subscriptions, see {@link
|
12 |
*
|
13 |
* PHP Version 5
|
14 |
*
|
15 |
* @package Braintree
|
16 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
17 |
*/
|
18 |
class SubscriptionGateway
|
19 |
{
|
@@ -94,13 +93,16 @@ class SubscriptionGateway
|
|
94 |
return $this->_verifyGatewayResponse($response);
|
95 |
}
|
96 |
|
97 |
-
public function retryCharge($subscriptionId, $amount = null)
|
98 |
{
|
99 |
$transaction_params = ['type' => Transaction::SALE,
|
100 |
'subscriptionId' => $subscriptionId];
|
101 |
if (isset($amount)) {
|
102 |
$transaction_params['amount'] = $amount;
|
103 |
}
|
|
|
|
|
|
|
104 |
|
105 |
$path = $this->_config->merchantPath() . '/transactions';
|
106 |
$response = $this->_http->post($path, ['transaction' => $transaction_params]);
|
@@ -134,7 +136,11 @@ class SubscriptionGateway
|
|
134 |
'trialDurationUnit',
|
135 |
'trialPeriod',
|
136 |
['descriptor' => ['name', 'phone', 'url']],
|
137 |
-
['options' => [
|
|
|
|
|
|
|
|
|
138 |
],
|
139 |
self::_addOnDiscountSignature()
|
140 |
);
|
@@ -147,7 +153,12 @@ class SubscriptionGateway
|
|
147 |
'merchantAccountId', 'numberOfBillingCycles', 'paymentMethodToken', 'planId',
|
148 |
'paymentMethodNonce', 'id', 'neverExpires', 'price',
|
149 |
['descriptor' => ['name', 'phone', 'url']],
|
150 |
-
['options' => [
|
|
|
|
|
|
|
|
|
|
|
151 |
],
|
152 |
self::_addOnDiscountSignature()
|
153 |
);
|
8 |
*
|
9 |
* <b>== More information ==</b>
|
10 |
*
|
11 |
+
* For more detailed information on Subscriptions, see {@link https://developers.braintreepayments.com/reference/response/subscription/php https://developers.braintreepayments.com/reference/response/subscription/php}
|
12 |
*
|
13 |
* PHP Version 5
|
14 |
*
|
15 |
* @package Braintree
|
|
|
16 |
*/
|
17 |
class SubscriptionGateway
|
18 |
{
|
93 |
return $this->_verifyGatewayResponse($response);
|
94 |
}
|
95 |
|
96 |
+
public function retryCharge($subscriptionId, $amount = null, $submitForSettlement = false)
|
97 |
{
|
98 |
$transaction_params = ['type' => Transaction::SALE,
|
99 |
'subscriptionId' => $subscriptionId];
|
100 |
if (isset($amount)) {
|
101 |
$transaction_params['amount'] = $amount;
|
102 |
}
|
103 |
+
if ($submitForSettlement) {
|
104 |
+
$transaction_params['options'] = ['submitForSettlement' => $submitForSettlement];
|
105 |
+
}
|
106 |
|
107 |
$path = $this->_config->merchantPath() . '/transactions';
|
108 |
$response = $this->_http->post($path, ['transaction' => $transaction_params]);
|
136 |
'trialDurationUnit',
|
137 |
'trialPeriod',
|
138 |
['descriptor' => ['name', 'phone', 'url']],
|
139 |
+
['options' => [
|
140 |
+
'doNotInheritAddOnsOrDiscounts',
|
141 |
+
'startImmediately',
|
142 |
+
['paypal' => ['description']]
|
143 |
+
]],
|
144 |
],
|
145 |
self::_addOnDiscountSignature()
|
146 |
);
|
153 |
'merchantAccountId', 'numberOfBillingCycles', 'paymentMethodToken', 'planId',
|
154 |
'paymentMethodNonce', 'id', 'neverExpires', 'price',
|
155 |
['descriptor' => ['name', 'phone', 'url']],
|
156 |
+
['options' => [
|
157 |
+
'prorateCharges',
|
158 |
+
'replaceAllAddOnsAndDiscounts',
|
159 |
+
'revertSubscriptionOnProrationFailure',
|
160 |
+
['paypal' => ['description']]
|
161 |
+
]],
|
162 |
],
|
163 |
self::_addOnDiscountSignature()
|
164 |
);
|
lib/braintree/lib/Braintree/Test/CreditCardNumbers.php
CHANGED
@@ -10,7 +10,6 @@ namespace Braintree\Test;
|
|
10 |
*
|
11 |
* @package Braintree
|
12 |
* @subpackage Test
|
13 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
14 |
*/
|
15 |
class CreditCardNumbers
|
16 |
{
|
@@ -25,6 +24,15 @@ class CreditCardNumbers
|
|
25 |
'6011111111111117',
|
26 |
'6011000990139424',
|
27 |
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
public static $JCBs = [
|
29 |
'3530111333300000',
|
30 |
'3566002020360505',
|
@@ -63,11 +71,16 @@ class CreditCardNumbers
|
|
63 |
'InsufficientPoints' => "371544868764018",
|
64 |
];
|
65 |
|
|
|
|
|
|
|
|
|
66 |
public static function getAll()
|
67 |
{
|
68 |
return array_merge(
|
69 |
self::$amExes,
|
70 |
self::$discoverCards,
|
|
|
71 |
self::$masterCards,
|
72 |
self::$visas
|
73 |
);
|
10 |
*
|
11 |
* @package Braintree
|
12 |
* @subpackage Test
|
|
|
13 |
*/
|
14 |
class CreditCardNumbers
|
15 |
{
|
24 |
'6011111111111117',
|
25 |
'6011000990139424',
|
26 |
];
|
27 |
+
|
28 |
+
public static $hiper = '6370950000000005';
|
29 |
+
public static $hiperCard = '6062820524845321';
|
30 |
+
|
31 |
+
public static $elo = '5066991111111118';
|
32 |
+
public static $eloCards = [
|
33 |
+
'5066991111111118'
|
34 |
+
];
|
35 |
+
|
36 |
public static $JCBs = [
|
37 |
'3530111333300000',
|
38 |
'3566002020360505',
|
71 |
'InsufficientPoints' => "371544868764018",
|
72 |
];
|
73 |
|
74 |
+
public static $disputes = [
|
75 |
+
'Chargeback' => '4023898493988028',
|
76 |
+
];
|
77 |
+
|
78 |
public static function getAll()
|
79 |
{
|
80 |
return array_merge(
|
81 |
self::$amExes,
|
82 |
self::$discoverCards,
|
83 |
+
self::$eloCards,
|
84 |
self::$masterCards,
|
85 |
self::$visas
|
86 |
);
|
lib/braintree/lib/Braintree/Test/MerchantAccount.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree\Test;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @subpackage Test
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
class MerchantAccount
|
12 |
{
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @subpackage Test
|
|
|
9 |
*/
|
10 |
class MerchantAccount
|
11 |
{
|
lib/braintree/lib/Braintree/Test/Nonces.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree\Test;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @subpackage Test
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -17,7 +16,6 @@ namespace Braintree\Test;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @subpackage Test
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
*/
|
22 |
class Nonces
|
23 |
{
|
@@ -66,5 +64,17 @@ class Nonces
|
|
66 |
public static $sepa = "fake-sepa-bank-account-nonce";
|
67 |
public static $gatewayRejectedFraud = "fake-gateway-rejected-fraud-nonce";
|
68 |
public static $venmoAccount = "fake-venmo-account-nonce";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
}
|
70 |
class_alias('Braintree\Test\Nonces', 'Braintree_Test_Nonces');
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @subpackage Test
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @subpackage Test
|
|
|
19 |
*/
|
20 |
class Nonces
|
21 |
{
|
64 |
public static $sepa = "fake-sepa-bank-account-nonce";
|
65 |
public static $gatewayRejectedFraud = "fake-gateway-rejected-fraud-nonce";
|
66 |
public static $venmoAccount = "fake-venmo-account-nonce";
|
67 |
+
public static $visaCheckoutAmEx = "fake-visa-checkout-amex-nonce";
|
68 |
+
public static $visaCheckoutDiscover = "fake-visa-checkout-discover-nonce";
|
69 |
+
public static $visaCheckoutMasterCard = "fake-visa-checkout-mastercard-nonce";
|
70 |
+
public static $visaCheckoutVisa = "fake-visa-checkout-visa-nonce";
|
71 |
+
public static $masterpassAmEx = "fake-masterpass-amex-nonce";
|
72 |
+
public static $masterpassDiscover = "fake-masterpass-discover-nonce";
|
73 |
+
public static $masterpassMasterCard = "fake-masterpass-mastercard-nonce";
|
74 |
+
public static $masterpassVisa = "fake-masterpass-visa-nonce";
|
75 |
+
public static $samsungPayAmEx = "tokensam_fake_american_express";
|
76 |
+
public static $samsungPayDiscover = "tokensam_fake_discover";
|
77 |
+
public static $samsungPayMasterCard = "tokensam_fake_mastercard";
|
78 |
+
public static $samsungPayVisa = "tokensam_fake_visa";
|
79 |
}
|
80 |
class_alias('Braintree\Test\Nonces', 'Braintree_Test_Nonces');
|
lib/braintree/lib/Braintree/Test/Transaction.php
CHANGED
@@ -8,8 +8,6 @@ use Braintree\Configuration;
|
|
8 |
*
|
9 |
* The constants in this class can be used to create transactions with
|
10 |
* the desired status in the sandbox environment.
|
11 |
-
*
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*/
|
14 |
class Transaction
|
15 |
{
|
8 |
*
|
9 |
* The constants in this class can be used to create transactions with
|
10 |
* the desired status in the sandbox environment.
|
|
|
|
|
11 |
*/
|
12 |
class Transaction
|
13 |
{
|
lib/braintree/lib/Braintree/Test/TransactionAmounts.php
CHANGED
@@ -9,11 +9,11 @@ namespace Braintree\Test;
|
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Test
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*/
|
14 |
class TransactionAmounts
|
15 |
{
|
16 |
-
public static $authorize
|
17 |
-
public static $decline
|
|
|
18 |
}
|
19 |
class_alias('Braintree\Test\TransactionAmounts', 'Braintree_Test_TransactionAmounts');
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Test
|
|
|
12 |
*/
|
13 |
class TransactionAmounts
|
14 |
{
|
15 |
+
public static $authorize = '1000.00';
|
16 |
+
public static $decline = '2000.00';
|
17 |
+
public static $hardDecline = '2015.00';
|
18 |
}
|
19 |
class_alias('Braintree\Test\TransactionAmounts', 'Braintree_Test_TransactionAmounts');
|
lib/braintree/lib/Braintree/Test/VenmoSdk.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree\Test;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @subpackage Test
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
class VenmoSdk
|
12 |
{
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @subpackage Test
|
|
|
9 |
*/
|
10 |
class VenmoSdk
|
11 |
{
|
lib/braintree/lib/Braintree/ThreeDSecureInfo.php
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
class ThreeDSecureInfo extends Base
|
5 |
{
|
6 |
public static function factory($attributes)
|
1 |
<?php
|
2 |
namespace Braintree;
|
3 |
|
4 |
+
/**
|
5 |
+
* @property-read string $enrolled
|
6 |
+
* @property-read boolean $liabilityShiftPossible
|
7 |
+
* @property-read string $status
|
8 |
+
*/
|
9 |
class ThreeDSecureInfo extends Base
|
10 |
{
|
11 |
public static function factory($attributes)
|
lib/braintree/lib/Braintree/Transaction.php
CHANGED
@@ -135,39 +135,79 @@ namespace Braintree;
|
|
135 |
*
|
136 |
* <b>== More information ==</b>
|
137 |
*
|
138 |
-
* For more detailed information on Transactions, see {@link
|
139 |
*
|
140 |
* @package Braintree
|
141 |
* @category Resources
|
142 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
143 |
*
|
144 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
* @property-read string $avsErrorResponseCode
|
146 |
* @property-read string $avsPostalCodeResponseCode
|
147 |
* @property-read string $avsStreetAddressResponseCode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
* @property-read string $cvvResponseCode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
* @property-read string $id transaction id
|
150 |
-
* @property-read
|
151 |
-
* @property-read Braintree\
|
152 |
-
* @property-read
|
153 |
-
* @property-read
|
154 |
-
* @property-read
|
155 |
-
* @property-read
|
156 |
-
* @property-read
|
157 |
-
* @property-read Braintree\
|
158 |
-
* @property-read
|
159 |
-
* @property-read
|
160 |
-
* @property-read Braintree\VenmoAccount $venmoAccountDetails transaction Venmo Account info
|
161 |
-
* @property-read array $customFields custom fields passed with the request
|
162 |
* @property-read string $processorResponseCode gateway response code
|
163 |
-
* @property-read string $
|
164 |
-
* @property-read
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
* @property-read string $status transaction status
|
166 |
-
* @property-read
|
|
|
|
|
|
|
|
|
|
|
167 |
* @property-read string $type transaction type
|
168 |
-
* @property-read
|
169 |
-
* @property-read Braintree\
|
170 |
-
* @property-read Braintree\
|
|
|
171 |
*
|
172 |
*/
|
173 |
|
@@ -221,6 +261,7 @@ class Transaction extends Base
|
|
221 |
// Industry Types
|
222 |
const LODGING_INDUSTRY = 'lodging';
|
223 |
const TRAVEL_AND_CRUISE_INDUSTRY = 'travel_cruise';
|
|
|
224 |
|
225 |
/**
|
226 |
* sets instance properties from an array of values
|
@@ -250,6 +291,30 @@ class Transaction extends Base
|
|
250 |
);
|
251 |
}
|
252 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
if (isset($transactionAttribs['amexExpressCheckoutCard'])) {
|
254 |
$this->_set('amexExpressCheckoutCardDetails',
|
255 |
new Transaction\AmexExpressCheckoutCardDetails(
|
@@ -282,14 +347,6 @@ class Transaction extends Base
|
|
282 |
);
|
283 |
}
|
284 |
|
285 |
-
if (isset($transactionAttribs['europeBankAccount'])) {
|
286 |
-
$this->_set('europeBankAccount',
|
287 |
-
new Transaction\EuropeBankAccountDetails(
|
288 |
-
$transactionAttribs['europeBankAccount']
|
289 |
-
)
|
290 |
-
);
|
291 |
-
}
|
292 |
-
|
293 |
if (isset($transactionAttribs['usBankAccount'])) {
|
294 |
$this->_set('usBankAccount',
|
295 |
new Transaction\UsBankAccountDetails(
|
@@ -298,6 +355,14 @@ class Transaction extends Base
|
|
298 |
);
|
299 |
}
|
300 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
if (isset($transactionAttribs['paypal'])) {
|
302 |
$this->_set('paypalDetails',
|
303 |
new Transaction\PayPalDetails(
|
@@ -386,12 +451,24 @@ class Transaction extends Base
|
|
386 |
}
|
387 |
$this->_set('discounts', $discountArray);
|
388 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
389 |
if(isset($transactionAttribs['riskData'])) {
|
390 |
$this->_set('riskData', RiskData::factory($transactionAttribs['riskData']));
|
391 |
}
|
392 |
if(isset($transactionAttribs['threeDSecureInfo'])) {
|
393 |
$this->_set('threeDSecureInfo', ThreeDSecureInfo::factory($transactionAttribs['threeDSecureInfo']));
|
394 |
}
|
|
|
|
|
|
|
395 |
if(isset($transactionAttribs['facilitatorDetails'])) {
|
396 |
$this->_set('facilitatorDetails', FacilitatorDetails::factory($transactionAttribs['facilitatorDetails']));
|
397 |
}
|
@@ -445,11 +522,16 @@ class Transaction extends Base
|
|
445 |
}
|
446 |
}
|
447 |
|
448 |
-
/** @return
|
449 |
public function isDisbursed() {
|
450 |
return $this->disbursementDetails->isValid();
|
451 |
}
|
452 |
|
|
|
|
|
|
|
|
|
|
|
453 |
/**
|
454 |
* factory method: returns an instance of Transaction
|
455 |
* to the requesting method, with populated properties
|
135 |
*
|
136 |
* <b>== More information ==</b>
|
137 |
*
|
138 |
+
* For more detailed information on Transactions, see {@link https://developers.braintreepayments.com/reference/response/transaction/php https://developers.braintreepayments.com/reference/response/transaction/php}
|
139 |
*
|
140 |
* @package Braintree
|
141 |
* @category Resources
|
|
|
142 |
*
|
143 |
*
|
144 |
+
* @property-read \Braintree\AddOn[] $addons
|
145 |
+
* @property-read string $additionalProcessorResponse raw response from processor
|
146 |
+
* @property-read string $amount transaction amount
|
147 |
+
* @property-read \Braintree\AmexExpressCheckoutCardDetails $amexExpressCheckoutCardDetails transaction Amex Express Checkout card info
|
148 |
+
* @property-read \Braintree\AndroidPayCardDetails $androidPayCardDetails transaction Android Pay card info
|
149 |
+
* @property-read \Braintree\ApplePayCardDetails $applePayCardDetails transaction Apple Pay card info
|
150 |
+
* @property-read \Braintree\AuthorizationAdjustment[] $authorizationAdjustments populated when a transaction has authorization adjustments created when submitted for settlement
|
151 |
+
* @property-read \DateTime $authorizationExpiresAt DateTime authorization will expire
|
152 |
* @property-read string $avsErrorResponseCode
|
153 |
* @property-read string $avsPostalCodeResponseCode
|
154 |
* @property-read string $avsStreetAddressResponseCode
|
155 |
+
* @property-read \Braintree\Transaction\AddressDetails $billingDetails transaction billing address
|
156 |
+
* @property-read string $channel
|
157 |
+
* @property-read \Braintree\CoinbaseDetails $coinbaseDetails transaction Coinbase account info
|
158 |
+
* @property-read \DateTime $createdAt transaction created DateTime
|
159 |
+
* @property-read \Braintree\CreditCardDetails $creditCardDetails transaction credit card info
|
160 |
+
* @property-read string $currencyIsoCode
|
161 |
+
* @property-read array $customFields custom fields passed with the request
|
162 |
+
* @property-read \Braintree\Transaction\CustomerDetails $customerDetails transaction customer info
|
163 |
* @property-read string $cvvResponseCode
|
164 |
+
* @property-read \Braintree\Descriptor $descriptor
|
165 |
+
* @property-read Braintree\DisbursementDetails $disbursementDetails populated when transaction is disbursed
|
166 |
+
* @property-read string $discountAmount
|
167 |
+
* @property-read \Braintree\Discount[] $discounts
|
168 |
+
* @property-read \Braintree\Dispute[] $disputes populated when transaction is disputed
|
169 |
+
* @property-read string $escrowStatus
|
170 |
+
* @property-read \Braintree\FacilitatedDetails $facilitatedDetails
|
171 |
+
* @property-read \Braintree\FacilitatorDetails $facilitatorDetails
|
172 |
+
* @property-read string $gatewayRejectionReason
|
173 |
* @property-read string $id transaction id
|
174 |
+
* @property-read \Braintree\IdealPayment $idealPaymentDetails transaction Ideal Payment info
|
175 |
+
* @property-read \Braintree\TransactionLineItem[] $lineItems
|
176 |
+
* @property-read \Braintree\MasterpassCardDetails $masterpassCardDetails transaction Masterpass card info
|
177 |
+
* @property-read string $merchantAccountId
|
178 |
+
* @property-read string $networkTransactionId
|
179 |
+
* @property-read string $orderId
|
180 |
+
* @property-read string $paymentInstrumentType
|
181 |
+
* @property-read \Braintree\PayPalDetails $paypalDetails transaction paypal account info
|
182 |
+
* @property-read string $planId
|
183 |
+
* @property-read string $processorAuthorizationCode
|
|
|
|
|
184 |
* @property-read string $processorResponseCode gateway response code
|
185 |
+
* @property-read string $processorResponseText
|
186 |
+
* @property-read string $processorResponseType
|
187 |
+
* @property-read string $processorSettlementResponseCode
|
188 |
+
* @property-read string $processorSettlementResponseText
|
189 |
+
* @property-read string $purchaseOrderNumber
|
190 |
+
* @property-read mixed $reccuring
|
191 |
+
* @property-read mixed $refundIds
|
192 |
+
* @property-read string $refundedTransactionId
|
193 |
+
* @property-read \Braintree\RiskData $riskData
|
194 |
+
* @property-read \Braintree\SamsungPayCardDetails $samsungPayCardDetails transaction Samsung Pay card info
|
195 |
+
* @property-read string $serviceFeeAmount
|
196 |
+
* @property-read string $settlementBatchId
|
197 |
+
* @property-read string $shippingAmount
|
198 |
+
* @property-read \Braintree\Transaction\AddressDetails $shippingDetails transaction shipping address
|
199 |
* @property-read string $status transaction status
|
200 |
+
* @property-read \Braintree\Transaction\StatusDetails[] $statusHistory array of StatusDetails objects
|
201 |
+
* @property-read \Braintree\Transaction\SubscriptionDetails $subscriptionDetails
|
202 |
+
* @property-read string $subscriptionId
|
203 |
+
* @property-read string $taxAmount
|
204 |
+
* @property-read string $taxExcempt
|
205 |
+
* @property-read \Braintree\ThreeDSecureInfo $threeDSecureInfo
|
206 |
* @property-read string $type transaction type
|
207 |
+
* @property-read \DateTime $updatedAt transaction updated DateTime
|
208 |
+
* @property-read \Braintree\VenmoAccount $venmoAccountDetails transaction Venmo Account info
|
209 |
+
* @property-read \Braintree\VisaCheckoutCardDetails $visaCheckoutCardDetails transaction Visa Checkout card info
|
210 |
+
* @property-read string $voiceReferralName
|
211 |
*
|
212 |
*/
|
213 |
|
261 |
// Industry Types
|
262 |
const LODGING_INDUSTRY = 'lodging';
|
263 |
const TRAVEL_AND_CRUISE_INDUSTRY = 'travel_cruise';
|
264 |
+
const TRAVEL_AND_FLIGHT_INDUSTRY = 'travel_flight';
|
265 |
|
266 |
/**
|
267 |
* sets instance properties from an array of values
|
291 |
);
|
292 |
}
|
293 |
|
294 |
+
if (isset($transactionAttribs['masterpassCard'])) {
|
295 |
+
$this->_set('masterpassCardDetails',
|
296 |
+
new Transaction\MasterpassCardDetails(
|
297 |
+
$transactionAttribs['masterpassCard']
|
298 |
+
)
|
299 |
+
);
|
300 |
+
}
|
301 |
+
|
302 |
+
if (isset($transactionAttribs['visaCheckoutCard'])) {
|
303 |
+
$this->_set('visaCheckoutCardDetails',
|
304 |
+
new Transaction\VisaCheckoutCardDetails(
|
305 |
+
$transactionAttribs['visaCheckoutCard']
|
306 |
+
)
|
307 |
+
);
|
308 |
+
}
|
309 |
+
|
310 |
+
if (isset($transactionAttribs['samsungPayCard'])) {
|
311 |
+
$this->_set('samsungPayCardDetails',
|
312 |
+
new Transaction\SamsungPayCardDetails(
|
313 |
+
$transactionAttribs['samsungPayCard']
|
314 |
+
)
|
315 |
+
);
|
316 |
+
}
|
317 |
+
|
318 |
if (isset($transactionAttribs['amexExpressCheckoutCard'])) {
|
319 |
$this->_set('amexExpressCheckoutCardDetails',
|
320 |
new Transaction\AmexExpressCheckoutCardDetails(
|
347 |
);
|
348 |
}
|
349 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
if (isset($transactionAttribs['usBankAccount'])) {
|
351 |
$this->_set('usBankAccount',
|
352 |
new Transaction\UsBankAccountDetails(
|
355 |
);
|
356 |
}
|
357 |
|
358 |
+
if (isset($transactionAttribs['idealPayment'])) {
|
359 |
+
$this->_set('idealPayment',
|
360 |
+
new Transaction\IdealPaymentDetails(
|
361 |
+
$transactionAttribs['idealPayment']
|
362 |
+
)
|
363 |
+
);
|
364 |
+
}
|
365 |
+
|
366 |
if (isset($transactionAttribs['paypal'])) {
|
367 |
$this->_set('paypalDetails',
|
368 |
new Transaction\PayPalDetails(
|
451 |
}
|
452 |
$this->_set('discounts', $discountArray);
|
453 |
|
454 |
+
$authorizationAdjustments = [];
|
455 |
+
if (isset($transactionAttribs['authorizationAdjustments'])) {
|
456 |
+
foreach ($transactionAttribs['authorizationAdjustments'] AS $authorizationAdjustment) {
|
457 |
+
$authorizationAdjustments[] = AuthorizationAdjustment::factory($authorizationAdjustment);
|
458 |
+
}
|
459 |
+
}
|
460 |
+
|
461 |
+
$this->_set('authorizationAdjustments', $authorizationAdjustments);
|
462 |
+
|
463 |
if(isset($transactionAttribs['riskData'])) {
|
464 |
$this->_set('riskData', RiskData::factory($transactionAttribs['riskData']));
|
465 |
}
|
466 |
if(isset($transactionAttribs['threeDSecureInfo'])) {
|
467 |
$this->_set('threeDSecureInfo', ThreeDSecureInfo::factory($transactionAttribs['threeDSecureInfo']));
|
468 |
}
|
469 |
+
if(isset($transactionAttribs['facilitatedDetails'])) {
|
470 |
+
$this->_set('facilitatedDetails', FacilitatedDetails::factory($transactionAttribs['facilitatedDetails']));
|
471 |
+
}
|
472 |
if(isset($transactionAttribs['facilitatorDetails'])) {
|
473 |
$this->_set('facilitatorDetails', FacilitatorDetails::factory($transactionAttribs['facilitatorDetails']));
|
474 |
}
|
522 |
}
|
523 |
}
|
524 |
|
525 |
+
/** @return boolean */
|
526 |
public function isDisbursed() {
|
527 |
return $this->disbursementDetails->isValid();
|
528 |
}
|
529 |
|
530 |
+
/** @return line items */
|
531 |
+
public function lineItems() {
|
532 |
+
return Configuration::gateway()->transactionLineItem()->findAll($this->id);
|
533 |
+
}
|
534 |
+
|
535 |
/**
|
536 |
* factory method: returns an instance of Transaction
|
537 |
* to the requesting method, with populated properties
|
lib/braintree/lib/Braintree/Transaction/AddressDetails.php
CHANGED
@@ -9,7 +9,6 @@ use Braintree\Instance;
|
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*
|
14 |
* @property-read string $firstName
|
15 |
* @property-read string $lastName
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
|
|
12 |
*
|
13 |
* @property-read string $firstName
|
14 |
* @property-read string $lastName
|
lib/braintree/lib/Braintree/Transaction/AmexExpressCheckoutCardDetails.php
CHANGED
@@ -7,7 +7,6 @@ use Braintree\Instance;
|
|
7 |
*
|
8 |
* @package Braintree
|
9 |
* @subpackage Transaction
|
10 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
11 |
*/
|
12 |
|
13 |
/**
|
@@ -16,7 +15,6 @@ use Braintree\Instance;
|
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @subpackage Transaction
|
19 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
20 |
*
|
21 |
* @property-read string $cardType
|
22 |
* @property-read string $bin
|
7 |
*
|
8 |
* @package Braintree
|
9 |
* @subpackage Transaction
|
|
|
10 |
*/
|
11 |
|
12 |
/**
|
15 |
*
|
16 |
* @package Braintree
|
17 |
* @subpackage Transaction
|
|
|
18 |
*
|
19 |
* @property-read string $cardType
|
20 |
* @property-read string $bin
|
lib/braintree/lib/Braintree/Transaction/AndroidPayCardDetails.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Instance;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Transaction
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -17,7 +16,6 @@ use Braintree\Instance;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @subpackage Transaction
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
*
|
22 |
* @property-read string $bin
|
23 |
* @property-read string $default
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Transaction
|
|
|
11 |
*/
|
12 |
|
13 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @subpackage Transaction
|
|
|
19 |
*
|
20 |
* @property-read string $bin
|
21 |
* @property-read string $default
|
lib/braintree/lib/Braintree/Transaction/ApplePayCardDetails.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Instance;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Transaction
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -17,7 +16,6 @@ use Braintree\Instance;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @subpackage Transaction
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
*
|
22 |
* @property-read string $cardType
|
23 |
* @property-read string $paymentInstrumentName
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Transaction
|
|
|
11 |
*/
|
12 |
|
13 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @subpackage Transaction
|
|
|
19 |
*
|
20 |
* @property-read string $cardType
|
21 |
* @property-read string $paymentInstrumentName
|
lib/braintree/lib/Braintree/Transaction/CoinbaseDetails.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Instance;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Transaction
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -17,7 +16,6 @@ use Braintree\Instance;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @subpackage Transaction
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
*
|
22 |
* @property-read string $token
|
23 |
* @property-read string $userId
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Transaction
|
|
|
11 |
*/
|
12 |
|
13 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @subpackage Transaction
|
|
|
19 |
*
|
20 |
* @property-read string $token
|
21 |
* @property-read string $userId
|
lib/braintree/lib/Braintree/Transaction/CreditCardDetails.php
CHANGED
@@ -9,10 +9,10 @@ use Braintree\Instance;
|
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*
|
14 |
* @property-read string $bin
|
15 |
* @property-read string $cardType
|
|
|
16 |
* @property-read string $expirationDate
|
17 |
* @property-read string $expirationMonth
|
18 |
* @property-read string $expirationYear
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
|
|
12 |
*
|
13 |
* @property-read string $bin
|
14 |
* @property-read string $cardType
|
15 |
+
* @property-read string $cardholderName
|
16 |
* @property-read string $expirationDate
|
17 |
* @property-read string $expirationMonth
|
18 |
* @property-read string $expirationYear
|
lib/braintree/lib/Braintree/Transaction/CustomerDetails.php
CHANGED
@@ -9,7 +9,6 @@ use Braintree\Instance;
|
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*
|
14 |
* @property-read string $company
|
15 |
* @property-read string $email
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
|
|
12 |
*
|
13 |
* @property-read string $company
|
14 |
* @property-read string $email
|
lib/braintree/lib/Braintree/Transaction/EuropeBankAccountDetails.php
CHANGED
@@ -9,7 +9,6 @@ use Braintree\Instance;
|
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*
|
14 |
* @property-read string $accountHolderName
|
15 |
* @property-read string $bic
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
|
|
12 |
*
|
13 |
* @property-read string $accountHolderName
|
14 |
* @property-read string $bic
|
lib/braintree/lib/Braintree/Transaction/IdealPaymentDetails.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree\Transaction;
|
3 |
+
|
4 |
+
use Braintree\Instance;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* iDEAL payment details from a transaction
|
8 |
+
* creates an instance of IdealPaymentDetails
|
9 |
+
*
|
10 |
+
* @package Braintree
|
11 |
+
* @subpackage Transaction
|
12 |
+
*
|
13 |
+
* @property-read string $idealPaymentId
|
14 |
+
* @property-read string $idealTransactionId
|
15 |
+
* @property-read string $imageUrl
|
16 |
+
* @property-read string $maskedIban
|
17 |
+
* @property-read string $bic
|
18 |
+
*/
|
19 |
+
class IdealPaymentDetails extends Instance
|
20 |
+
{
|
21 |
+
protected $_attributes = [];
|
22 |
+
}
|
23 |
+
class_alias('Braintree\Transaction\IdealPaymentDetails', 'Braintree_Transaction_IdealPaymentDetails');
|
lib/braintree/lib/Braintree/Transaction/LineItem.php
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree\Transaction;
|
3 |
+
|
4 |
+
\class_exists('Braintree\TransactionLineItem');
|
lib/braintree/lib/Braintree/Transaction/MasterpassCardDetails.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree\Transaction;
|
3 |
+
|
4 |
+
use Braintree\Instance;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* MasterpassCard details from a transaction
|
8 |
+
* creates an instance of MasterpassCardDetails
|
9 |
+
*
|
10 |
+
* @package Braintree
|
11 |
+
* @subpackage Transaction
|
12 |
+
*
|
13 |
+
* @property-read string $bin
|
14 |
+
* @property-read string $callId
|
15 |
+
* @property-read string $cardType
|
16 |
+
* @property-read string $cardholderName
|
17 |
+
* @property-read string $commercial
|
18 |
+
* @property-read string $countryOfIssuance
|
19 |
+
* @property-read string $customerId
|
20 |
+
* @property-read string $customerLocation
|
21 |
+
* @property-read string $debit
|
22 |
+
* @property-read string $durbinRegulated
|
23 |
+
* @property-read string $expirationDate
|
24 |
+
* @property-read string $expirationMonth
|
25 |
+
* @property-read string $expirationYear
|
26 |
+
* @property-read string $healthcare
|
27 |
+
* @property-read string $imageUrl
|
28 |
+
* @property-read string $issuingBank
|
29 |
+
* @property-read string $last4
|
30 |
+
* @property-read string $maskedNumber
|
31 |
+
* @property-read string $payroll
|
32 |
+
* @property-read string $prepaid
|
33 |
+
* @property-read string $productId
|
34 |
+
* @property-read string $token
|
35 |
+
* @property-read string $updatedAt
|
36 |
+
*/
|
37 |
+
class MasterpassCardDetails extends Instance
|
38 |
+
{
|
39 |
+
protected $_attributes = [];
|
40 |
+
|
41 |
+
/**
|
42 |
+
* @ignore
|
43 |
+
*/
|
44 |
+
public function __construct($attributes)
|
45 |
+
{
|
46 |
+
parent::__construct($attributes);
|
47 |
+
$this->_attributes['expirationDate'] = $this->expirationMonth . '/' . $this->expirationYear;
|
48 |
+
$this->_attributes['maskedNumber'] = $this->bin . '******' . $this->last4;
|
49 |
+
|
50 |
+
}
|
51 |
+
}
|
52 |
+
class_alias('Braintree\Transaction\MasterpassCardDetails', 'Braintree_Transaction_MasterpassCardDetails');
|
lib/braintree/lib/Braintree/Transaction/PayPalDetails.php
CHANGED
@@ -8,7 +8,6 @@ use Braintree\Instance;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Transaction
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -17,16 +16,25 @@ use Braintree\Instance;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @subpackage Transaction
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
*
|
|
|
|
|
|
|
|
|
|
|
22 |
* @property-read string $payerEmail
|
|
|
|
|
|
|
|
|
23 |
* @property-read string $paymentId
|
24 |
-
* @property-read string $
|
|
|
|
|
|
|
25 |
* @property-read string $token
|
26 |
-
* @property-read string $imageUrl
|
27 |
* @property-read string $transactionFeeAmount
|
28 |
* @property-read string $transactionFeeCurrencyIsoCode
|
29 |
-
* @property-read string $description
|
30 |
*/
|
31 |
class PayPalDetails extends Instance
|
32 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @subpackage Transaction
|
|
|
11 |
*/
|
12 |
|
13 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @subpackage Transaction
|
|
|
19 |
*
|
20 |
+
* @property-read string $authorizationId
|
21 |
+
* @property-read string $captureId
|
22 |
+
* @property-read string $customField
|
23 |
+
* @property-read string $description
|
24 |
+
* @property-read string $imageUrl
|
25 |
* @property-read string $payerEmail
|
26 |
+
* @property-read string $payerFirstName
|
27 |
+
* @property-read string $payerId
|
28 |
+
* @property-read string $payerLastName
|
29 |
+
* @property-read string $payerStatus
|
30 |
* @property-read string $paymentId
|
31 |
+
* @property-read string $refundId
|
32 |
+
* @property-read string $sellerProtectionStatus
|
33 |
+
* @property-read string $taxId
|
34 |
+
* @property-read string $taxIdType
|
35 |
* @property-read string $token
|
|
|
36 |
* @property-read string $transactionFeeAmount
|
37 |
* @property-read string $transactionFeeCurrencyIsoCode
|
|
|
38 |
*/
|
39 |
class PayPalDetails extends Instance
|
40 |
{
|
lib/braintree/lib/Braintree/Transaction/SamsungPayCardDetails.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree\Transaction;
|
3 |
+
|
4 |
+
use Braintree\Instance;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* SamsungPayCard details from a transaction
|
8 |
+
* creates an instance of SamsungPayCardDetails
|
9 |
+
*
|
10 |
+
* @package Braintree
|
11 |
+
* @subpackage Transaction
|
12 |
+
*
|
13 |
+
* @property-read string $bin
|
14 |
+
* @property-read string $cardType
|
15 |
+
* @property-read string $cardholderName
|
16 |
+
* @property-read string $commercial
|
17 |
+
* @property-read string $countryOfIssuance
|
18 |
+
* @property-read string $customerId
|
19 |
+
* @property-read string $customerLocation
|
20 |
+
* @property-read string $debit
|
21 |
+
* @property-read string $durbinRegulated
|
22 |
+
* @property-read string $expirationDate
|
23 |
+
* @property-read string $expirationMonth
|
24 |
+
* @property-read string $expirationYear
|
25 |
+
* @property-read string $healthcare
|
26 |
+
* @property-read string $imageUrl
|
27 |
+
* @property-read string $issuingBank
|
28 |
+
* @property-read string $last4
|
29 |
+
* @property-read string $maskedNumber
|
30 |
+
* @property-read string $payroll
|
31 |
+
* @property-read string $prepaid
|
32 |
+
* @property-read string $productId
|
33 |
+
* @property-read string $sourceCardLast4
|
34 |
+
* @property-read string $token
|
35 |
+
* @property-read string $updatedAt
|
36 |
+
*/
|
37 |
+
class SamsungPayCardDetails extends Instance
|
38 |
+
{
|
39 |
+
protected $_attributes = [];
|
40 |
+
|
41 |
+
/**
|
42 |
+
* @ignore
|
43 |
+
*/
|
44 |
+
public function __construct($attributes)
|
45 |
+
{
|
46 |
+
parent::__construct($attributes);
|
47 |
+
$this->_attributes['expirationDate'] = $this->expirationMonth . '/' . $this->expirationYear;
|
48 |
+
$this->_attributes['maskedNumber'] = $this->bin . '******' . $this->last4;
|
49 |
+
|
50 |
+
}
|
51 |
+
}
|
52 |
+
class_alias('Braintree\Transaction\SamsungPayCardDetails', 'Braintree_Transaction_SamsungPayCardDetails');
|
lib/braintree/lib/Braintree/Transaction/StatusDetails.php
CHANGED
@@ -8,13 +8,12 @@ use Braintree\Instance;
|
|
8 |
* Creates an instance of StatusDetails, as part of a transaction response
|
9 |
*
|
10 |
* @package Braintree
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*
|
13 |
-
* @property-read string
|
14 |
-
* @property-read string
|
15 |
-
* @property-read
|
16 |
-
* @property-read string
|
17 |
-
* @property-read string
|
18 |
*/
|
19 |
class StatusDetails extends Instance
|
20 |
{
|
8 |
* Creates an instance of StatusDetails, as part of a transaction response
|
9 |
*
|
10 |
* @package Braintree
|
|
|
11 |
*
|
12 |
+
* @property-read string $amount
|
13 |
+
* @property-read string $status
|
14 |
+
* @property-read \DateTime $timestamp
|
15 |
+
* @property-read string $transactionSource
|
16 |
+
* @property-read string $user
|
17 |
*/
|
18 |
class StatusDetails extends Instance
|
19 |
{
|
lib/braintree/lib/Braintree/Transaction/SubscriptionDetails.php
CHANGED
@@ -9,10 +9,9 @@ use Braintree\Instance;
|
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*
|
14 |
-
* @property-read string $
|
15 |
-
* @property-read string $
|
16 |
*/
|
17 |
class SubscriptionDetails extends Instance
|
18 |
{
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
|
|
12 |
*
|
13 |
+
* @property-read string $billingPeriodStartDate
|
14 |
+
* @property-read string $billingPeriodEndDate
|
15 |
*/
|
16 |
class SubscriptionDetails extends Instance
|
17 |
{
|
lib/braintree/lib/Braintree/Transaction/UsBankAccountDetails.php
CHANGED
@@ -2,23 +2,23 @@
|
|
2 |
namespace Braintree\Transaction;
|
3 |
|
4 |
use Braintree\Instance;
|
|
|
5 |
|
6 |
/**
|
7 |
-
*
|
8 |
* creates an instance of UsbankAccountDetails
|
9 |
*
|
10 |
* @package Braintree
|
11 |
* @subpackage Transaction
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*
|
|
|
|
|
14 |
* @property-read string $routingNumber
|
15 |
-
* @property-read string $last4
|
16 |
* @property-read string $accountType
|
17 |
-
* @property-read string $accountDescription
|
18 |
* @property-read string $accountHolderName
|
19 |
-
* @property-read string $
|
20 |
-
* @property-read string $imageUrl
|
21 |
* @property-read string $bankName
|
|
|
22 |
*/
|
23 |
class UsBankAccountDetails extends Instance
|
24 |
{
|
@@ -31,6 +31,10 @@ class UsBankAccountDetails extends Instance
|
|
31 |
{
|
32 |
parent::__construct($attributes);
|
33 |
|
|
|
|
|
|
|
|
|
34 |
}
|
35 |
}
|
36 |
class_alias('Braintree\Transaction\UsBankAccountDetails', 'Braintree_Transaction_UsBankAccountDetails');
|
2 |
namespace Braintree\Transaction;
|
3 |
|
4 |
use Braintree\Instance;
|
5 |
+
use Braintree\AchMandate;
|
6 |
|
7 |
/**
|
8 |
+
* US Bank Account details from a transaction
|
9 |
* creates an instance of UsbankAccountDetails
|
10 |
*
|
11 |
* @package Braintree
|
12 |
* @subpackage Transaction
|
|
|
13 |
*
|
14 |
+
* @property-read string $token
|
15 |
+
* @property-read string $imageUrl
|
16 |
* @property-read string $routingNumber
|
|
|
17 |
* @property-read string $accountType
|
|
|
18 |
* @property-read string $accountHolderName
|
19 |
+
* @property-read string $last4
|
|
|
20 |
* @property-read string $bankName
|
21 |
+
* @property-read string $achMandate
|
22 |
*/
|
23 |
class UsBankAccountDetails extends Instance
|
24 |
{
|
31 |
{
|
32 |
parent::__construct($attributes);
|
33 |
|
34 |
+
$achMandate = isset($attributes['achMandate']) ?
|
35 |
+
AchMandate::factory($attributes['achMandate']) :
|
36 |
+
null;
|
37 |
+
$this->achMandate = $achMandate;
|
38 |
}
|
39 |
}
|
40 |
class_alias('Braintree\Transaction\UsBankAccountDetails', 'Braintree_Transaction_UsBankAccountDetails');
|
lib/braintree/lib/Braintree/Transaction/VenmoAccountDetails.php
CHANGED
@@ -7,7 +7,6 @@ use Braintree\Instance;
|
|
7 |
*
|
8 |
* @package Braintree
|
9 |
* @subpackage Transaction
|
10 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
11 |
*/
|
12 |
|
13 |
/**
|
@@ -16,7 +15,6 @@ use Braintree\Instance;
|
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @subpackage Transaction
|
19 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
20 |
*
|
21 |
* @property-read string $sourceDescription
|
22 |
* @property-read string $token
|
7 |
*
|
8 |
* @package Braintree
|
9 |
* @subpackage Transaction
|
|
|
10 |
*/
|
11 |
|
12 |
/**
|
15 |
*
|
16 |
* @package Braintree
|
17 |
* @subpackage Transaction
|
|
|
18 |
*
|
19 |
* @property-read string $sourceDescription
|
20 |
* @property-read string $token
|
lib/braintree/lib/Braintree/Transaction/VisaCheckoutCardDetails.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree\Transaction;
|
3 |
+
|
4 |
+
use Braintree\Instance;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* VisaCheckoutCard details from a transaction
|
8 |
+
* creates an instance of VisaCheckoutCardDetails
|
9 |
+
*
|
10 |
+
* @package Braintree
|
11 |
+
* @subpackage Transaction
|
12 |
+
*
|
13 |
+
* @property-read string $bin
|
14 |
+
* @property-read string $callId
|
15 |
+
* @property-read string $cardType
|
16 |
+
* @property-read string $cardholderName
|
17 |
+
* @property-read string $commercial
|
18 |
+
* @property-read string $countryOfIssuance
|
19 |
+
* @property-read string $customerId
|
20 |
+
* @property-read string $customerLocation
|
21 |
+
* @property-read string $debit
|
22 |
+
* @property-read string $durbinRegulated
|
23 |
+
* @property-read string $expirationDate
|
24 |
+
* @property-read string $expirationMonth
|
25 |
+
* @property-read string $expirationYear
|
26 |
+
* @property-read string $healthcare
|
27 |
+
* @property-read string $imageUrl
|
28 |
+
* @property-read string $issuingBank
|
29 |
+
* @property-read string $last4
|
30 |
+
* @property-read string $maskedNumber
|
31 |
+
* @property-read string $payroll
|
32 |
+
* @property-read string $prepaid
|
33 |
+
* @property-read string $productId
|
34 |
+
* @property-read string $token
|
35 |
+
* @property-read string $updatedAt
|
36 |
+
*/
|
37 |
+
class VisaCheckoutCardDetails extends Instance
|
38 |
+
{
|
39 |
+
protected $_attributes = [];
|
40 |
+
|
41 |
+
/**
|
42 |
+
* @ignore
|
43 |
+
*/
|
44 |
+
public function __construct($attributes)
|
45 |
+
{
|
46 |
+
parent::__construct($attributes);
|
47 |
+
$this->_attributes['expirationDate'] = $this->expirationMonth . '/' . $this->expirationYear;
|
48 |
+
$this->_attributes['maskedNumber'] = $this->bin . '******' . $this->last4;
|
49 |
+
|
50 |
+
}
|
51 |
+
}
|
52 |
+
class_alias('Braintree\Transaction\VisaCheckoutCardDetails', 'Braintree_Transaction_VisaCheckoutCardDetails');
|
lib/braintree/lib/Braintree/TransactionGateway.php
CHANGED
@@ -10,11 +10,10 @@ use InvalidArgumentException;
|
|
10 |
*
|
11 |
* <b>== More information ==</b>
|
12 |
*
|
13 |
-
* For more detailed information on Transactions, see {@link
|
14 |
*
|
15 |
* @package Braintree
|
16 |
* @category Resources
|
17 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
18 |
*/
|
19 |
|
20 |
class TransactionGateway
|
@@ -41,7 +40,7 @@ class TransactionGateway
|
|
41 |
* @ignore
|
42 |
* @access private
|
43 |
* @param array $attribs
|
44 |
-
* @return
|
45 |
*/
|
46 |
private function create($attribs)
|
47 |
{
|
@@ -120,6 +119,7 @@ class TransactionGateway
|
|
120 |
'recurring',
|
121 |
'serviceFeeAmount',
|
122 |
'sharedPaymentMethodToken',
|
|
|
123 |
'sharedCustomerId',
|
124 |
'sharedShippingAddressId',
|
125 |
'sharedBillingAddressId',
|
@@ -130,6 +130,9 @@ class TransactionGateway
|
|
130 |
'transactionSource',
|
131 |
'type',
|
132 |
'venmoSdkPaymentMethodCode',
|
|
|
|
|
|
|
133 |
['riskData' =>
|
134 |
['customerBrowser', 'customerIp', 'customer_browser', 'customer_ip']
|
135 |
],
|
@@ -170,12 +173,24 @@ class TransactionGateway
|
|
170 |
'addBillingAddressToPaymentMethod',
|
171 |
'venmoSdkSession',
|
172 |
'storeShippingAddressInVault',
|
|
|
173 |
'payeeEmail',
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
['threeDSecure' =>
|
175 |
['required']
|
176 |
],
|
|
|
|
|
|
|
|
|
177 |
['paypal' =>
|
178 |
[
|
|
|
179 |
'payeeEmail',
|
180 |
'customField',
|
181 |
'description',
|
@@ -189,13 +204,23 @@ class TransactionGateway
|
|
189 |
'currencyAmount',
|
190 |
'currencyIsoCode'
|
191 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
]
|
193 |
],
|
194 |
],
|
195 |
['customFields' => ['_anyKey_']],
|
196 |
['descriptor' => ['name', 'phone', 'url']],
|
197 |
-
['paypalAccount' => ['payeeEmail']],
|
198 |
-
|
|
|
|
|
|
|
199 |
['industry' =>
|
200 |
['industryType',
|
201 |
['data' =>
|
@@ -208,10 +233,49 @@ class TransactionGateway
|
|
208 |
'lodgingCheckInDate',
|
209 |
'lodgingCheckOutDate',
|
210 |
'lodgingName',
|
211 |
-
'roomRate'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
]
|
213 |
]
|
214 |
]
|
|
|
|
|
|
|
|
|
215 |
]
|
216 |
];
|
217 |
}
|
@@ -276,7 +340,7 @@ class TransactionGateway
|
|
276 |
/**
|
277 |
* new sale
|
278 |
* @param array $attribs
|
279 |
-
* @return
|
280 |
*/
|
281 |
public function sale($attribs)
|
282 |
{
|
@@ -301,7 +365,7 @@ class TransactionGateway
|
|
301 |
*
|
302 |
* If <b>query</b> is a string, the search will be a basic search.
|
303 |
* If <b>query</b> is a hash, the search will be an advanced search.
|
304 |
-
* For more detailed information and examples, see {@link
|
305 |
*
|
306 |
* @param mixed $query search query
|
307 |
* @param array $options options such as page number
|
@@ -340,10 +404,14 @@ class TransactionGateway
|
|
340 |
$path = $this->_config->merchantPath() . '/transactions/advanced_search';
|
341 |
$response = $this->_http->post($path, ['search' => $criteria]);
|
342 |
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
|
|
|
|
|
|
|
|
347 |
}
|
348 |
|
349 |
/**
|
@@ -459,7 +527,7 @@ class TransactionGateway
|
|
459 |
* @ignore
|
460 |
* @param var $subPath
|
461 |
* @param array $params
|
462 |
-
* @return
|
463 |
*/
|
464 |
public function _doCreate($subPath, $params)
|
465 |
{
|
10 |
*
|
11 |
* <b>== More information ==</b>
|
12 |
*
|
13 |
+
* For more detailed information on Transactions, see {@link https://developers.braintreepayments.com/reference/response/transaction/php https://developers.braintreepayments.com/reference/response/transaction/php}
|
14 |
*
|
15 |
* @package Braintree
|
16 |
* @category Resources
|
|
|
17 |
*/
|
18 |
|
19 |
class TransactionGateway
|
40 |
* @ignore
|
41 |
* @access private
|
42 |
* @param array $attribs
|
43 |
+
* @return Result\Successful|Result\Error
|
44 |
*/
|
45 |
private function create($attribs)
|
46 |
{
|
119 |
'recurring',
|
120 |
'serviceFeeAmount',
|
121 |
'sharedPaymentMethodToken',
|
122 |
+
'sharedPaymentMethodNonce',
|
123 |
'sharedCustomerId',
|
124 |
'sharedShippingAddressId',
|
125 |
'sharedBillingAddressId',
|
130 |
'transactionSource',
|
131 |
'type',
|
132 |
'venmoSdkPaymentMethodCode',
|
133 |
+
'shippingAmount',
|
134 |
+
'discountAmount',
|
135 |
+
'shipsFromPostalCode',
|
136 |
['riskData' =>
|
137 |
['customerBrowser', 'customerIp', 'customer_browser', 'customer_ip']
|
138 |
],
|
173 |
'addBillingAddressToPaymentMethod',
|
174 |
'venmoSdkSession',
|
175 |
'storeShippingAddressInVault',
|
176 |
+
'payeeId',
|
177 |
'payeeEmail',
|
178 |
+
'skipAdvancedFraudChecking',
|
179 |
+
'skipAvs',
|
180 |
+
'skipCvv',
|
181 |
+
['creditCard' =>
|
182 |
+
['accountType']
|
183 |
+
],
|
184 |
['threeDSecure' =>
|
185 |
['required']
|
186 |
],
|
187 |
+
# TODO: Snake case version included for backwards compatiblity. Remove in the next major version
|
188 |
+
['three_d_secure' =>
|
189 |
+
['required']
|
190 |
+
],
|
191 |
['paypal' =>
|
192 |
[
|
193 |
+
'payeeId',
|
194 |
'payeeEmail',
|
195 |
'customField',
|
196 |
'description',
|
204 |
'currencyAmount',
|
205 |
'currencyIsoCode'
|
206 |
]
|
207 |
+
],
|
208 |
+
['venmo' =>
|
209 |
+
[
|
210 |
+
# TODO: Snake case version included for backwards compatiblity. Remove in the next major version
|
211 |
+
'profile_id',
|
212 |
+
'profileId'
|
213 |
+
]
|
214 |
]
|
215 |
],
|
216 |
],
|
217 |
['customFields' => ['_anyKey_']],
|
218 |
['descriptor' => ['name', 'phone', 'url']],
|
219 |
+
['paypalAccount' => ['payeeId', 'payeeEmail', 'payerId', 'paymentId']],
|
220 |
+
# TODO: Snake case version included for backwards compatiblity. Remove in the next major version
|
221 |
+
['apple_pay_card' => ['number', 'cardholder_name', 'cryptogram', 'expiration_month', 'expiration_year', 'eci_indicator']],
|
222 |
+
|
223 |
+
['applePayCard' => ['number', 'cardholderName', 'cryptogram', 'expirationMonth', 'expirationYear', 'eciIndicator']],
|
224 |
['industry' =>
|
225 |
['industryType',
|
226 |
['data' =>
|
233 |
'lodgingCheckInDate',
|
234 |
'lodgingCheckOutDate',
|
235 |
'lodgingName',
|
236 |
+
'roomRate',
|
237 |
+
'passengerFirstName',
|
238 |
+
'passengerLastName',
|
239 |
+
'passengerMiddleInitial',
|
240 |
+
'passengerTitle',
|
241 |
+
'issuedDate',
|
242 |
+
'travelAgencyName',
|
243 |
+
'travelAgencyCode',
|
244 |
+
'ticketNumber',
|
245 |
+
'issuingCarrierCode',
|
246 |
+
'customerCode',
|
247 |
+
'fareAmount',
|
248 |
+
'feeAmount',
|
249 |
+
'taxAmount',
|
250 |
+
'restrictedTicket',
|
251 |
+
['legs' =>
|
252 |
+
[
|
253 |
+
'conjunctionTicket',
|
254 |
+
'exchangeTicket',
|
255 |
+
'couponNumber',
|
256 |
+
'serviceClass',
|
257 |
+
'carrierCode',
|
258 |
+
'fareBasisCode',
|
259 |
+
'flightNumber',
|
260 |
+
'departureDate',
|
261 |
+
'departureAirportCode',
|
262 |
+
'departureTime',
|
263 |
+
'arrivalAirportCode',
|
264 |
+
'arrivalTime',
|
265 |
+
'stopoverPermitted',
|
266 |
+
'fareAmount',
|
267 |
+
'feeAmount',
|
268 |
+
'taxAmount',
|
269 |
+
'endorsementOrRestrictions'
|
270 |
+
]
|
271 |
+
]
|
272 |
]
|
273 |
]
|
274 |
]
|
275 |
+
],
|
276 |
+
['lineItems' => ['quantity', 'name', 'description', 'kind', 'unitAmount', 'unitTaxAmount', 'totalAmount', 'discountAmount', 'taxAmount', 'unitOfMeasure', 'productCode', 'commodityCode', 'url']],
|
277 |
+
['externalVault' =>
|
278 |
+
['status' , 'previousNetworkTransactionId'],
|
279 |
]
|
280 |
];
|
281 |
}
|
340 |
/**
|
341 |
* new sale
|
342 |
* @param array $attribs
|
343 |
+
* @return Result\Successful|Result\Error
|
344 |
*/
|
345 |
public function sale($attribs)
|
346 |
{
|
365 |
*
|
366 |
* If <b>query</b> is a string, the search will be a basic search.
|
367 |
* If <b>query</b> is a hash, the search will be an advanced search.
|
368 |
+
* For more detailed information and examples, see {@link https://developers.braintreepayments.com/reference/request/transaction/search/php https://developers.braintreepayments.com/reference/request/transaction/search/php}
|
369 |
*
|
370 |
* @param mixed $query search query
|
371 |
* @param array $options options such as page number
|
404 |
$path = $this->_config->merchantPath() . '/transactions/advanced_search';
|
405 |
$response = $this->_http->post($path, ['search' => $criteria]);
|
406 |
|
407 |
+
if (array_key_exists('creditCardTransactions', $response)) {
|
408 |
+
return Util::extractattributeasarray(
|
409 |
+
$response['creditCardTransactions'],
|
410 |
+
'transaction'
|
411 |
+
);
|
412 |
+
} else {
|
413 |
+
throw new Exception\DownForMaintenance();
|
414 |
+
}
|
415 |
}
|
416 |
|
417 |
/**
|
527 |
* @ignore
|
528 |
* @param var $subPath
|
529 |
* @param array $params
|
530 |
+
* @return Result\Successful|Result\Error
|
531 |
*/
|
532 |
public function _doCreate($subPath, $params)
|
533 |
{
|
lib/braintree/lib/Braintree/TransactionLineItem.php
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
use Braintree\Instance;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Line item associated with a transaction
|
8 |
+
*
|
9 |
+
* @package Braintree
|
10 |
+
*/
|
11 |
+
|
12 |
+
/**
|
13 |
+
* creates an instance of TransactionLineItem
|
14 |
+
*
|
15 |
+
*
|
16 |
+
* @package Braintree
|
17 |
+
*
|
18 |
+
* @property-read string $commodityCode
|
19 |
+
* @property-read string $description
|
20 |
+
* @property-read string $discountAmount
|
21 |
+
* @property-read string $kind
|
22 |
+
* @property-read string $name
|
23 |
+
* @property-read string $productCode
|
24 |
+
* @property-read string $quantity
|
25 |
+
* @property-read string $taxAmount
|
26 |
+
* @property-read string $totalAmount
|
27 |
+
* @property-read string $unitAmount
|
28 |
+
* @property-read string $unitOfMeasure
|
29 |
+
* @property-read string $unitTaxAmount
|
30 |
+
* @property-read string $url
|
31 |
+
*/
|
32 |
+
class TransactionLineItem extends Instance
|
33 |
+
{
|
34 |
+
// LineItem Kinds
|
35 |
+
const CREDIT = 'credit';
|
36 |
+
const DEBIT = 'debit';
|
37 |
+
|
38 |
+
protected $_attributes = [];
|
39 |
+
|
40 |
+
/**
|
41 |
+
* @ignore
|
42 |
+
*/
|
43 |
+
public function __construct($attributes)
|
44 |
+
{
|
45 |
+
parent::__construct($attributes);
|
46 |
+
}
|
47 |
+
|
48 |
+
public static function findAll($transactionId)
|
49 |
+
{
|
50 |
+
return Configuration::gateway()->transactionLineItem()->findAll($transactionId);
|
51 |
+
}
|
52 |
+
}
|
53 |
+
class_alias('Braintree\TransactionLineItem', 'Braintree_TransactionLineItem');
|
54 |
+
class_alias('Braintree\TransactionLineItem', 'Braintree\Transaction\LineItem');
|
55 |
+
class_alias('Braintree\TransactionLineItem', 'Braintree_Transaction_LineItem');
|
lib/braintree/lib/Braintree/TransactionLineItemGateway.php
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
use InvalidArgumentException;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Braintree TransactionLineItemGateway processor
|
8 |
+
* Creates and manages transaction line items
|
9 |
+
*
|
10 |
+
* @package Braintree
|
11 |
+
* @category Resources
|
12 |
+
*/
|
13 |
+
|
14 |
+
class TransactionLineItemGateway
|
15 |
+
{
|
16 |
+
private $_gateway;
|
17 |
+
private $_config;
|
18 |
+
private $_http;
|
19 |
+
|
20 |
+
public function __construct($gateway)
|
21 |
+
{
|
22 |
+
$this->_gateway = $gateway;
|
23 |
+
$this->_config = $gateway->config;
|
24 |
+
$this->_config->assertHasAccessTokenOrKeys();
|
25 |
+
$this->_http = new Http($gateway->config);
|
26 |
+
}
|
27 |
+
|
28 |
+
/**
|
29 |
+
* @access public
|
30 |
+
* @param string id
|
31 |
+
* @return Transaction
|
32 |
+
*/
|
33 |
+
public function findAll($id)
|
34 |
+
{
|
35 |
+
$this->_validateId($id);
|
36 |
+
try {
|
37 |
+
$path = $this->_config->merchantPath() . '/transactions/' . $id . '/line_items';
|
38 |
+
$response = $this->_http->get($path);
|
39 |
+
|
40 |
+
$lineItems = [];
|
41 |
+
if (isset($response['lineItems'])) {
|
42 |
+
foreach ($response['lineItems'] AS $lineItem) {
|
43 |
+
$lineItems[] = new TransactionLineItem($lineItem);
|
44 |
+
}
|
45 |
+
}
|
46 |
+
return $lineItems;
|
47 |
+
} catch (Exception\NotFound $e) {
|
48 |
+
throw new Exception\NotFound('transaction line items with id ' . $id . ' not found');
|
49 |
+
}
|
50 |
+
}
|
51 |
+
|
52 |
+
/**
|
53 |
+
* verifies that a valid transaction id is being used
|
54 |
+
* @ignore
|
55 |
+
* @param string transaction id
|
56 |
+
* @throws InvalidArgumentException
|
57 |
+
*/
|
58 |
+
private function _validateId($id = null) {
|
59 |
+
if (empty($id)) {
|
60 |
+
throw new InvalidArgumentException('expected transaction id to be set');
|
61 |
+
}
|
62 |
+
if (!preg_match('/^[0-9a-z]+$/', $id)) {
|
63 |
+
throw new InvalidArgumentException($id . ' is an invalid transaction id.');
|
64 |
+
}
|
65 |
+
}
|
66 |
+
}
|
67 |
+
class_alias('Braintree\TransactionLineItemGateway', 'Braintree_TransactionLineItemGateway');
|
lib/braintree/lib/Braintree/TransactionSearch.php
CHANGED
@@ -77,6 +77,7 @@ class TransactionSearch
|
|
77 |
CreditCard::CHINA_UNION_PAY,
|
78 |
CreditCard::DINERS_CLUB_INTERNATIONAL,
|
79 |
CreditCard::DISCOVER,
|
|
|
80 |
CreditCard::JCB,
|
81 |
CreditCard::LASER,
|
82 |
CreditCard::MAESTRO,
|
77 |
CreditCard::CHINA_UNION_PAY,
|
78 |
CreditCard::DINERS_CLUB_INTERNATIONAL,
|
79 |
CreditCard::DISCOVER,
|
80 |
+
CreditCard::ELO,
|
81 |
CreditCard::JCB,
|
82 |
CreditCard::LASER,
|
83 |
CreditCard::MAESTRO,
|
lib/braintree/lib/Braintree/TransparentRedirect.php
CHANGED
@@ -34,7 +34,6 @@ namespace Braintree;
|
|
34 |
*
|
35 |
* @package Braintree
|
36 |
* @category Resources
|
37 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
38 |
*/
|
39 |
class TransparentRedirect
|
40 |
{
|
34 |
*
|
35 |
* @package Braintree
|
36 |
* @category Resources
|
|
|
37 |
*/
|
38 |
class TransparentRedirect
|
39 |
{
|
lib/braintree/lib/Braintree/TransparentRedirectGateway.php
CHANGED
@@ -11,7 +11,6 @@ use DateTimeZone;
|
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*/
|
16 |
class TransparentRedirectGateway
|
17 |
{
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
|
|
14 |
*/
|
15 |
class TransparentRedirectGateway
|
16 |
{
|
lib/braintree/lib/Braintree/UnknownPaymentMethod.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -17,7 +16,6 @@ namespace Braintree;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @category Resources
|
20 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
21 |
*
|
22 |
* @property-read string $token
|
23 |
* @property-read string $imageUrl
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @category Resources
|
|
|
19 |
*
|
20 |
* @property-read string $token
|
21 |
* @property-read string $imageUrl
|
lib/braintree/lib/Braintree/UsBankAccount.php
CHANGED
@@ -6,7 +6,6 @@ namespace Braintree;
|
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
9 |
-
* @copyright 2016 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -17,13 +16,19 @@ namespace Braintree;
|
|
17 |
*
|
18 |
* @package Braintree
|
19 |
* @category Resources
|
20 |
-
* @copyright 2016 Braintree, a division of PayPal, Inc.
|
21 |
*
|
22 |
* @property-read string $customerId
|
23 |
* @property-read string $email
|
24 |
* @property-read string $token
|
25 |
* @property-read string $imageUrl
|
|
|
|
|
|
|
|
|
26 |
* @property-read string $bankName
|
|
|
|
|
|
|
27 |
*/
|
28 |
class UsBankAccount extends Base
|
29 |
{
|
@@ -54,6 +59,23 @@ class UsBankAccount extends Base
|
|
54 |
{
|
55 |
// set the attributes
|
56 |
$this->_attributes = $usBankAccountAttribs;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
59 |
/**
|
@@ -67,6 +89,15 @@ class UsBankAccount extends Base
|
|
67 |
Util::attributesToString($this->_attributes) . ']';
|
68 |
}
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
// static methods redirecting to gateway
|
72 |
|
6 |
*
|
7 |
* @package Braintree
|
8 |
* @category Resources
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
16 |
*
|
17 |
* @package Braintree
|
18 |
* @category Resources
|
|
|
19 |
*
|
20 |
* @property-read string $customerId
|
21 |
* @property-read string $email
|
22 |
* @property-read string $token
|
23 |
* @property-read string $imageUrl
|
24 |
+
* @property-read string $routingNumber
|
25 |
+
* @property-read string $accountType
|
26 |
+
* @property-read string $accountHolderName
|
27 |
+
* @property-read string $last4
|
28 |
* @property-read string $bankName
|
29 |
+
* @property-read string $achMandate
|
30 |
+
* @property-read boolean $default
|
31 |
+
* @property-read boolean $verified
|
32 |
*/
|
33 |
class UsBankAccount extends Base
|
34 |
{
|
59 |
{
|
60 |
// set the attributes
|
61 |
$this->_attributes = $usBankAccountAttribs;
|
62 |
+
|
63 |
+
$achMandate = isset($usBankAccountAttribs['achMandate']) ?
|
64 |
+
AchMandate::factory($usBankAccountAttribs['achMandate']) :
|
65 |
+
null;
|
66 |
+
$this->_set('achMandate', $achMandate);
|
67 |
+
|
68 |
+
if (isset($usBankAccountAttribs['verifications'])) {
|
69 |
+
$verification_records = $usBankAccountAttribs['verifications'];
|
70 |
+
|
71 |
+
$verifications = array();
|
72 |
+
for ($i = 0; $i < count($verification_records); $i++) {
|
73 |
+
$verifications[$i] = UsBankAccountVerification::factory($verification_records[$i]);
|
74 |
+
}
|
75 |
+
$this->_set('verifications', $verifications);
|
76 |
+
} else {
|
77 |
+
$this->_set('verifications', null);
|
78 |
+
}
|
79 |
}
|
80 |
|
81 |
/**
|
89 |
Util::attributesToString($this->_attributes) . ']';
|
90 |
}
|
91 |
|
92 |
+
/**
|
93 |
+
* returns false if default is null or false
|
94 |
+
*
|
95 |
+
* @return boolean
|
96 |
+
*/
|
97 |
+
public function isDefault()
|
98 |
+
{
|
99 |
+
return $this->default;
|
100 |
+
}
|
101 |
|
102 |
// static methods redirecting to gateway
|
103 |
|
lib/braintree/lib/Braintree/UsBankAccountGateway.php
CHANGED
@@ -8,7 +8,6 @@ use InvalidArgumentException;
|
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @category Resources
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -19,7 +18,6 @@ use InvalidArgumentException;
|
|
19 |
*
|
20 |
* @package Braintree
|
21 |
* @category Resources
|
22 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
23 |
*/
|
24 |
class UsBankAccountGateway
|
25 |
{
|
8 |
*
|
9 |
* @package Braintree
|
10 |
* @category Resources
|
|
|
11 |
*/
|
12 |
|
13 |
/**
|
18 |
*
|
19 |
* @package Braintree
|
20 |
* @category Resources
|
|
|
21 |
*/
|
22 |
class UsBankAccountGateway
|
23 |
{
|
lib/braintree/lib/Braintree/UsBankAccountVerification.php
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree UsBankAccountVerification module
|
6 |
+
*
|
7 |
+
* @package Braintree
|
8 |
+
* @category Resources
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Manages Braintree UsBankAccountVerifications
|
13 |
+
*
|
14 |
+
* <b>== More information ==</b>
|
15 |
+
*
|
16 |
+
*
|
17 |
+
* @package Braintree
|
18 |
+
* @category Resources
|
19 |
+
*
|
20 |
+
*/
|
21 |
+
class UsBankAccountVerification extends Result\UsBankAccountVerification
|
22 |
+
{
|
23 |
+
/**
|
24 |
+
* factory method: returns an instance of UsBankAccountVerification
|
25 |
+
* to the requesting method, with populated properties
|
26 |
+
*
|
27 |
+
* @ignore
|
28 |
+
* @return UsBankAccountVerification
|
29 |
+
*/
|
30 |
+
public static function factory($attributes)
|
31 |
+
{
|
32 |
+
$instance = new self($attributes);
|
33 |
+
$instance->_initialize($attributes);
|
34 |
+
return $instance;
|
35 |
+
}
|
36 |
+
|
37 |
+
/* instance methods */
|
38 |
+
|
39 |
+
/**
|
40 |
+
* sets instance properties from an array of values
|
41 |
+
*
|
42 |
+
* @access protected
|
43 |
+
* @param array $usBankAccountVerificationAttribs array of usBankAccountVerification data
|
44 |
+
* @return void
|
45 |
+
*/
|
46 |
+
protected function _initialize($usBankAccountVerificationAttribs)
|
47 |
+
{
|
48 |
+
// set the attributes
|
49 |
+
$this->_attributes = $usBankAccountVerificationAttribs;
|
50 |
+
}
|
51 |
+
|
52 |
+
/**
|
53 |
+
* create a printable representation of the object as:
|
54 |
+
* ClassName[property=value, property=value]
|
55 |
+
* @return string
|
56 |
+
*/
|
57 |
+
public function __toString()
|
58 |
+
{
|
59 |
+
return __CLASS__ . '[' . Util::attributesToString($this->_attributes) . ']';
|
60 |
+
}
|
61 |
+
|
62 |
+
|
63 |
+
// static methods redirecting to gateway
|
64 |
+
|
65 |
+
/**
|
66 |
+
* finds a US bank account verification
|
67 |
+
*
|
68 |
+
* @access public
|
69 |
+
* @param string $token unique id
|
70 |
+
* @return UsBankAccountVerification
|
71 |
+
*/
|
72 |
+
public static function find($token)
|
73 |
+
{
|
74 |
+
return Configuration::gateway()->usBankAccountVerification()->find($token);
|
75 |
+
}
|
76 |
+
|
77 |
+
/**
|
78 |
+
* Returns a ResourceCollection of US bank account verifications matching the search query.
|
79 |
+
*
|
80 |
+
* @access public
|
81 |
+
* @param mixed $query search query
|
82 |
+
* @return ResourceCollection
|
83 |
+
*/
|
84 |
+
public static function search($query)
|
85 |
+
{
|
86 |
+
return Configuration::gateway()->usBankAccountVerification()->search($query);
|
87 |
+
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Returns a ResourceCollection of US bank account verifications matching the search query.
|
91 |
+
*
|
92 |
+
* @access public
|
93 |
+
* @param string $token unique id
|
94 |
+
* @param array $amounts micro transfer amounts
|
95 |
+
* @return ResourceCollection
|
96 |
+
*/
|
97 |
+
public static function confirmMicroTransferAmounts($token, $amounts)
|
98 |
+
{
|
99 |
+
return Configuration::gateway()->usBankAccountVerification()->confirmMicroTransferAmounts($token, $amounts);
|
100 |
+
}
|
101 |
+
}
|
102 |
+
class_alias('Braintree\UsBankAccountVerification', 'Braintree_UsBankAccountVerification');
|
lib/braintree/lib/Braintree/UsBankAccountVerificationGateway.php
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
use InvalidArgumentException;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Braintree UsBankAccountVerificationGateway module
|
8 |
+
*
|
9 |
+
* @package Braintree
|
10 |
+
* @category Resources
|
11 |
+
*/
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Manages Braintree UsBankAccountVerifications
|
15 |
+
*
|
16 |
+
* <b>== More information ==</b>
|
17 |
+
*
|
18 |
+
*
|
19 |
+
* @package Braintree
|
20 |
+
* @category Resources
|
21 |
+
*/
|
22 |
+
class UsBankAccountVerificationGateway
|
23 |
+
{
|
24 |
+
private $_gateway;
|
25 |
+
private $_config;
|
26 |
+
private $_http;
|
27 |
+
|
28 |
+
public function __construct($gateway)
|
29 |
+
{
|
30 |
+
$this->_gateway = $gateway;
|
31 |
+
$this->_config = $gateway->config;
|
32 |
+
$this->_config->assertHasAccessTokenOrKeys();
|
33 |
+
$this->_http = new Http($gateway->config);
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* find a usBankAccountVerification by token
|
38 |
+
*
|
39 |
+
* @access public
|
40 |
+
* @param string $token unique id
|
41 |
+
* @return UsBankAccountVerification
|
42 |
+
* @throws Exception\NotFound
|
43 |
+
*/
|
44 |
+
public function find($token)
|
45 |
+
{
|
46 |
+
try {
|
47 |
+
$path = $this->_config->merchantPath() . '/us_bank_account_verifications/' . $token;
|
48 |
+
$response = $this->_http->get($path);
|
49 |
+
return UsBankAccountVerification::factory($response['usBankAccountVerification']);
|
50 |
+
} catch (Exception\NotFound $e) {
|
51 |
+
throw new Exception\NotFound(
|
52 |
+
'US bank account with token ' . $token . ' not found'
|
53 |
+
);
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
public function search($query)
|
58 |
+
{
|
59 |
+
$criteria = [];
|
60 |
+
foreach ($query as $term) {
|
61 |
+
$criteria[$term->name] = $term->toparam();
|
62 |
+
}
|
63 |
+
|
64 |
+
$path = $this->_config->merchantPath() . '/us_bank_account_verifications/advanced_search_ids';
|
65 |
+
$response = $this->_http->post($path, ['search' => $criteria]);
|
66 |
+
$pager = [
|
67 |
+
'object' => $this,
|
68 |
+
'method' => 'fetch',
|
69 |
+
'methodArgs' => [$query]
|
70 |
+
];
|
71 |
+
|
72 |
+
return new ResourceCollection($response, $pager);
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* complete micro transfer verification by confirming the transfer amounts
|
77 |
+
*
|
78 |
+
* @access public
|
79 |
+
* @param string $token unique id
|
80 |
+
* @param array $amounts amounts deposited in micro transfer
|
81 |
+
* @return UsBankAccountVerification
|
82 |
+
* @throws Exception\Unexpected
|
83 |
+
*/
|
84 |
+
public function confirmMicroTransferAmounts($token, $amounts)
|
85 |
+
{
|
86 |
+
try {
|
87 |
+
$path = $this->_config->merchantPath() . '/us_bank_account_verifications/' . $token . '/confirm_micro_transfer_amounts';
|
88 |
+
$response = $this->_http->put($path, [
|
89 |
+
"us_bank_account_verification" => ["deposit_amounts" => $amounts]
|
90 |
+
]);
|
91 |
+
return $this->_verifyGatewayResponse($response);
|
92 |
+
} catch (Exception\Unexpected $e) {
|
93 |
+
throw new Exception\Unexpected(
|
94 |
+
'Unexpected exception.'
|
95 |
+
);
|
96 |
+
}
|
97 |
+
}
|
98 |
+
|
99 |
+
/**
|
100 |
+
* generic method for validating incoming gateway responses
|
101 |
+
*
|
102 |
+
* creates a new UsBankAccountVerification object and encapsulates
|
103 |
+
* it inside a Result\Successful object, or
|
104 |
+
* encapsulates a Errors object inside a Result\Error
|
105 |
+
* alternatively, throws an Unexpected exception if the response is invalid.
|
106 |
+
*
|
107 |
+
* @ignore
|
108 |
+
* @param array $response gateway response values
|
109 |
+
* @return Result\Successful|Result\Error
|
110 |
+
* @throws Exception\Unexpected
|
111 |
+
*/
|
112 |
+
private function _verifyGatewayResponse($response)
|
113 |
+
{
|
114 |
+
if (isset($response['apiErrorResponse'])) {
|
115 |
+
return new Result\Error($response['apiErrorResponse']);
|
116 |
+
} else if (isset($response['usBankAccountVerification'])) {
|
117 |
+
// return a populated instance of UsBankAccountVerification
|
118 |
+
return new Result\Successful(
|
119 |
+
UsBankAccountVerification::factory($response['usBankAccountVerification'])
|
120 |
+
);
|
121 |
+
} else {
|
122 |
+
throw new Exception\Unexpected(
|
123 |
+
'Expected US bank account or apiErrorResponse'
|
124 |
+
);
|
125 |
+
}
|
126 |
+
}
|
127 |
+
}
|
128 |
+
|
129 |
+
class_alias('Braintree\UsBankAccountVerificationGateway', 'Braintree_UsBankAccountVerificationGateway');
|
lib/braintree/lib/Braintree/UsBankAccountVerificationSearch.php
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
class UsBankAccountVerificationSearch
|
5 |
+
{
|
6 |
+
public static function accountHolderName() {
|
7 |
+
return new TextNode('account_holder_name');
|
8 |
+
}
|
9 |
+
|
10 |
+
public static function customerEmail() {
|
11 |
+
return new TextNode('customer_email');
|
12 |
+
}
|
13 |
+
|
14 |
+
public static function customerId() {
|
15 |
+
return new TextNode('customer_id');
|
16 |
+
}
|
17 |
+
|
18 |
+
public static function id() {
|
19 |
+
return new TextNode('id');
|
20 |
+
}
|
21 |
+
|
22 |
+
public static function paymentMethodToken(){
|
23 |
+
return new TextNode('payment_method_token');
|
24 |
+
}
|
25 |
+
|
26 |
+
public static function routingNumber() {
|
27 |
+
return new TextNode('routiner_number');
|
28 |
+
}
|
29 |
+
|
30 |
+
public static function ids() {
|
31 |
+
return new MultipleValueNode('ids');
|
32 |
+
}
|
33 |
+
|
34 |
+
public static function status()
|
35 |
+
{
|
36 |
+
return new MultipleValueNode(
|
37 |
+
"status",
|
38 |
+
Result\UsBankAccountVerification::allStatuses()
|
39 |
+
);
|
40 |
+
}
|
41 |
+
|
42 |
+
public static function verificationMethod()
|
43 |
+
{
|
44 |
+
return new MultipleValueNode(
|
45 |
+
"verification_method",
|
46 |
+
Result\UsBankAccountVerification::allVerificationMethods()
|
47 |
+
);
|
48 |
+
}
|
49 |
+
|
50 |
+
public static function createdAt() {
|
51 |
+
return new RangeNode("created_at");
|
52 |
+
}
|
53 |
+
|
54 |
+
public static function accountType()
|
55 |
+
{
|
56 |
+
return new EqualityNode("account_type");
|
57 |
+
}
|
58 |
+
|
59 |
+
public static function accountNumber()
|
60 |
+
{
|
61 |
+
return new EndsWithNode("account_number");
|
62 |
+
}
|
63 |
+
}
|
64 |
+
class_alias('Braintree\UsBankAccountVerificationSearch', 'Braintree_UsBankAccountVerificationSearch');
|
lib/braintree/lib/Braintree/Util.php
CHANGED
@@ -7,8 +7,6 @@ use InvalidArgumentException;
|
|
7 |
/**
|
8 |
* Braintree Utility methods
|
9 |
* PHP version 5
|
10 |
-
*
|
11 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
12 |
*/
|
13 |
|
14 |
class Util
|
@@ -81,6 +79,48 @@ class Util
|
|
81 |
}
|
82 |
}
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
/**
|
85 |
*
|
86 |
* @param string $className
|
@@ -135,6 +175,12 @@ class Util
|
|
135 |
'Braintree_Discount' => 'discount',
|
136 |
'Braintree\DiscountGateway' => 'discount',
|
137 |
'Braintree_DiscountGateway' => 'discount',
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
'Braintree\Plan' => 'plan',
|
139 |
'Braintree_Plan' => 'plan',
|
140 |
'Braintree\PlanGateway' => 'plan',
|
@@ -163,6 +209,8 @@ class Util
|
|
163 |
'Braintree_PayPalAccount' => 'paypalAccount',
|
164 |
'Braintree\PayPalAccountGateway' => 'paypalAccount',
|
165 |
'Braintree_PayPalAccountGateway' => 'paypalAccount',
|
|
|
|
|
166 |
];
|
167 |
|
168 |
return $classNamesToResponseKeys[$name];
|
@@ -178,6 +226,8 @@ class Util
|
|
178 |
$responseKeysToClassNames = [
|
179 |
'creditCard' => 'Braintree\CreditCard',
|
180 |
'customer' => 'Braintree\Customer',
|
|
|
|
|
181 |
'subscription' => 'Braintree\Subscription',
|
182 |
'transaction' => 'Braintree\Transaction',
|
183 |
'verification' => 'Braintree\CreditCardVerification',
|
@@ -202,12 +252,11 @@ class Util
|
|
202 |
*/
|
203 |
public static function delimiterToCamelCase($string, $delimiter = '[\-\_]')
|
204 |
{
|
205 |
-
// php doesn't garbage collect functions created by create_function()
|
206 |
-
// so use a static variable to avoid adding a new function to memory
|
207 |
-
// every time this function is called.
|
208 |
static $callback = null;
|
209 |
if ($callback === null) {
|
210 |
-
$callback =
|
|
|
|
|
211 |
}
|
212 |
|
213 |
return preg_replace_callback('/' . $delimiter . '(\w)/', $callback, $string);
|
7 |
/**
|
8 |
* Braintree Utility methods
|
9 |
* PHP version 5
|
|
|
|
|
10 |
*/
|
11 |
|
12 |
class Util
|
79 |
}
|
80 |
}
|
81 |
|
82 |
+
/**
|
83 |
+
* throws an exception based on the type of error returned from graphql
|
84 |
+
* @param array $response complete graphql response
|
85 |
+
* @throws Exception multiple types depending on the error
|
86 |
+
* @return void
|
87 |
+
*/
|
88 |
+
public static function throwGraphQLResponseException($response)
|
89 |
+
{
|
90 |
+
if(!array_key_exists("errors", $response) || !($errors = $response["errors"])) {
|
91 |
+
return;
|
92 |
+
}
|
93 |
+
|
94 |
+
foreach ($errors as $error) {
|
95 |
+
$message = $error["message"];
|
96 |
+
if ($error["extensions"] == null) {
|
97 |
+
throw new Exception\Unexpected("Unexpected exception:" . $message);
|
98 |
+
}
|
99 |
+
|
100 |
+
$errorClass = $error["extensions"]["errorClass"];
|
101 |
+
|
102 |
+
if ($errorClass == "VALIDATION") {
|
103 |
+
continue;
|
104 |
+
} else if ($errorClass == "AUTHENTICATION") {
|
105 |
+
throw new Exception\Authentication();
|
106 |
+
} else if ($errorClass == "AUTHORIZATION") {
|
107 |
+
throw new Exception\Authorization($message);
|
108 |
+
} else if ($errorClass == "NOT_FOUND") {
|
109 |
+
throw new Exception\NotFound();
|
110 |
+
} else if ($errorClass == "UNSUPPORTED_CLIENT") {
|
111 |
+
throw new Exception\UpgradeRequired();
|
112 |
+
} else if ($errorClass == "RESOURCE_LIMIT") {
|
113 |
+
throw new Exception\TooManyRequests();
|
114 |
+
} else if ($errorClass == "INTERNAL") {
|
115 |
+
throw new Exception\ServerError();
|
116 |
+
} else if ($errorClass == "SERVICE_AVAILABILITY") {
|
117 |
+
throw new Exception\DownForMaintenance();
|
118 |
+
} else {
|
119 |
+
throw new Exception\Unexpected('Unexpected exception ' . $message);
|
120 |
+
}
|
121 |
+
}
|
122 |
+
}
|
123 |
+
|
124 |
/**
|
125 |
*
|
126 |
* @param string $className
|
175 |
'Braintree_Discount' => 'discount',
|
176 |
'Braintree\DiscountGateway' => 'discount',
|
177 |
'Braintree_DiscountGateway' => 'discount',
|
178 |
+
'Braintree\Dispute' => 'dispute',
|
179 |
+
'Braintree_Dispute' => 'dispute',
|
180 |
+
'Braintree\Dispute\EvidenceDetails' => 'evidence',
|
181 |
+
'Braintree_Dispute_EvidenceDetails' => 'evidence',
|
182 |
+
'Braintree\DocumentUpload' => 'documentUpload',
|
183 |
+
'Braintree_DocumentUpload' => 'doumentUpload',
|
184 |
'Braintree\Plan' => 'plan',
|
185 |
'Braintree_Plan' => 'plan',
|
186 |
'Braintree\PlanGateway' => 'plan',
|
209 |
'Braintree_PayPalAccount' => 'paypalAccount',
|
210 |
'Braintree\PayPalAccountGateway' => 'paypalAccount',
|
211 |
'Braintree_PayPalAccountGateway' => 'paypalAccount',
|
212 |
+
'Braintree\UsBankAccountVerification' => 'usBankAccountVerification',
|
213 |
+
'Braintree_UsBankAccountVerification' => 'usBankAccountVerification',
|
214 |
];
|
215 |
|
216 |
return $classNamesToResponseKeys[$name];
|
226 |
$responseKeysToClassNames = [
|
227 |
'creditCard' => 'Braintree\CreditCard',
|
228 |
'customer' => 'Braintree\Customer',
|
229 |
+
'dispute' => 'Braintree\Dispute',
|
230 |
+
'documentUpload' => 'Braintree\DocumentUpload',
|
231 |
'subscription' => 'Braintree\Subscription',
|
232 |
'transaction' => 'Braintree\Transaction',
|
233 |
'verification' => 'Braintree\CreditCardVerification',
|
252 |
*/
|
253 |
public static function delimiterToCamelCase($string, $delimiter = '[\-\_]')
|
254 |
{
|
|
|
|
|
|
|
255 |
static $callback = null;
|
256 |
if ($callback === null) {
|
257 |
+
$callback = function ($matches) {
|
258 |
+
return strtoupper($matches[1]);
|
259 |
+
};
|
260 |
}
|
261 |
|
262 |
return preg_replace_callback('/' . $delimiter . '(\w)/', $callback, $string);
|
lib/braintree/lib/Braintree/VenmoAccount.php
CHANGED
@@ -11,15 +11,15 @@ namespace Braintree;
|
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*
|
16 |
-
* @property-read
|
17 |
-
* @property-read string $default
|
18 |
-
* @property-read string $updatedAt
|
19 |
* @property-read string $customerId
|
|
|
|
|
20 |
* @property-read string $sourceDescription
|
|
|
21 |
* @property-read string $token
|
22 |
-
* @property-read
|
23 |
* @property-read string $username
|
24 |
* @property-read string $venmoUserId
|
25 |
*/
|
11 |
*
|
12 |
* @package Braintree
|
13 |
* @category Resources
|
|
|
14 |
*
|
15 |
+
* @property-read \DateTime $createdAt
|
|
|
|
|
16 |
* @property-read string $customerId
|
17 |
+
* @property-read boolean $default
|
18 |
+
* @property-read string $imageUrl
|
19 |
* @property-read string $sourceDescription
|
20 |
+
* @property-read \Braintree\Subscription[] $subscriptions
|
21 |
* @property-read string $token
|
22 |
+
* @property-read \DateTime $updatedAt
|
23 |
* @property-read string $username
|
24 |
* @property-read string $venmoUserId
|
25 |
*/
|
lib/braintree/lib/Braintree/Version.php
CHANGED
@@ -4,8 +4,6 @@ namespace Braintree;
|
|
4 |
/**
|
5 |
* Braintree Library Version
|
6 |
* stores version information about the Braintree library
|
7 |
-
*
|
8 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
9 |
*/
|
10 |
class Version
|
11 |
{
|
@@ -13,7 +11,7 @@ class Version
|
|
13 |
* class constants
|
14 |
*/
|
15 |
const MAJOR = 3;
|
16 |
-
const MINOR =
|
17 |
const TINY = 0;
|
18 |
|
19 |
/**
|
4 |
/**
|
5 |
* Braintree Library Version
|
6 |
* stores version information about the Braintree library
|
|
|
|
|
7 |
*/
|
8 |
class Version
|
9 |
{
|
11 |
* class constants
|
12 |
*/
|
13 |
const MAJOR = 3;
|
14 |
+
const MINOR = 40;
|
15 |
const TINY = 0;
|
16 |
|
17 |
/**
|
lib/braintree/lib/Braintree/VisaCheckoutCard.php
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Braintree VisaCheckoutCard module
|
6 |
+
* Creates and manages Braintree VisaCheckoutCards
|
7 |
+
*
|
8 |
+
* <b>== More information ==</b>
|
9 |
+
*
|
10 |
+
* For more detailed information on CreditCard verifications, see {@link https://developers.braintreepayments.com/reference/response/credit-card-verification/php https://developers.braintreepayments.com/reference/response/credit-card-verification/php}
|
11 |
+
*
|
12 |
+
* @package Braintree
|
13 |
+
* @category Resources
|
14 |
+
*
|
15 |
+
* @property-read \Braintree\Address $billingAddress
|
16 |
+
* @property-read string $bin
|
17 |
+
* @property-read string $callId
|
18 |
+
* @property-read string $cardType
|
19 |
+
* @property-read string $cardholderName
|
20 |
+
* @property-read string $commercial
|
21 |
+
* @property-read string $countryOfIssuance
|
22 |
+
* @property-read \DateTime $createdAt
|
23 |
+
* @property-read string $customerId
|
24 |
+
* @property-read string $customerLocation
|
25 |
+
* @property-read string $debit
|
26 |
+
* @property-read boolean $default
|
27 |
+
* @property-read string $durbinRegulated
|
28 |
+
* @property-read string $expirationDate
|
29 |
+
* @property-read string $expirationMonth
|
30 |
+
* @property-read string $expirationYear
|
31 |
+
* @property-read boolean $expired
|
32 |
+
* @property-read string $healthcare
|
33 |
+
* @property-read string $imageUrl
|
34 |
+
* @property-read string $issuingBank
|
35 |
+
* @property-read string $last4
|
36 |
+
* @property-read string $maskedNumber
|
37 |
+
* @property-read string $payroll
|
38 |
+
* @property-read string $prepaid
|
39 |
+
* @property-read string $productId
|
40 |
+
* @property-read \Braintree\Subscription[] $subscriptions
|
41 |
+
* @property-read string $token
|
42 |
+
* @property-read string $uniqueNumberIdentifier
|
43 |
+
* @property-read \DateTime $updatedAt
|
44 |
+
*/
|
45 |
+
class VisaCheckoutCard extends Base
|
46 |
+
{
|
47 |
+
/* instance methods */
|
48 |
+
/**
|
49 |
+
* returns false if default is null or false
|
50 |
+
*
|
51 |
+
* @return boolean
|
52 |
+
*/
|
53 |
+
public function isDefault()
|
54 |
+
{
|
55 |
+
return $this->default;
|
56 |
+
}
|
57 |
+
|
58 |
+
/**
|
59 |
+
* checks whether the card is expired based on the current date
|
60 |
+
*
|
61 |
+
* @return boolean
|
62 |
+
*/
|
63 |
+
public function isExpired()
|
64 |
+
{
|
65 |
+
return $this->expired;
|
66 |
+
}
|
67 |
+
|
68 |
+
/**
|
69 |
+
* sets instance properties from an array of values
|
70 |
+
*
|
71 |
+
* @access protected
|
72 |
+
* @param array $creditCardAttribs array of creditcard data
|
73 |
+
* @return void
|
74 |
+
*/
|
75 |
+
protected function _initialize($creditCardAttribs)
|
76 |
+
{
|
77 |
+
// set the attributes
|
78 |
+
$this->_attributes = $creditCardAttribs;
|
79 |
+
|
80 |
+
// map each address into its own object
|
81 |
+
$billingAddress = isset($creditCardAttribs['billingAddress']) ?
|
82 |
+
Address::factory($creditCardAttribs['billingAddress']) :
|
83 |
+
null;
|
84 |
+
|
85 |
+
$subscriptionArray = [];
|
86 |
+
if (isset($creditCardAttribs['subscriptions'])) {
|
87 |
+
foreach ($creditCardAttribs['subscriptions'] AS $subscription) {
|
88 |
+
$subscriptionArray[] = Subscription::factory($subscription);
|
89 |
+
}
|
90 |
+
}
|
91 |
+
|
92 |
+
$this->_set('subscriptions', $subscriptionArray);
|
93 |
+
$this->_set('billingAddress', $billingAddress);
|
94 |
+
$this->_set('expirationDate', $this->expirationMonth . '/' . $this->expirationYear);
|
95 |
+
$this->_set('maskedNumber', $this->bin . '******' . $this->last4);
|
96 |
+
|
97 |
+
if(isset($creditCardAttribs['verifications']) && count($creditCardAttribs['verifications']) > 0) {
|
98 |
+
$verifications = $creditCardAttribs['verifications'];
|
99 |
+
usort($verifications, [$this, '_compareCreatedAtOnVerifications']);
|
100 |
+
|
101 |
+
$this->_set('verification', CreditCardVerification::factory($verifications[0]));
|
102 |
+
}
|
103 |
+
}
|
104 |
+
|
105 |
+
private function _compareCreatedAtOnVerifications($verificationAttrib1, $verificationAttrib2)
|
106 |
+
{
|
107 |
+
return ($verificationAttrib2['createdAt'] < $verificationAttrib1['createdAt']) ? -1 : 1;
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* returns false if comparing object is not a VisaCheckoutCard,
|
112 |
+
* or is a VisaCheckoutCard with a different id
|
113 |
+
*
|
114 |
+
* @param object $otherVisaCheckoutCard customer to compare against
|
115 |
+
* @return boolean
|
116 |
+
*/
|
117 |
+
public function isEqual($otherVisaCheckoutCard)
|
118 |
+
{
|
119 |
+
return !($otherVisaCheckoutCard instanceof self) ? false : $this->token === $otherVisaCheckoutCard->token;
|
120 |
+
}
|
121 |
+
|
122 |
+
/**
|
123 |
+
* create a printable representation of the object as:
|
124 |
+
* ClassName[property=value, property=value]
|
125 |
+
* @return string
|
126 |
+
*/
|
127 |
+
public function __toString()
|
128 |
+
{
|
129 |
+
return __CLASS__ . '[' .
|
130 |
+
Util::attributesToString($this->_attributes) .']';
|
131 |
+
}
|
132 |
+
|
133 |
+
/**
|
134 |
+
* factory method: returns an instance of VisaCheckoutCard
|
135 |
+
* to the requesting method, with populated properties
|
136 |
+
*
|
137 |
+
* @ignore
|
138 |
+
* @return VisaCheckoutCard
|
139 |
+
*/
|
140 |
+
public static function factory($attributes)
|
141 |
+
{
|
142 |
+
$defaultAttributes = [
|
143 |
+
'bin' => '',
|
144 |
+
'expirationMonth' => '',
|
145 |
+
'expirationYear' => '',
|
146 |
+
'last4' => '',
|
147 |
+
];
|
148 |
+
|
149 |
+
$instance = new self();
|
150 |
+
$instance->_initialize(array_merge($defaultAttributes, $attributes));
|
151 |
+
return $instance;
|
152 |
+
}
|
153 |
+
}
|
154 |
+
class_alias('Braintree\VisaCheckoutCard', 'Braintree_VisaCheckoutCard');
|
lib/braintree/lib/Braintree/WebhookNotification.php
CHANGED
@@ -23,32 +23,27 @@ class WebhookNotification extends Base
|
|
23 |
const PARTNER_MERCHANT_CONNECTED = 'partner_merchant_connected';
|
24 |
const PARTNER_MERCHANT_DISCONNECTED = 'partner_merchant_disconnected';
|
25 |
const PARTNER_MERCHANT_DECLINED = 'partner_merchant_declined';
|
|
|
26 |
const CHECK = 'check';
|
27 |
const ACCOUNT_UPDATER_DAILY_REPORT = 'account_updater_daily_report';
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
|
|
41 |
}
|
42 |
|
43 |
-
public static function verify($challenge)
|
44 |
-
|
45 |
-
if (!preg_match('/^[a-f0-9]{20,32}$/', $challenge)) {
|
46 |
-
throw new Exception\InvalidChallenge("challenge contains non-hex characters");
|
47 |
-
}
|
48 |
-
Configuration::assertGlobalHasAccessTokenOrKeys();
|
49 |
-
$publicKey = Configuration::publicKey();
|
50 |
-
$digest = Digest::hexDigestSha1(Configuration::privateKey(), $challenge);
|
51 |
-
return "{$publicKey}|{$digest}";
|
52 |
}
|
53 |
|
54 |
public static function factory($attributes)
|
@@ -58,42 +53,14 @@ class WebhookNotification extends Base
|
|
58 |
return $instance;
|
59 |
}
|
60 |
|
61 |
-
private static function _matchingSignature($signaturePairs)
|
62 |
-
{
|
63 |
-
foreach ($signaturePairs as $pair)
|
64 |
-
{
|
65 |
-
$components = preg_split("/\|/", $pair);
|
66 |
-
if ($components[0] == Configuration::publicKey()) {
|
67 |
-
return $components[1];
|
68 |
-
}
|
69 |
-
}
|
70 |
-
|
71 |
-
return null;
|
72 |
-
}
|
73 |
-
|
74 |
-
private static function _payloadMatches($signature, $payload)
|
75 |
-
{
|
76 |
-
$payloadSignature = Digest::hexDigestSha1(Configuration::privateKey(), $payload);
|
77 |
-
return Digest::secureCompare($signature, $payloadSignature);
|
78 |
-
}
|
79 |
-
|
80 |
-
private static function _validateSignature($signatureString, $payload)
|
81 |
-
{
|
82 |
-
$signaturePairs = preg_split("/&/", $signatureString);
|
83 |
-
$signature = self::_matchingSignature($signaturePairs);
|
84 |
-
if (!$signature) {
|
85 |
-
throw new Exception\InvalidSignature("no matching public key");
|
86 |
-
}
|
87 |
-
|
88 |
-
if (!(self::_payloadMatches($signature, $payload) || self::_payloadMatches($signature, $payload . "\n"))) {
|
89 |
-
throw new Exception\InvalidSignature("signature does not match payload - one has been modified");
|
90 |
-
}
|
91 |
-
}
|
92 |
-
|
93 |
protected function _initialize($attributes)
|
94 |
{
|
95 |
$this->_attributes = $attributes;
|
96 |
|
|
|
|
|
|
|
|
|
97 |
if (isset($attributes['subject']['apiErrorResponse'])) {
|
98 |
$wrapperNode = $attributes['subject']['apiErrorResponse'];
|
99 |
} else {
|
@@ -120,6 +87,18 @@ class WebhookNotification extends Base
|
|
120 |
$this->_set('partnerMerchant', PartnerMerchant::factory($wrapperNode['partnerMerchant']));
|
121 |
}
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
if (isset($wrapperNode['dispute'])) {
|
124 |
$this->_set('dispute', Dispute::factory($wrapperNode['dispute']));
|
125 |
}
|
@@ -128,6 +107,22 @@ class WebhookNotification extends Base
|
|
128 |
$this->_set('accountUpdaterDailyReport', AccountUpdaterDailyReport::factory($wrapperNode['accountUpdaterDailyReport']));
|
129 |
}
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
if (isset($wrapperNode['errors'])) {
|
132 |
$this->_set('errors', new Error\ValidationErrorCollection($wrapperNode['errors']));
|
133 |
$this->_set('message', $wrapperNode['message']);
|
23 |
const PARTNER_MERCHANT_CONNECTED = 'partner_merchant_connected';
|
24 |
const PARTNER_MERCHANT_DISCONNECTED = 'partner_merchant_disconnected';
|
25 |
const PARTNER_MERCHANT_DECLINED = 'partner_merchant_declined';
|
26 |
+
const OAUTH_ACCESS_REVOKED = 'oauth_access_revoked';
|
27 |
const CHECK = 'check';
|
28 |
const ACCOUNT_UPDATER_DAILY_REPORT = 'account_updater_daily_report';
|
29 |
+
const CONNECTED_MERCHANT_STATUS_TRANSITIONED = 'connected_merchant_status_transitioned';
|
30 |
+
const CONNECTED_MERCHANT_PAYPAL_STATUS_CHANGED = 'connected_merchant_paypal_status_changed';
|
31 |
+
const IDEAL_PAYMENT_COMPLETE = 'ideal_payment_complete';
|
32 |
+
const IDEAL_PAYMENT_FAILED = 'ideal_payment_failed';
|
33 |
+
// NEXT_MAJOR_VERSION remove GRANTED_PAYMENT_INSTRUMENT_UPDATE. Kind is not sent by Braintree Gateway.
|
34 |
+
// Kind will either be GRANTOR_UPDATED_GRANTED_PAYMENT_METHOD or RECIPIENT_UPDATED_GRANTED_PAYMENT_METHOD.
|
35 |
+
const GRANTED_PAYMENT_INSTRUMENT_UPDATE = 'granted_payment_instrument_update';
|
36 |
+
const GRANTOR_UPDATED_GRANTED_PAYMENT_METHOD = 'grantor_updated_granted_payment_method';
|
37 |
+
const RECIPIENT_UPDATED_GRANTED_PAYMENT_METHOD = 'recipient_updated_granted_payment_method';
|
38 |
+
const GRANTED_PAYMENT_METHOD_REVOKED = 'granted_payment_method_revoked';
|
39 |
+
const LOCAL_PAYMENT_COMPLETED = "local_payment_completed";
|
40 |
+
|
41 |
+
public static function parse($signature, $payload) {
|
42 |
+
return Configuration::gateway()->webhookNotification()->parse($signature, $payload);
|
43 |
}
|
44 |
|
45 |
+
public static function verify($challenge) {
|
46 |
+
return Configuration::gateway()->webhookNotification()->verify($challenge);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
48 |
|
49 |
public static function factory($attributes)
|
53 |
return $instance;
|
54 |
}
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
protected function _initialize($attributes)
|
57 |
{
|
58 |
$this->_attributes = $attributes;
|
59 |
|
60 |
+
if (!isset($attributes['sourceMerchantId'])) {
|
61 |
+
$this->_set('sourceMerchantId', null);
|
62 |
+
}
|
63 |
+
|
64 |
if (isset($attributes['subject']['apiErrorResponse'])) {
|
65 |
$wrapperNode = $attributes['subject']['apiErrorResponse'];
|
66 |
} else {
|
87 |
$this->_set('partnerMerchant', PartnerMerchant::factory($wrapperNode['partnerMerchant']));
|
88 |
}
|
89 |
|
90 |
+
if (isset($wrapperNode['oauthApplicationRevocation'])) {
|
91 |
+
$this->_set('oauthAccessRevocation', OAuthAccessRevocation::factory($wrapperNode['oauthApplicationRevocation']));
|
92 |
+
}
|
93 |
+
|
94 |
+
if (isset($wrapperNode['connectedMerchantStatusTransitioned'])) {
|
95 |
+
$this->_set('connectedMerchantStatusTransitioned', ConnectedMerchantStatusTransitioned::factory($wrapperNode['connectedMerchantStatusTransitioned']));
|
96 |
+
}
|
97 |
+
|
98 |
+
if (isset($wrapperNode['connectedMerchantPaypalStatusChanged'])) {
|
99 |
+
$this->_set('connectedMerchantPayPalStatusChanged', ConnectedMerchantPayPalStatusChanged::factory($wrapperNode['connectedMerchantPaypalStatusChanged']));
|
100 |
+
}
|
101 |
+
|
102 |
if (isset($wrapperNode['dispute'])) {
|
103 |
$this->_set('dispute', Dispute::factory($wrapperNode['dispute']));
|
104 |
}
|
107 |
$this->_set('accountUpdaterDailyReport', AccountUpdaterDailyReport::factory($wrapperNode['accountUpdaterDailyReport']));
|
108 |
}
|
109 |
|
110 |
+
if (isset($wrapperNode['idealPayment'])) {
|
111 |
+
$this->_set('idealPayment', IdealPayment::factory($wrapperNode['idealPayment']));
|
112 |
+
}
|
113 |
+
|
114 |
+
if (isset($wrapperNode['grantedPaymentInstrumentUpdate'])) {
|
115 |
+
$this->_set('grantedPaymentInstrumentUpdate', GrantedPaymentInstrumentUpdate::factory($wrapperNode['grantedPaymentInstrumentUpdate']));
|
116 |
+
}
|
117 |
+
|
118 |
+
if ($attributes['kind'] == self::GRANTED_PAYMENT_METHOD_REVOKED) {
|
119 |
+
$this->_set('revokedPaymentMethodMetadata', RevokedPaymentMethodMetadata::factory($wrapperNode));
|
120 |
+
}
|
121 |
+
|
122 |
+
if (isset($wrapperNode['localPayment'])) {
|
123 |
+
$this->_set('localPaymentCompleted', LocalPaymentCompleted::factory($wrapperNode['localPayment']));
|
124 |
+
}
|
125 |
+
|
126 |
if (isset($wrapperNode['errors'])) {
|
127 |
$this->_set('errors', new Error\ValidationErrorCollection($wrapperNode['errors']));
|
128 |
$this->_set('message', $wrapperNode['message']);
|
lib/braintree/lib/Braintree/WebhookNotificationGateway.php
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
class WebhookNotificationGateway
|
5 |
+
{
|
6 |
+
|
7 |
+
public function __construct($gateway)
|
8 |
+
{
|
9 |
+
$this->config = $gateway->config;
|
10 |
+
$this->config->assertHasAccessTokenOrKeys();
|
11 |
+
}
|
12 |
+
|
13 |
+
public function parse($signature, $payload)
|
14 |
+
{
|
15 |
+
if (is_null($signature)) {
|
16 |
+
throw new Exception\InvalidSignature("signature cannot be null");
|
17 |
+
}
|
18 |
+
|
19 |
+
if (is_null($payload)) {
|
20 |
+
throw new Exception\InvalidSignature("payload cannot be null");
|
21 |
+
}
|
22 |
+
|
23 |
+
if (preg_match("/[^A-Za-z0-9+=\/\n]/", $payload) === 1) {
|
24 |
+
throw new Exception\InvalidSignature("payload contains illegal characters");
|
25 |
+
}
|
26 |
+
|
27 |
+
self::_validateSignature($signature, $payload);
|
28 |
+
|
29 |
+
$xml = base64_decode($payload);
|
30 |
+
$attributes = Xml::buildArrayFromXml($xml);
|
31 |
+
return WebhookNotification::factory($attributes['notification']);
|
32 |
+
}
|
33 |
+
|
34 |
+
public function verify($challenge)
|
35 |
+
{
|
36 |
+
if (!preg_match('/^[a-f0-9]{20,32}$/', $challenge)) {
|
37 |
+
throw new Exception\InvalidChallenge("challenge contains non-hex characters");
|
38 |
+
}
|
39 |
+
$publicKey = $this->config->getPublicKey();
|
40 |
+
$digest = Digest::hexDigestSha1($this->config->getPrivateKey(), $challenge);
|
41 |
+
return "{$publicKey}|{$digest}";
|
42 |
+
}
|
43 |
+
|
44 |
+
private function _payloadMatches($signature, $payload)
|
45 |
+
{
|
46 |
+
$payloadSignature = Digest::hexDigestSha1($this->config->getPrivateKey(), $payload);
|
47 |
+
return Digest::secureCompare($signature, $payloadSignature);
|
48 |
+
}
|
49 |
+
|
50 |
+
private function _validateSignature($signatureString, $payload)
|
51 |
+
{
|
52 |
+
$signaturePairs = preg_split("/&/", $signatureString);
|
53 |
+
$signature = self::_matchingSignature($signaturePairs);
|
54 |
+
if (!$signature) {
|
55 |
+
throw new Exception\InvalidSignature("no matching public key");
|
56 |
+
}
|
57 |
+
|
58 |
+
if (!(self::_payloadMatches($signature, $payload) || self::_payloadMatches($signature, $payload . "\n"))) {
|
59 |
+
throw new Exception\InvalidSignature("signature does not match payload - one has been modified");
|
60 |
+
}
|
61 |
+
}
|
62 |
+
|
63 |
+
private function _matchingSignature($signaturePairs)
|
64 |
+
{
|
65 |
+
foreach ($signaturePairs as $pair)
|
66 |
+
{
|
67 |
+
$components = preg_split("/\|/", $pair);
|
68 |
+
if ($components[0] == $this->config->getPublicKey()) {
|
69 |
+
return $components[1];
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
return null;
|
74 |
+
}
|
75 |
+
}
|
76 |
+
|
77 |
+
class_alias('Braintree\WebhookNotificationGateway', 'Braintree_WebhookNotificationGateway');
|
lib/braintree/lib/Braintree/WebhookTesting.php
CHANGED
@@ -3,389 +3,9 @@ namespace Braintree;
|
|
3 |
|
4 |
class WebhookTesting
|
5 |
{
|
6 |
-
public static function sampleNotification($kind, $id)
|
7 |
{
|
8 |
-
|
9 |
-
$signature = Configuration::publicKey() . "|" . Digest::hexDigestSha1(Configuration::privateKey(), $payload);
|
10 |
-
|
11 |
-
return [
|
12 |
-
'bt_signature' => $signature,
|
13 |
-
'bt_payload' => $payload
|
14 |
-
];
|
15 |
-
}
|
16 |
-
|
17 |
-
private static function _sampleXml($kind, $id)
|
18 |
-
{
|
19 |
-
switch ($kind) {
|
20 |
-
case WebhookNotification::SUB_MERCHANT_ACCOUNT_APPROVED:
|
21 |
-
$subjectXml = self::_merchantAccountApprovedSampleXml($id);
|
22 |
-
break;
|
23 |
-
case WebhookNotification::SUB_MERCHANT_ACCOUNT_DECLINED:
|
24 |
-
$subjectXml = self::_merchantAccountDeclinedSampleXml($id);
|
25 |
-
break;
|
26 |
-
case WebhookNotification::TRANSACTION_DISBURSED:
|
27 |
-
$subjectXml = self::_transactionDisbursedSampleXml($id);
|
28 |
-
break;
|
29 |
-
case WebhookNotification::TRANSACTION_SETTLED:
|
30 |
-
$subjectXml = self::_transactionSettledSampleXml($id);
|
31 |
-
break;
|
32 |
-
case WebhookNotification::TRANSACTION_SETTLEMENT_DECLINED:
|
33 |
-
$subjectXml = self::_transactionSettlementDeclinedSampleXml($id);
|
34 |
-
break;
|
35 |
-
case WebhookNotification::DISBURSEMENT_EXCEPTION:
|
36 |
-
$subjectXml = self::_disbursementExceptionSampleXml($id);
|
37 |
-
break;
|
38 |
-
case WebhookNotification::DISBURSEMENT:
|
39 |
-
$subjectXml = self::_disbursementSampleXml($id);
|
40 |
-
break;
|
41 |
-
case WebhookNotification::PARTNER_MERCHANT_CONNECTED:
|
42 |
-
$subjectXml = self::_partnerMerchantConnectedSampleXml($id);
|
43 |
-
break;
|
44 |
-
case WebhookNotification::PARTNER_MERCHANT_DISCONNECTED:
|
45 |
-
$subjectXml = self::_partnerMerchantDisconnectedSampleXml($id);
|
46 |
-
break;
|
47 |
-
case WebhookNotification::PARTNER_MERCHANT_DECLINED:
|
48 |
-
$subjectXml = self::_partnerMerchantDeclinedSampleXml($id);
|
49 |
-
break;
|
50 |
-
case WebhookNotification::DISPUTE_OPENED:
|
51 |
-
$subjectXml = self::_disputeOpenedSampleXml($id);
|
52 |
-
break;
|
53 |
-
case WebhookNotification::DISPUTE_LOST:
|
54 |
-
$subjectXml = self::_disputeLostSampleXml($id);
|
55 |
-
break;
|
56 |
-
case WebhookNotification::DISPUTE_WON:
|
57 |
-
$subjectXml = self::_disputeWonSampleXml($id);
|
58 |
-
break;
|
59 |
-
case WebhookNotification::SUBSCRIPTION_CHARGED_SUCCESSFULLY:
|
60 |
-
$subjectXml = self::_subscriptionChargedSuccessfullySampleXml($id);
|
61 |
-
break;
|
62 |
-
case WebhookNotification::CHECK:
|
63 |
-
$subjectXml = self::_checkSampleXml();
|
64 |
-
break;
|
65 |
-
case WebhookNotification::ACCOUNT_UPDATER_DAILY_REPORT:
|
66 |
-
$subjectXml = self::_accountUpdaterDailyReportSampleXml($id);
|
67 |
-
break;
|
68 |
-
default:
|
69 |
-
$subjectXml = self::_subscriptionSampleXml($id);
|
70 |
-
break;
|
71 |
-
}
|
72 |
-
$timestamp = self::_timestamp();
|
73 |
-
return "
|
74 |
-
<notification>
|
75 |
-
<timestamp type=\"datetime\">{$timestamp}</timestamp>
|
76 |
-
<kind>{$kind}</kind>
|
77 |
-
<subject>{$subjectXml}</subject>
|
78 |
-
</notification>
|
79 |
-
";
|
80 |
-
}
|
81 |
-
|
82 |
-
private static function _merchantAccountApprovedSampleXml($id)
|
83 |
-
{
|
84 |
-
return "
|
85 |
-
<merchant_account>
|
86 |
-
<id>{$id}</id>
|
87 |
-
<master_merchant_account>
|
88 |
-
<id>master_ma_for_{$id}</id>
|
89 |
-
<status>active</status>
|
90 |
-
</master_merchant_account>
|
91 |
-
<status>active</status>
|
92 |
-
</merchant_account>
|
93 |
-
";
|
94 |
-
}
|
95 |
-
|
96 |
-
private static function _merchantAccountDeclinedSampleXml($id)
|
97 |
-
{
|
98 |
-
return "
|
99 |
-
<api-error-response>
|
100 |
-
<message>Credit score is too low</message>
|
101 |
-
<errors>
|
102 |
-
<errors type=\"array\"/>
|
103 |
-
<merchant-account>
|
104 |
-
<errors type=\"array\">
|
105 |
-
<error>
|
106 |
-
<code>82621</code>
|
107 |
-
<message>Credit score is too low</message>
|
108 |
-
<attribute type=\"symbol\">base</attribute>
|
109 |
-
</error>
|
110 |
-
</errors>
|
111 |
-
</merchant-account>
|
112 |
-
</errors>
|
113 |
-
<merchant-account>
|
114 |
-
<id>{$id}</id>
|
115 |
-
<status>suspended</status>
|
116 |
-
<master-merchant-account>
|
117 |
-
<id>master_ma_for_{$id}</id>
|
118 |
-
<status>suspended</status>
|
119 |
-
</master-merchant-account>
|
120 |
-
</merchant-account>
|
121 |
-
</api-error-response>
|
122 |
-
";
|
123 |
-
}
|
124 |
-
|
125 |
-
private static function _transactionDisbursedSampleXml($id)
|
126 |
-
{
|
127 |
-
return "
|
128 |
-
<transaction>
|
129 |
-
<id>${id}</id>
|
130 |
-
<amount>100</amount>
|
131 |
-
<disbursement-details>
|
132 |
-
<disbursement-date type=\"date\">2013-07-09</disbursement-date>
|
133 |
-
</disbursement-details>
|
134 |
-
</transaction>
|
135 |
-
";
|
136 |
-
}
|
137 |
-
|
138 |
-
private static function _transactionSettledSampleXml($id)
|
139 |
-
{
|
140 |
-
return "
|
141 |
-
<transaction>
|
142 |
-
<id>${id}</id>
|
143 |
-
<status>settled</status>
|
144 |
-
<type>sale</type>
|
145 |
-
<currency-iso-code>USD</currency-iso-code>
|
146 |
-
<amount>100.00</amount>
|
147 |
-
<merchant-account-id>ogaotkivejpfayqfeaimuktty</merchant-account-id>
|
148 |
-
<payment-instrument-type>us_bank_account</payment-instrument-type>
|
149 |
-
<us-bank-account>
|
150 |
-
<routing-number>123456789</routing-number>
|
151 |
-
<last-4>1234</last-4>
|
152 |
-
<account-type>checking</account-type>
|
153 |
-
<account-description>PayPal Checking - 1234</account-description>
|
154 |
-
<account-holder-name>Dan Schulman</account-holder-name>
|
155 |
-
</us-bank-account>
|
156 |
-
</transaction>
|
157 |
-
";
|
158 |
-
}
|
159 |
-
|
160 |
-
private static function _transactionSettlementDeclinedSampleXml($id)
|
161 |
-
{
|
162 |
-
return "
|
163 |
-
<transaction>
|
164 |
-
<id>${id}</id>
|
165 |
-
<status>settlement_declined</status>
|
166 |
-
<type>sale</type>
|
167 |
-
<currency-iso-code>USD</currency-iso-code>
|
168 |
-
<amount>100.00</amount>
|
169 |
-
<merchant-account-id>ogaotkivejpfayqfeaimuktty</merchant-account-id>
|
170 |
-
<payment-instrument-type>us_bank_account</payment-instrument-type>
|
171 |
-
<us-bank-account>
|
172 |
-
<routing-number>123456789</routing-number>
|
173 |
-
<last-4>1234</last-4>
|
174 |
-
<account-type>checking</account-type>
|
175 |
-
<account-description>PayPal Checking - 1234</account-description>
|
176 |
-
<account-holder-name>Dan Schulman</account-holder-name>
|
177 |
-
</us-bank-account>
|
178 |
-
</transaction>
|
179 |
-
";
|
180 |
-
}
|
181 |
-
|
182 |
-
private static function _disbursementExceptionSampleXml($id)
|
183 |
-
{
|
184 |
-
return "
|
185 |
-
<disbursement>
|
186 |
-
<id>${id}</id>
|
187 |
-
<transaction-ids type=\"array\">
|
188 |
-
<item>asdfg</item>
|
189 |
-
<item>qwert</item>
|
190 |
-
</transaction-ids>
|
191 |
-
<success type=\"boolean\">false</success>
|
192 |
-
<retry type=\"boolean\">false</retry>
|
193 |
-
<merchant-account>
|
194 |
-
<id>merchant_account_token</id>
|
195 |
-
<currency-iso-code>USD</currency-iso-code>
|
196 |
-
<sub-merchant-account type=\"boolean\">false</sub-merchant-account>
|
197 |
-
<status>active</status>
|
198 |
-
</merchant-account>
|
199 |
-
<amount>100.00</amount>
|
200 |
-
<disbursement-date type=\"date\">2014-02-10</disbursement-date>
|
201 |
-
<exception-message>bank_rejected</exception-message>
|
202 |
-
<follow-up-action>update_funding_information</follow-up-action>
|
203 |
-
</disbursement>
|
204 |
-
";
|
205 |
-
}
|
206 |
-
|
207 |
-
private static function _disbursementSampleXml($id)
|
208 |
-
{
|
209 |
-
return "
|
210 |
-
<disbursement>
|
211 |
-
<id>${id}</id>
|
212 |
-
<transaction-ids type=\"array\">
|
213 |
-
<item>asdfg</item>
|
214 |
-
<item>qwert</item>
|
215 |
-
</transaction-ids>
|
216 |
-
<success type=\"boolean\">true</success>
|
217 |
-
<retry type=\"boolean\">false</retry>
|
218 |
-
<merchant-account>
|
219 |
-
<id>merchant_account_token</id>
|
220 |
-
<currency-iso-code>USD</currency-iso-code>
|
221 |
-
<sub-merchant-account type=\"boolean\">false</sub-merchant-account>
|
222 |
-
<status>active</status>
|
223 |
-
</merchant-account>
|
224 |
-
<amount>100.00</amount>
|
225 |
-
<disbursement-date type=\"date\">2014-02-10</disbursement-date>
|
226 |
-
<exception-message nil=\"true\"/>
|
227 |
-
<follow-up-action nil=\"true\"/>
|
228 |
-
</disbursement>
|
229 |
-
";
|
230 |
-
}
|
231 |
-
|
232 |
-
private static function _disputeOpenedSampleXml($id)
|
233 |
-
{
|
234 |
-
return "
|
235 |
-
<dispute>
|
236 |
-
<amount>250.00</amount>
|
237 |
-
<currency-iso-code>USD</currency-iso-code>
|
238 |
-
<received-date type=\"date\">2014-03-01</received-date>
|
239 |
-
<reply-by-date type=\"date\">2014-03-21</reply-by-date>
|
240 |
-
<kind>chargeback</kind>
|
241 |
-
<status>open</status>
|
242 |
-
<reason>fraud</reason>
|
243 |
-
<id>${id}</id>
|
244 |
-
<transaction>
|
245 |
-
<id>${id}</id>
|
246 |
-
<amount>250.00</amount>
|
247 |
-
</transaction>
|
248 |
-
<date-opened type=\"date\">2014-03-21</date-opened>
|
249 |
-
</dispute>
|
250 |
-
";
|
251 |
-
}
|
252 |
-
|
253 |
-
private static function _disputeLostSampleXml($id)
|
254 |
-
{
|
255 |
-
return "
|
256 |
-
<dispute>
|
257 |
-
<amount>250.00</amount>
|
258 |
-
<currency-iso-code>USD</currency-iso-code>
|
259 |
-
<received-date type=\"date\">2014-03-01</received-date>
|
260 |
-
<reply-by-date type=\"date\">2014-03-21</reply-by-date>
|
261 |
-
<kind>chargeback</kind>
|
262 |
-
<status>lost</status>
|
263 |
-
<reason>fraud</reason>
|
264 |
-
<id>${id}</id>
|
265 |
-
<transaction>
|
266 |
-
<id>${id}</id>
|
267 |
-
<amount>250.00</amount>
|
268 |
-
<next_billing-date type=\"date\">2020-02-10</next_billing-date>
|
269 |
-
</transaction>
|
270 |
-
<date-opened type=\"date\">2014-03-21</date-opened>
|
271 |
-
</dispute>
|
272 |
-
";
|
273 |
-
}
|
274 |
-
|
275 |
-
private static function _disputeWonSampleXml($id)
|
276 |
-
{
|
277 |
-
return "
|
278 |
-
<dispute>
|
279 |
-
<amount>250.00</amount>
|
280 |
-
<currency-iso-code>USD</currency-iso-code>
|
281 |
-
<received-date type=\"date\">2014-03-01</received-date>
|
282 |
-
<reply-by-date type=\"date\">2014-03-21</reply-by-date>
|
283 |
-
<kind>chargeback</kind>
|
284 |
-
<status>won</status>
|
285 |
-
<reason>fraud</reason>
|
286 |
-
<id>${id}</id>
|
287 |
-
<transaction>
|
288 |
-
<id>${id}</id>
|
289 |
-
<amount>250.00</amount>
|
290 |
-
</transaction>
|
291 |
-
<date-opened type=\"date\">2014-03-21</date-opened>
|
292 |
-
<date-won type=\"date\">2014-03-22</date-won>
|
293 |
-
</dispute>
|
294 |
-
";
|
295 |
-
}
|
296 |
-
|
297 |
-
private static function _subscriptionSampleXml($id)
|
298 |
-
{
|
299 |
-
return "
|
300 |
-
<subscription>
|
301 |
-
<id>{$id}</id>
|
302 |
-
<transactions type=\"array\">
|
303 |
-
</transactions>
|
304 |
-
<add_ons type=\"array\">
|
305 |
-
</add_ons>
|
306 |
-
<discounts type=\"array\">
|
307 |
-
</discounts>
|
308 |
-
</subscription>
|
309 |
-
";
|
310 |
-
}
|
311 |
-
|
312 |
-
private static function _subscriptionChargedSuccessfullySampleXml($id)
|
313 |
-
{
|
314 |
-
return "
|
315 |
-
<subscription>
|
316 |
-
<id>{$id}</id>
|
317 |
-
<billing-period-start-date type=\"date\">2016-03-21</billing-period-start-date>
|
318 |
-
<billing-period-end-date type=\"date\">2017-03-31</billing-period-end-date>
|
319 |
-
<transactions type=\"array\">
|
320 |
-
<transaction>
|
321 |
-
<status>submitted_for_settlement</status>
|
322 |
-
<amount>49.99</amount>
|
323 |
-
</transaction>
|
324 |
-
</transactions>
|
325 |
-
<add_ons type=\"array\">
|
326 |
-
</add_ons>
|
327 |
-
<discounts type=\"array\">
|
328 |
-
</discounts>
|
329 |
-
</subscription>
|
330 |
-
";
|
331 |
-
}
|
332 |
-
|
333 |
-
private static function _checkSampleXml()
|
334 |
-
{
|
335 |
-
return "
|
336 |
-
<check type=\"boolean\">true</check>
|
337 |
-
";
|
338 |
-
}
|
339 |
-
|
340 |
-
private static function _partnerMerchantConnectedSampleXml($id)
|
341 |
-
{
|
342 |
-
return "
|
343 |
-
<partner-merchant>
|
344 |
-
<merchant-public-id>public_id</merchant-public-id>
|
345 |
-
<public-key>public_key</public-key>
|
346 |
-
<private-key>private_key</private-key>
|
347 |
-
<partner-merchant-id>abc123</partner-merchant-id>
|
348 |
-
<client-side-encryption-key>cse_key</client-side-encryption-key>
|
349 |
-
</partner-merchant>
|
350 |
-
";
|
351 |
-
}
|
352 |
-
|
353 |
-
private static function _partnerMerchantDisconnectedSampleXml($id)
|
354 |
-
{
|
355 |
-
return "
|
356 |
-
<partner-merchant>
|
357 |
-
<partner-merchant-id>abc123</partner-merchant-id>
|
358 |
-
</partner-merchant>
|
359 |
-
";
|
360 |
-
}
|
361 |
-
|
362 |
-
private static function _partnerMerchantDeclinedSampleXml($id)
|
363 |
-
{
|
364 |
-
return "
|
365 |
-
<partner-merchant>
|
366 |
-
<partner-merchant-id>abc123</partner-merchant-id>
|
367 |
-
</partner-merchant>
|
368 |
-
";
|
369 |
-
}
|
370 |
-
|
371 |
-
private static function _accountUpdaterDailyReportSampleXml($id)
|
372 |
-
{
|
373 |
-
return "
|
374 |
-
<account-updater-daily-report>
|
375 |
-
<report-date type=\"date\">2016-01-14</report-date>
|
376 |
-
<report-url>link-to-csv-report</report-url>
|
377 |
-
</account-updater-daily-report>
|
378 |
-
";
|
379 |
-
}
|
380 |
-
|
381 |
-
private static function _timestamp()
|
382 |
-
{
|
383 |
-
$originalZone = date_default_timezone_get();
|
384 |
-
date_default_timezone_set('UTC');
|
385 |
-
$timestamp = strftime('%Y-%m-%dT%TZ');
|
386 |
-
date_default_timezone_set($originalZone);
|
387 |
-
|
388 |
-
return $timestamp;
|
389 |
}
|
390 |
}
|
391 |
class_alias('Braintree\WebhookTesting', 'Braintree_WebhookTesting');
|
3 |
|
4 |
class WebhookTesting
|
5 |
{
|
6 |
+
public static function sampleNotification($kind, $id, $sourceMerchantId = null)
|
7 |
{
|
8 |
+
return Configuration::gateway()->webhookTesting()->sampleNotification($kind, $id, $sourceMerchantId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
}
|
11 |
class_alias('Braintree\WebhookTesting', 'Braintree_WebhookTesting');
|
lib/braintree/lib/Braintree/WebhookTestingGateway.php
ADDED
@@ -0,0 +1,560 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Braintree;
|
3 |
+
|
4 |
+
class WebhookTestingGateway
|
5 |
+
{
|
6 |
+
|
7 |
+
public function __construct($gateway)
|
8 |
+
{
|
9 |
+
$this->config = $gateway->config;
|
10 |
+
$this->config->assertHasAccessTokenOrKeys();
|
11 |
+
}
|
12 |
+
|
13 |
+
public function sampleNotification($kind, $id, $sourceMerchantId = null)
|
14 |
+
{
|
15 |
+
$xml = self::_sampleXml($kind, $id, $sourceMerchantId);
|
16 |
+
$payload = base64_encode($xml) . "\n";
|
17 |
+
$signature = $this->config->getPublicKey() . "|" . Digest::hexDigestSha1($this->config->getPrivateKey(), $payload);
|
18 |
+
|
19 |
+
return [
|
20 |
+
'bt_signature' => $signature,
|
21 |
+
'bt_payload' => $payload
|
22 |
+
];
|
23 |
+
}
|
24 |
+
|
25 |
+
private static function _sampleXml($kind, $id, $sourceMerchantId)
|
26 |
+
{
|
27 |
+
switch ($kind) {
|
28 |
+
case WebhookNotification::SUB_MERCHANT_ACCOUNT_APPROVED:
|
29 |
+
$subjectXml = self::_merchantAccountApprovedSampleXml($id);
|
30 |
+
break;
|
31 |
+
case WebhookNotification::SUB_MERCHANT_ACCOUNT_DECLINED:
|
32 |
+
$subjectXml = self::_merchantAccountDeclinedSampleXml($id);
|
33 |
+
break;
|
34 |
+
case WebhookNotification::TRANSACTION_DISBURSED:
|
35 |
+
$subjectXml = self::_transactionDisbursedSampleXml($id);
|
36 |
+
break;
|
37 |
+
case WebhookNotification::TRANSACTION_SETTLED:
|
38 |
+
$subjectXml = self::_transactionSettledSampleXml($id);
|
39 |
+
break;
|
40 |
+
case WebhookNotification::TRANSACTION_SETTLEMENT_DECLINED:
|
41 |
+
$subjectXml = self::_transactionSettlementDeclinedSampleXml($id);
|
42 |
+
break;
|
43 |
+
case WebhookNotification::DISBURSEMENT_EXCEPTION:
|
44 |
+
$subjectXml = self::_disbursementExceptionSampleXml($id);
|
45 |
+
break;
|
46 |
+
case WebhookNotification::DISBURSEMENT:
|
47 |
+
$subjectXml = self::_disbursementSampleXml($id);
|
48 |
+
break;
|
49 |
+
case WebhookNotification::PARTNER_MERCHANT_CONNECTED:
|
50 |
+
$subjectXml = self::_partnerMerchantConnectedSampleXml($id);
|
51 |
+
break;
|
52 |
+
case WebhookNotification::PARTNER_MERCHANT_DISCONNECTED:
|
53 |
+
$subjectXml = self::_partnerMerchantDisconnectedSampleXml($id);
|
54 |
+
break;
|
55 |
+
case WebhookNotification::PARTNER_MERCHANT_DECLINED:
|
56 |
+
$subjectXml = self::_partnerMerchantDeclinedSampleXml($id);
|
57 |
+
break;
|
58 |
+
case WebhookNotification::OAUTH_ACCESS_REVOKED:
|
59 |
+
$subjectXml = self::_oauthAccessRevocationSampleXml($id);
|
60 |
+
break;
|
61 |
+
case WebhookNotification::CONNECTED_MERCHANT_STATUS_TRANSITIONED:
|
62 |
+
$subjectXml = self::_connectedMerchantStatusTransitionedSampleXml($id);
|
63 |
+
break;
|
64 |
+
case WebhookNotification::CONNECTED_MERCHANT_PAYPAL_STATUS_CHANGED:
|
65 |
+
$subjectXml = self::_connectedMerchantPayPalStatusChangedSampleXml($id);
|
66 |
+
break;
|
67 |
+
case WebhookNotification::DISPUTE_OPENED:
|
68 |
+
$subjectXml = self::_disputeOpenedSampleXml($id);
|
69 |
+
break;
|
70 |
+
case WebhookNotification::DISPUTE_LOST:
|
71 |
+
$subjectXml = self::_disputeLostSampleXml($id);
|
72 |
+
break;
|
73 |
+
case WebhookNotification::DISPUTE_WON:
|
74 |
+
$subjectXml = self::_disputeWonSampleXml($id);
|
75 |
+
break;
|
76 |
+
case WebhookNotification::SUBSCRIPTION_CHARGED_SUCCESSFULLY:
|
77 |
+
$subjectXml = self::_subscriptionChargedSuccessfullySampleXml($id);
|
78 |
+
break;
|
79 |
+
case WebhookNotification::SUBSCRIPTION_CHARGED_UNSUCCESSFULLY:
|
80 |
+
$subjectXml = self::_subscriptionChargedUnsuccessfullySampleXml($id);
|
81 |
+
break;
|
82 |
+
case WebhookNotification::CHECK:
|
83 |
+
$subjectXml = self::_checkSampleXml();
|
84 |
+
break;
|
85 |
+
case WebhookNotification::ACCOUNT_UPDATER_DAILY_REPORT:
|
86 |
+
$subjectXml = self::_accountUpdaterDailyReportSampleXml($id);
|
87 |
+
break;
|
88 |
+
case WebhookNotification::IDEAL_PAYMENT_COMPLETE:
|
89 |
+
$subjectXml = self::_idealPaymentCompleteSampleXml($id);
|
90 |
+
break;
|
91 |
+
case WebhookNotification::IDEAL_PAYMENT_FAILED:
|
92 |
+
$subjectXml = self::_idealPaymentFailedSampleXml($id);
|
93 |
+
break;
|
94 |
+
// NEXT_MAJOR_VERSION remove GRANTED_PAYMENT_INSTRUMENT_UPDATE
|
95 |
+
case WebhookNotification::GRANTED_PAYMENT_INSTRUMENT_UPDATE:
|
96 |
+
$subjectXml = self::_grantedPaymentInstrumentUpdateSampleXml();
|
97 |
+
break;
|
98 |
+
case WebhookNotification::GRANTOR_UPDATED_GRANTED_PAYMENT_METHOD:
|
99 |
+
$subjectXml = self::_grantedPaymentInstrumentUpdateSampleXml();
|
100 |
+
break;
|
101 |
+
case WebhookNotification::RECIPIENT_UPDATED_GRANTED_PAYMENT_METHOD:
|
102 |
+
$subjectXml = self::_grantedPaymentInstrumentUpdateSampleXml();
|
103 |
+
break;
|
104 |
+
case WebhookNotification::LOCAL_PAYMENT_COMPLETED:
|
105 |
+
$subjectXml = self::_localPaymentCompletedSampleXml();
|
106 |
+
break;
|
107 |
+
default:
|
108 |
+
$subjectXml = self::_subscriptionSampleXml($id);
|
109 |
+
break;
|
110 |
+
}
|
111 |
+
$timestamp = self::_timestamp();
|
112 |
+
|
113 |
+
$sourceMerchantIdXml = '';
|
114 |
+
if (!is_null($sourceMerchantId)) {
|
115 |
+
$sourceMerchantIdXml = "<source-merchant-id>{$sourceMerchantId}</source-merchant-id>";
|
116 |
+
}
|
117 |
+
|
118 |
+
return "
|
119 |
+
<notification>
|
120 |
+
<timestamp type=\"datetime\">{$timestamp}</timestamp>
|
121 |
+
<kind>{$kind}</kind>
|
122 |
+
{$sourceMerchantIdXml}
|
123 |
+
<subject>{$subjectXml}</subject>
|
124 |
+
</notification>
|
125 |
+
";
|
126 |
+
}
|
127 |
+
|
128 |
+
private static function _merchantAccountApprovedSampleXml($id)
|
129 |
+
{
|
130 |
+
return "
|
131 |
+
<merchant_account>
|
132 |
+
<id>{$id}</id>
|
133 |
+
<master_merchant_account>
|
134 |
+
<id>master_ma_for_{$id}</id>
|
135 |
+
<status>active</status>
|
136 |
+
</master_merchant_account>
|
137 |
+
<status>active</status>
|
138 |
+
</merchant_account>
|
139 |
+
";
|
140 |
+
}
|
141 |
+
|
142 |
+
private static function _merchantAccountDeclinedSampleXml($id)
|
143 |
+
{
|
144 |
+
return "
|
145 |
+
<api-error-response>
|
146 |
+
<message>Credit score is too low</message>
|
147 |
+
<errors>
|
148 |
+
<errors type=\"array\"/>
|
149 |
+
<merchant-account>
|
150 |
+
<errors type=\"array\">
|
151 |
+
<error>
|
152 |
+
<code>82621</code>
|
153 |
+
<message>Credit score is too low</message>
|
154 |
+
<attribute type=\"symbol\">base</attribute>
|
155 |
+
</error>
|
156 |
+
</errors>
|
157 |
+
</merchant-account>
|
158 |
+
</errors>
|
159 |
+
<merchant-account>
|
160 |
+
<id>{$id}</id>
|
161 |
+
<status>suspended</status>
|
162 |
+
<master-merchant-account>
|
163 |
+
<id>master_ma_for_{$id}</id>
|
164 |
+
<status>suspended</status>
|
165 |
+
</master-merchant-account>
|
166 |
+
</merchant-account>
|
167 |
+
</api-error-response>
|
168 |
+
";
|
169 |
+
}
|
170 |
+
|
171 |
+
private static function _transactionDisbursedSampleXml($id)
|
172 |
+
{
|
173 |
+
return "
|
174 |
+
<transaction>
|
175 |
+
<id>${id}</id>
|
176 |
+
<amount>100</amount>
|
177 |
+
<disbursement-details>
|
178 |
+
<disbursement-date type=\"date\">2013-07-09</disbursement-date>
|
179 |
+
</disbursement-details>
|
180 |
+
</transaction>
|
181 |
+
";
|
182 |
+
}
|
183 |
+
|
184 |
+
private static function _transactionSettledSampleXml($id)
|
185 |
+
{
|
186 |
+
return "
|
187 |
+
<transaction>
|
188 |
+
<id>${id}</id>
|
189 |
+
<status>settled</status>
|
190 |
+
<type>sale</type>
|
191 |
+
<currency-iso-code>USD</currency-iso-code>
|
192 |
+
<amount>100.00</amount>
|
193 |
+
<merchant-account-id>ogaotkivejpfayqfeaimuktty</merchant-account-id>
|
194 |
+
<payment-instrument-type>us_bank_account</payment-instrument-type>
|
195 |
+
<us-bank-account>
|
196 |
+
<routing-number>123456789</routing-number>
|
197 |
+
<last-4>1234</last-4>
|
198 |
+
<account-type>checking</account-type>
|
199 |
+
<account-holder-name>Dan Schulman</account-holder-name>
|
200 |
+
</us-bank-account>
|
201 |
+
</transaction>
|
202 |
+
";
|
203 |
+
}
|
204 |
+
|
205 |
+
private static function _transactionSettlementDeclinedSampleXml($id)
|
206 |
+
{
|
207 |
+
return "
|
208 |
+
<transaction>
|
209 |
+
<id>${id}</id>
|
210 |
+
<status>settlement_declined</status>
|
211 |
+
<type>sale</type>
|
212 |
+
<currency-iso-code>USD</currency-iso-code>
|
213 |
+
<amount>100.00</amount>
|
214 |
+
<merchant-account-id>ogaotkivejpfayqfeaimuktty</merchant-account-id>
|
215 |
+
<payment-instrument-type>us_bank_account</payment-instrument-type>
|
216 |
+
<us-bank-account>
|
217 |
+
<routing-number>123456789</routing-number>
|
218 |
+
<last-4>1234</last-4>
|
219 |
+
<account-type>checking</account-type>
|
220 |
+
<account-holder-name>Dan Schulman</account-holder-name>
|
221 |
+
</us-bank-account>
|
222 |
+
</transaction>
|
223 |
+
";
|
224 |
+
}
|
225 |
+
|
226 |
+
private static function _disbursementExceptionSampleXml($id)
|
227 |
+
{
|
228 |
+
return "
|
229 |
+
<disbursement>
|
230 |
+
<id>${id}</id>
|
231 |
+
<transaction-ids type=\"array\">
|
232 |
+
<item>asdfg</item>
|
233 |
+
<item>qwert</item>
|
234 |
+
</transaction-ids>
|
235 |
+
<success type=\"boolean\">false</success>
|
236 |
+
<retry type=\"boolean\">false</retry>
|
237 |
+
<merchant-account>
|
238 |
+
<id>merchant_account_token</id>
|
239 |
+
<currency-iso-code>USD</currency-iso-code>
|
240 |
+
<sub-merchant-account type=\"boolean\">false</sub-merchant-account>
|
241 |
+
<status>active</status>
|
242 |
+
</merchant-account>
|
243 |
+
<amount>100.00</amount>
|
244 |
+
<disbursement-date type=\"date\">2014-02-10</disbursement-date>
|
245 |
+
<exception-message>bank_rejected</exception-message>
|
246 |
+
<follow-up-action>update_funding_information</follow-up-action>
|
247 |
+
</disbursement>
|
248 |
+
";
|
249 |
+
}
|
250 |
+
|
251 |
+
private static function _disbursementSampleXml($id)
|
252 |
+
{
|
253 |
+
return "
|
254 |
+
<disbursement>
|
255 |
+
<id>${id}</id>
|
256 |
+
<transaction-ids type=\"array\">
|
257 |
+
<item>asdfg</item>
|
258 |
+
<item>qwert</item>
|
259 |
+
</transaction-ids>
|
260 |
+
<success type=\"boolean\">true</success>
|
261 |
+
<retry type=\"boolean\">false</retry>
|
262 |
+
<merchant-account>
|
263 |
+
<id>merchant_account_token</id>
|
264 |
+
<currency-iso-code>USD</currency-iso-code>
|
265 |
+
<sub-merchant-account type=\"boolean\">false</sub-merchant-account>
|
266 |
+
<status>active</status>
|
267 |
+
</merchant-account>
|
268 |
+
<amount>100.00</amount>
|
269 |
+
<disbursement-date type=\"date\">2014-02-10</disbursement-date>
|
270 |
+
<exception-message nil=\"true\"/>
|
271 |
+
<follow-up-action nil=\"true\"/>
|
272 |
+
</disbursement>
|
273 |
+
";
|
274 |
+
}
|
275 |
+
|
276 |
+
private static function _disputeOpenedSampleXml($id)
|
277 |
+
{
|
278 |
+
return "
|
279 |
+
<dispute>
|
280 |
+
<amount>250.00</amount>
|
281 |
+
<amount-disputed>250.0</amount-disputed>
|
282 |
+
<amount-won>245.00</amount-won>
|
283 |
+
<currency-iso-code>USD</currency-iso-code>
|
284 |
+
<received-date type=\"date\">2014-03-01</received-date>
|
285 |
+
<reply-by-date type=\"date\">2014-03-21</reply-by-date>
|
286 |
+
<kind>chargeback</kind>
|
287 |
+
<status>open</status>
|
288 |
+
<reason>fraud</reason>
|
289 |
+
<id>${id}</id>
|
290 |
+
<transaction>
|
291 |
+
<id>${id}</id>
|
292 |
+
<amount>250.00</amount>
|
293 |
+
</transaction>
|
294 |
+
<date-opened type=\"date\">2014-03-21</date-opened>
|
295 |
+
</dispute>
|
296 |
+
";
|
297 |
+
}
|
298 |
+
|
299 |
+
private static function _disputeLostSampleXml($id)
|
300 |
+
{
|
301 |
+
return "
|
302 |
+
<dispute>
|
303 |
+
<amount>250.00</amount>
|
304 |
+
<amount-disputed>250.0</amount-disputed>
|
305 |
+
<amount-won>245.00</amount-won>
|
306 |
+
<currency-iso-code>USD</currency-iso-code>
|
307 |
+
<received-date type=\"date\">2014-03-01</received-date>
|
308 |
+
<reply-by-date type=\"date\">2014-03-21</reply-by-date>
|
309 |
+
<kind>chargeback</kind>
|
310 |
+
<status>lost</status>
|
311 |
+
<reason>fraud</reason>
|
312 |
+
<id>${id}</id>
|
313 |
+
<transaction>
|
314 |
+
<id>${id}</id>
|
315 |
+
<amount>250.00</amount>
|
316 |
+
<next_billing-date type=\"date\">2020-02-10</next_billing-date>
|
317 |
+
</transaction>
|
318 |
+
<date-opened type=\"date\">2014-03-21</date-opened>
|
319 |
+
</dispute>
|
320 |
+
";
|
321 |
+
}
|
322 |
+
|
323 |
+
private static function _disputeWonSampleXml($id)
|
324 |
+
{
|
325 |
+
return "
|
326 |
+
<dispute>
|
327 |
+
<amount>250.00</amount>
|
328 |
+
<amount-disputed>250.0</amount-disputed>
|
329 |
+
<amount-won>245.00</amount-won>
|
330 |
+
<currency-iso-code>USD</currency-iso-code>
|
331 |
+
<received-date type=\"date\">2014-03-01</received-date>
|
332 |
+
<reply-by-date type=\"date\">2014-03-21</reply-by-date>
|
333 |
+
<kind>chargeback</kind>
|
334 |
+
<status>won</status>
|
335 |
+
<reason>fraud</reason>
|
336 |
+
<id>${id}</id>
|
337 |
+
<transaction>
|
338 |
+
<id>${id}</id>
|
339 |
+
<amount>250.00</amount>
|
340 |
+
</transaction>
|
341 |
+
<date-opened type=\"date\">2014-03-21</date-opened>
|
342 |
+
<date-won type=\"date\">2014-03-22</date-won>
|
343 |
+
</dispute>
|
344 |
+
";
|
345 |
+
}
|
346 |
+
|
347 |
+
private static function _subscriptionSampleXml($id)
|
348 |
+
{
|
349 |
+
return "
|
350 |
+
<subscription>
|
351 |
+
<id>{$id}</id>
|
352 |
+
<transactions type=\"array\">
|
353 |
+
</transactions>
|
354 |
+
<add_ons type=\"array\">
|
355 |
+
</add_ons>
|
356 |
+
<discounts type=\"array\">
|
357 |
+
</discounts>
|
358 |
+
</subscription>
|
359 |
+
";
|
360 |
+
}
|
361 |
+
|
362 |
+
private static function _subscriptionChargedSuccessfullySampleXml($id)
|
363 |
+
{
|
364 |
+
return "
|
365 |
+
<subscription>
|
366 |
+
<id>{$id}</id>
|
367 |
+
<billing-period-start-date type=\"date\">2016-03-21</billing-period-start-date>
|
368 |
+
<billing-period-end-date type=\"date\">2017-03-31</billing-period-end-date>
|
369 |
+
<transactions type=\"array\">
|
370 |
+
<transaction>
|
371 |
+
<id>{$id}</id>
|
372 |
+
<status>submitted_for_settlement</status>
|
373 |
+
<amount>49.99</amount>
|
374 |
+
</transaction>
|
375 |
+
</transactions>
|
376 |
+
<add_ons type=\"array\">
|
377 |
+
</add_ons>
|
378 |
+
<discounts type=\"array\">
|
379 |
+
</discounts>
|
380 |
+
</subscription>
|
381 |
+
";
|
382 |
+
}
|
383 |
+
|
384 |
+
private static function _subscriptionChargedUnsuccessfullySampleXml($id)
|
385 |
+
{
|
386 |
+
return "
|
387 |
+
<subscription>
|
388 |
+
<id>{$id}</id>
|
389 |
+
<billing-period-start-date type=\"date\">2016-03-21</billing-period-start-date>
|
390 |
+
<billing-period-end-date type=\"date\">2017-03-31</billing-period-end-date>
|
391 |
+
<transactions type=\"array\">
|
392 |
+
<transaction>
|
393 |
+
<id>{$id}</id>
|
394 |
+
<status>failed</status>
|
395 |
+
<amount>49.99</amount>
|
396 |
+
</transaction>
|
397 |
+
</transactions>
|
398 |
+
<add_ons type=\"array\">
|
399 |
+
</add_ons>
|
400 |
+
<discounts type=\"array\">
|
401 |
+
</discounts>
|
402 |
+
</subscription>
|
403 |
+
";
|
404 |
+
}
|
405 |
+
|
406 |
+
private static function _checkSampleXml()
|
407 |
+
{
|
408 |
+
return "
|
409 |
+
<check type=\"boolean\">true</check>
|
410 |
+
";
|
411 |
+
}
|
412 |
+
|
413 |
+
private static function _partnerMerchantConnectedSampleXml($id)
|
414 |
+
{
|
415 |
+
return "
|
416 |
+
<partner-merchant>
|
417 |
+
<merchant-public-id>public_id</merchant-public-id>
|
418 |
+
<public-key>public_key</public-key>
|
419 |
+
<private-key>private_key</private-key>
|
420 |
+
<partner-merchant-id>abc123</partner-merchant-id>
|
421 |
+
<client-side-encryption-key>cse_key</client-side-encryption-key>
|
422 |
+
</partner-merchant>
|
423 |
+
";
|
424 |
+
}
|
425 |
+
|
426 |
+
private static function _partnerMerchantDisconnectedSampleXml($id)
|
427 |
+
{
|
428 |
+
return "
|
429 |
+
<partner-merchant>
|
430 |
+
<partner-merchant-id>abc123</partner-merchant-id>
|
431 |
+
</partner-merchant>
|
432 |
+
";
|
433 |
+
}
|
434 |
+
|
435 |
+
private static function _partnerMerchantDeclinedSampleXml($id)
|
436 |
+
{
|
437 |
+
return "
|
438 |
+
<partner-merchant>
|
439 |
+
<partner-merchant-id>abc123</partner-merchant-id>
|
440 |
+
</partner-merchant>
|
441 |
+
";
|
442 |
+
}
|
443 |
+
|
444 |
+
private static function _oauthAccessRevocationSampleXml($id)
|
445 |
+
{
|
446 |
+
return "
|
447 |
+
<oauth-application-revocation>
|
448 |
+
<merchant-id>{$id}</merchant-id>
|
449 |
+
<oauth-application-client-id>oauth_application_client_id</oauth-application-client-id>
|
450 |
+
</oauth-application-revocation>
|
451 |
+
";
|
452 |
+
}
|
453 |
+
|
454 |
+
private static function _accountUpdaterDailyReportSampleXml($id)
|
455 |
+
{
|
456 |
+
return "
|
457 |
+
<account-updater-daily-report>
|
458 |
+
<report-date type=\"date\">2016-01-14</report-date>
|
459 |
+
<report-url>link-to-csv-report</report-url>
|
460 |
+
</account-updater-daily-report>
|
461 |
+
";
|
462 |
+
}
|
463 |
+
|
464 |
+
private static function _connectedMerchantStatusTransitionedSampleXml($id)
|
465 |
+
{
|
466 |
+
return "
|
467 |
+
<connected-merchant-status-transitioned>
|
468 |
+
<merchant-public-id>{$id}</merchant-public-id>
|
469 |
+
<status>new_status</status>
|
470 |
+
<oauth-application-client-id>oauth_application_client_id</oauth-application-client-id>
|
471 |
+
</connected-merchant-status-transitioned>
|
472 |
+
";
|
473 |
+
}
|
474 |
+
|
475 |
+
private static function _connectedMerchantPayPalStatusChangedSampleXml($id)
|
476 |
+
{
|
477 |
+
return "
|
478 |
+
<connected-merchant-paypal-status-changed>
|
479 |
+
<merchant-public-id>{$id}</merchant-public-id>
|
480 |
+
<action>link</action>
|
481 |
+
<oauth-application-client-id>oauth_application_client_id</oauth-application-client-id>
|
482 |
+
</connected-merchant-paypal-status-changed>
|
483 |
+
";
|
484 |
+
}
|
485 |
+
|
486 |
+
private static function _idealPaymentCompleteSampleXml($id)
|
487 |
+
{
|
488 |
+
return "
|
489 |
+
<ideal-payment>
|
490 |
+
<id>{$id}</id>
|
491 |
+
<status>COMPLETE</status>
|
492 |
+
<issuer>ABCISSUER</issuer>
|
493 |
+
<order-id>ORDERABC</order-id>
|
494 |
+
<currency>EUR</currency>
|
495 |
+
<amount>10.00</amount>
|
496 |
+
<created-at>2016-11-29T23:27:34.547Z</created-at>
|
497 |
+
<approval-url>https://example.com</approval-url>
|
498 |
+
<ideal-transaction-id>1234567890</ideal-transaction-id>
|
499 |
+
</ideal-payment>
|
500 |
+
";
|
501 |
+
}
|
502 |
+
|
503 |
+
private static function _idealPaymentFailedSampleXml($id)
|
504 |
+
{
|
505 |
+
return "
|
506 |
+
<ideal-payment>
|
507 |
+
<id>{$id}</id>
|
508 |
+
<status>FAILED</status>
|
509 |
+
<issuer>ABCISSUER</issuer>
|
510 |
+
<order-id>ORDERABC</order-id>
|
511 |
+
<currency>EUR</currency>
|
512 |
+
<amount>10.00</amount>
|
513 |
+
<created-at>2016-11-29T23:27:34.547Z</created-at>
|
514 |
+
<approval-url>https://example.com</approval-url>
|
515 |
+
<ideal-transaction-id>1234567890</ideal-transaction-id>
|
516 |
+
</ideal-payment>
|
517 |
+
";
|
518 |
+
}
|
519 |
+
|
520 |
+
private static function _grantedPaymentInstrumentUpdateSampleXml()
|
521 |
+
{
|
522 |
+
return "
|
523 |
+
<granted-payment-instrument-update>
|
524 |
+
<grant-owner-merchant-id>vczo7jqrpwrsi2px</grant-owner-merchant-id>
|
525 |
+
<grant-recipient-merchant-id>cf0i8wgarszuy6hc</grant-recipient-merchant-id>
|
526 |
+
<payment-method-nonce>
|
527 |
+
<nonce>ee257d98-de40-47e8-96b3-a6954ea7a9a4</nonce>
|
528 |
+
<consumed type='boolean'>false</consumed>
|
529 |
+
<locked type='boolean'>false</locked>
|
530 |
+
</payment-method-nonce>
|
531 |
+
<token>abc123z</token>
|
532 |
+
<updated-fields type='array'>
|
533 |
+
<item>expiration-month</item>
|
534 |
+
<item>expiration-year</item>
|
535 |
+
</updated-fields>
|
536 |
+
</granted-payment-instrument-update>
|
537 |
+
";
|
538 |
+
}
|
539 |
+
|
540 |
+
private static function _localPaymentCompletedSampleXml()
|
541 |
+
{
|
542 |
+
return "
|
543 |
+
<local-payment>
|
544 |
+
<payment-id>a-payment-id</payment-id>
|
545 |
+
<payer-id>a-payer-id</payer-id>
|
546 |
+
</local-payment>
|
547 |
+
";
|
548 |
+
}
|
549 |
+
|
550 |
+
private static function _timestamp()
|
551 |
+
{
|
552 |
+
$originalZone = date_default_timezone_get();
|
553 |
+
date_default_timezone_set('UTC');
|
554 |
+
$timestamp = strftime('%Y-%m-%dT%TZ');
|
555 |
+
date_default_timezone_set($originalZone);
|
556 |
+
|
557 |
+
return $timestamp;
|
558 |
+
}
|
559 |
+
}
|
560 |
+
class_alias('Braintree\WebhookTestingGateway', 'Braintree_WebhookTestingGateway');
|
lib/braintree/lib/Braintree/Xml.php
CHANGED
@@ -5,8 +5,6 @@ namespace Braintree;
|
|
5 |
* Braintree Xml parser and generator
|
6 |
* PHP version 5
|
7 |
* superclass for Braintree XML parsing and generation
|
8 |
-
*
|
9 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
10 |
*/
|
11 |
class Xml
|
12 |
{
|
5 |
* Braintree Xml parser and generator
|
6 |
* PHP version 5
|
7 |
* superclass for Braintree XML parsing and generation
|
|
|
|
|
8 |
*/
|
9 |
class Xml
|
10 |
{
|
lib/braintree/lib/Braintree/Xml/Generator.php
CHANGED
@@ -8,15 +8,11 @@ use Braintree\Util;
|
|
8 |
|
9 |
/**
|
10 |
* PHP version 5
|
11 |
-
*
|
12 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
* Generates XML output from arrays using PHP's
|
17 |
* built-in XMLWriter
|
18 |
-
*
|
19 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
20 |
*/
|
21 |
class Generator
|
22 |
{
|
8 |
|
9 |
/**
|
10 |
* PHP version 5
|
|
|
|
|
11 |
*/
|
12 |
|
13 |
/**
|
14 |
* Generates XML output from arrays using PHP's
|
15 |
* built-in XMLWriter
|
|
|
|
|
16 |
*/
|
17 |
class Generator
|
18 |
{
|
lib/braintree/lib/Braintree/Xml/Parser.php
CHANGED
@@ -10,8 +10,6 @@ use Braintree\Util;
|
|
10 |
|
11 |
/**
|
12 |
* Braintree XML Parser
|
13 |
-
*
|
14 |
-
* @copyright 2015 Braintree, a division of PayPal, Inc.
|
15 |
*/
|
16 |
class Parser
|
17 |
{
|
10 |
|
11 |
/**
|
12 |
* Braintree XML Parser
|
|
|
|
|
13 |
*/
|
14 |
class Parser
|
15 |
{
|
lib/braintree/lib/ssl/api_braintreegateway_com.ca.crt
CHANGED
@@ -189,3 +189,53 @@ PseKUgzbFbS9bZvlxrFUaKnjaZC2mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Un
|
|
189 |
hw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6pXE0zX5IJL4hmXXeXxx12E6nV
|
190 |
5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvmMw==
|
191 |
-----END CERTIFICATE-----
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
hw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6pXE0zX5IJL4hmXXeXxx12E6nV
|
190 |
5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvmMw==
|
191 |
-----END CERTIFICATE-----
|
192 |
+
-----BEGIN CERTIFICATE-----
|
193 |
+
MIIEuTCCA6GgAwIBAgIQQBrEZCGzEyEDDrvkEhrFHTANBgkqhkiG9w0BAQsFADCB
|
194 |
+
vTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
|
195 |
+
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwOCBWZXJp
|
196 |
+
U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MTgwNgYDVQQDEy9W
|
197 |
+
ZXJpU2lnbiBVbml2ZXJzYWwgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAe
|
198 |
+
Fw0wODA0MDIwMDAwMDBaFw0zNzEyMDEyMzU5NTlaMIG9MQswCQYDVQQGEwJVUzEX
|
199 |
+
MBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0
|
200 |
+
IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAyMDA4IFZlcmlTaWduLCBJbmMuIC0gRm9y
|
201 |
+
IGF1dGhvcml6ZWQgdXNlIG9ubHkxODA2BgNVBAMTL1ZlcmlTaWduIFVuaXZlcnNh
|
202 |
+
bCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEF
|
203 |
+
AAOCAQ8AMIIBCgKCAQEAx2E3XrEBNNti1xWb/1hajCMj1mCOkdeQmIN65lgZOIzF
|
204 |
+
9uVkhbSicfvtvbnazU0AtMgtc6XHaXGVHzk8skQHnOgO+k1KxCHfKWGPMiJhgsWH
|
205 |
+
H26MfF8WIFFE0XBPV+rjHOPMee5Y2A7Cs0WTwCznmhcrewA3ekEzeOEz4vMQGn+H
|
206 |
+
LL729fdC4uW/h2KJXwBL38Xd5HVEMkE6HnFuacsLdUYI0crSK5XQz/u5QGtkjFdN
|
207 |
+
/BMReYTtXlT2NJ8IAfMQJQYXStrxHXpma5hgZqTZ79IugvHw7wnqRMkVauIDbjPT
|
208 |
+
rJ9VAMf2CGqUuV/c4DPxhGD5WycRtPwW8rtWaoAljQIDAQABo4GyMIGvMA8GA1Ud
|
209 |
+
EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMG0GCCsGAQUFBwEMBGEwX6FdoFsw
|
210 |
+
WTBXMFUWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFI/l0xqGrI2Oa8PPgGrUSBgs
|
211 |
+
exkuMCUWI2h0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28uZ2lmMB0GA1Ud
|
212 |
+
DgQWBBS2d/ppSEefUxLVwuoHMnYH0ZcHGTANBgkqhkiG9w0BAQsFAAOCAQEASvj4
|
213 |
+
sAPmLGd75JR3Y8xuTPl9Dg3cyLk1uXBPY/ok+myDjEedO2Pzmvl2MpWRsXe8rJq+
|
214 |
+
seQxIcaBlVZaDrHC1LGmWazxY8u4TB1ZkErvkBYoH1quEPuBUDgMbMzxPcP1Y+Oz
|
215 |
+
4yHJJDnp/RVmRvQbEdBNc6N9Rvk97ahfYtTxP/jgdFcrGJ2BtMQo2pSXpXDrrB2+
|
216 |
+
BxHw1dvd5Yzw1TKwg+ZX4o+/vqGqvz0dtdQ46tewXDpPaj+PwGZsY6rp2aQW9IHR
|
217 |
+
lRQOfc2VNNnSj3BzgXucfr2YYdhFh5iQxeuGMMY1v/D/w1WIg0vvBZIGcfK4mJO3
|
218 |
+
7M2CYfE45k+XmCpajQ==
|
219 |
+
-----END CERTIFICATE-----
|
220 |
+
-----BEGIN CERTIFICATE-----
|
221 |
+
MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh
|
222 |
+
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
223 |
+
d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH
|
224 |
+
MjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT
|
225 |
+
MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
|
226 |
+
b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG
|
227 |
+
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI
|
228 |
+
2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx
|
229 |
+
1x7e/dfgy5SDN67sH0NO3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQ
|
230 |
+
q2EGnI/yuum06ZIya7XzV+hdG82MHauVBJVJ8zUtluNJbd134/tJS7SsVQepj5Wz
|
231 |
+
tCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyMUNGPHgm+F6HmIcr9g+UQ
|
232 |
+
vIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQABo0IwQDAP
|
233 |
+
BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV
|
234 |
+
5uNu5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY
|
235 |
+
1Yl9PMWLSn/pvtsrF9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4
|
236 |
+
NeF22d+mQrvHRAiGfzZ0JFrabA0UWTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NG
|
237 |
+
Fdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91
|
238 |
+
8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe
|
239 |
+
pLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl
|
240 |
+
MrY=
|
241 |
+
-----END CERTIFICATE-----
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://simple-membership-plugin.com/
|
|
4 |
Tags: member, members, members only, membership, memberships, register, WordPress membership plugin, content, content protection, paypal, restrict, restrict access, Restrict content, admin, access control, subscription, teaser, protection, profile, login, login page, bbpress, stripe, braintree
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.2
|
7 |
-
Stable tag: 3.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -158,6 +158,19 @@ https://simple-membership-plugin.com/
|
|
158 |
|
159 |
== Changelog ==
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
= 3.8.2 =
|
162 |
- Added membership level and account status filter in the member search function (Members menu of admin dashboard).
|
163 |
- Updated the Polish language translation.
|
4 |
Tags: member, members, members only, membership, memberships, register, WordPress membership plugin, content, content protection, paypal, restrict, restrict access, Restrict content, admin, access control, subscription, teaser, protection, profile, login, login page, bbpress, stripe, braintree
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.2
|
7 |
+
Stable tag: 3.8.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
158 |
|
159 |
== Changelog ==
|
160 |
|
161 |
+
= 3.8.4 =
|
162 |
+
- More strings from the settings admin interface of the plugin are translatable.
|
163 |
+
- The strong password validation error message is now translatable (if you are using this feature).
|
164 |
+
- Minor enhancement in the PayPal IPN handling code.
|
165 |
+
- Fixed an issue with some profile data not updating when password is also updated at the same time.
|
166 |
+
|
167 |
+
= 3.8.3 =
|
168 |
+
- Updated Braintree PHP SDK to prevent deprecation notice when using PHP 7+.
|
169 |
+
- The "Expiry Date" of a member is now shown in the member's profile of the admin dashboard.
|
170 |
+
- Compatibility with Wordfence plugin's captcha feature.
|
171 |
+
- German translation file updated.
|
172 |
+
- Japanese translation file updated.
|
173 |
+
|
174 |
= 3.8.2 =
|
175 |
- Added membership level and account status filter in the member search function (Members menu of admin dashboard).
|
176 |
- Updated the Polish language translation.
|
simple-wp-membership.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Simple WordPress Membership
|
4 |
-
Version: 3.8.
|
5 |
Plugin URI: https://simple-membership-plugin.com/
|
6 |
Author: smp7, wp.insider
|
7 |
Author URI: https://simple-membership-plugin.com/
|
@@ -19,7 +19,7 @@ include_once('classes/class.simple-wp-membership.php');
|
|
19 |
include_once('classes/class.swpm-cronjob.php');
|
20 |
include_once('swpm-compat.php');
|
21 |
|
22 |
-
define('SIMPLE_WP_MEMBERSHIP_VER', '3.8.
|
23 |
define('SIMPLE_WP_MEMBERSHIP_DB_VER', '1.3');
|
24 |
define('SIMPLE_WP_MEMBERSHIP_SITE_HOME_URL', home_url());
|
25 |
define('SIMPLE_WP_MEMBERSHIP_PATH', dirname(__FILE__) . '/');
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Simple WordPress Membership
|
4 |
+
Version: 3.8.4
|
5 |
Plugin URI: https://simple-membership-plugin.com/
|
6 |
Author: smp7, wp.insider
|
7 |
Author URI: https://simple-membership-plugin.com/
|
19 |
include_once('classes/class.swpm-cronjob.php');
|
20 |
include_once('swpm-compat.php');
|
21 |
|
22 |
+
define('SIMPLE_WP_MEMBERSHIP_VER', '3.8.4');
|
23 |
define('SIMPLE_WP_MEMBERSHIP_DB_VER', '1.3');
|
24 |
define('SIMPLE_WP_MEMBERSHIP_SITE_HOME_URL', home_url());
|
25 |
define('SIMPLE_WP_MEMBERSHIP_PATH', dirname(__FILE__) . '/');
|
views/admin_category_list.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
<?php echo SwpmUtils::_('Next, select an existing membership level from the drop-down box below and then select the categories you want to grant access to (for that particular membership level).'); ?>
|
9 |
</p>
|
10 |
<p>
|
11 |
-
<?php echo SwpmUtils::_('Read the '); ?><a href="https://simple-membership-plugin.com/use-category-protection-membership-site/" target="_blank"><?php echo SwpmUtils::_('category protection documentation'); ?></a> to learn more.
|
12 |
</p>
|
13 |
</div>
|
14 |
|
8 |
<?php echo SwpmUtils::_('Next, select an existing membership level from the drop-down box below and then select the categories you want to grant access to (for that particular membership level).'); ?>
|
9 |
</p>
|
10 |
<p>
|
11 |
+
<?php echo SwpmUtils::_('Read the '); ?><a href="https://simple-membership-plugin.com/use-category-protection-membership-site/" target="_blank"><?php echo SwpmUtils::_('category protection documentation'); ?></a> <?php echo SwpmUtils::_('to learn more.'); ?>
|
12 |
</p>
|
13 |
</div>
|
14 |
|
views/admin_edit.php
CHANGED
@@ -75,13 +75,25 @@
|
|
75 |
<th scope="row"><label for="subscr_id"><?php echo SwpmUtils::_('Subscriber ID/Reference') ?> </label></th>
|
76 |
<td><input class="regular-text" name="subscr_id" type="text" id="subscr_id" value="<?php echo esc_attr($subscr_id); ?>" /></td>
|
77 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
<tr class="swpm-admin-edit-last-accessed">
|
79 |
<th scope="row"><label for="last_accessed"><?php echo SwpmUtils::_('Last Accessed Date') ?> </label></th>
|
80 |
<td>
|
81 |
<?php echo esc_attr($last_accessed); ?>
|
82 |
<p class="description indicator-hint"><?php echo SwpmUtils::_('This value gets updated when this member logs into your site.') ?></p>
|
83 |
</td>
|
84 |
-
</tr>
|
85 |
<tr class="swpm-admin-edit-last-accessed-ip">
|
86 |
<th scope="row"><label for="last_accessed_from_ip"><?php echo SwpmUtils::_('Last Accessed From IP') ?> </label></th>
|
87 |
<td>
|
75 |
<th scope="row"><label for="subscr_id"><?php echo SwpmUtils::_('Subscriber ID/Reference') ?> </label></th>
|
76 |
<td><input class="regular-text" name="subscr_id" type="text" id="subscr_id" value="<?php echo esc_attr($subscr_id); ?>" /></td>
|
77 |
</tr>
|
78 |
+
<tr class="swpm-admin-edit-expiry-date">
|
79 |
+
<th scope="row"><label for="member_expiry_date"><?php echo SwpmUtils::_('Expiry Date') ?> </label></th>
|
80 |
+
<td>
|
81 |
+
<?php
|
82 |
+
$member_current_expiry_date = SwpmMemberUtils::get_formatted_expiry_date_by_user_id($member_id);
|
83 |
+
echo esc_attr($member_current_expiry_date);
|
84 |
+
?>
|
85 |
+
<p class="description indicator-hint">
|
86 |
+
<?php echo SwpmUtils::_('This is calculated based on the current membership level assigned to this member and the expiry condition that you have set for that membership level.') ?>
|
87 |
+
</p>
|
88 |
+
</td>
|
89 |
+
</tr>
|
90 |
<tr class="swpm-admin-edit-last-accessed">
|
91 |
<th scope="row"><label for="last_accessed"><?php echo SwpmUtils::_('Last Accessed Date') ?> </label></th>
|
92 |
<td>
|
93 |
<?php echo esc_attr($last_accessed); ?>
|
94 |
<p class="description indicator-hint"><?php echo SwpmUtils::_('This value gets updated when this member logs into your site.') ?></p>
|
95 |
</td>
|
96 |
+
</tr>
|
97 |
<tr class="swpm-admin-edit-last-accessed-ip">
|
98 |
<th scope="row"><label for="last_accessed_from_ip"><?php echo SwpmUtils::_('Last Accessed From IP') ?> </label></th>
|
99 |
<td>
|
views/admin_membership_manage.php
CHANGED
@@ -1,22 +1,23 @@
|
|
1 |
|
2 |
<div id="poststuff"><div id="post-body">
|
3 |
-
|
4 |
-
<div class="swpm-yellow-box">
|
5 |
-
Read the <a href="https://simple-membership-plugin.com/apply-content-protection/" target="_blank">content protection documentation</a> to learn more.
|
6 |
-
</div>
|
7 |
-
<h1>How to Apply Content Protection</h1>
|
8 |
|
9 |
-
<
|
|
|
|
|
|
|
10 |
|
11 |
-
|
12 |
-
<br />2. Scroll down to the section titled 'Simple WP Membership Protection'.
|
13 |
-
<br />3. Select 'Yes, Protect this content' option.
|
14 |
-
<br />4. Check the membership levels that should have access to that page's content.
|
15 |
-
<br />5. Hit the Update/Save Button to save the changes.
|
16 |
|
17 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
<h3><?php echo SwpmUtils::_('Example Content Protection Settings') ?></h3>
|
19 |
|
20 |
<img src="<?php echo SIMPLE_WP_MEMBERSHIP_URL . '/images/simple-membership-content-protection-usage.png'; ?>" alt="Content protection example usage">
|
21 |
|
22 |
-
</div></div><!-- end of poststuff and post-body -->
|
1 |
|
2 |
<div id="poststuff"><div id="post-body">
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
+
<div class="swpm-yellow-box">
|
5 |
+
<?php SwpmUtils::e('Read the '); ?> <a href="https://simple-membership-plugin.com/apply-content-protection/" target="_blank"><?php SwpmUtils::e('content protection documentation'); ?></a> <?php SwpmUtils::e('to learn more.'); ?>
|
6 |
+
</div>
|
7 |
+
<h1><?php SwpmUtils::e('How to Apply Content Protection'); ?></h1>
|
8 |
|
9 |
+
<p><?php SwpmUtils::e('Take the following steps to apply protection to your content so only members can have access to it.'); ?></p>
|
|
|
|
|
|
|
|
|
10 |
|
11 |
+
<ol>
|
12 |
+
<li><?php SwpmUtils::e('Edit the Post or Page that you want to protect in WordPress editor.'); ?></li>
|
13 |
+
<li><?php SwpmUtils::e('Scroll down to the section titled \'Simple WP Membership Protection\'.'); ?></li>
|
14 |
+
<li><?php SwpmUtils::e('Select \'Yes, Protect this content\' option.'); ?></li>
|
15 |
+
<li><?php SwpmUtils::e('Check the membership levels that should have access to that page\'s content.'); ?></li>
|
16 |
+
<li><?php SwpmUtils::e('Hit the Update/Save Button to save the changes.'); ?></li>
|
17 |
+
</ol>
|
18 |
+
<br/>
|
19 |
<h3><?php echo SwpmUtils::_('Example Content Protection Settings') ?></h3>
|
20 |
|
21 |
<img src="<?php echo SIMPLE_WP_MEMBERSHIP_URL . '/images/simple-membership-content-protection-usage.png'; ?>" alt="Content protection example usage">
|
22 |
|
23 |
+
</div></div><!-- end of poststuff and post-body -->
|
views/loggedin.php
CHANGED
@@ -3,19 +3,19 @@ $auth = SwpmAuth::get_instance();
|
|
3 |
?>
|
4 |
<div class="swpm-login-widget-logged">
|
5 |
<div class="swpm-logged-username">
|
6 |
-
<div class="swpm-logged-username-label swpm-logged-label"><?php echo
|
7 |
<div class="swpm-logged-username-value swpm-logged-value"><?php echo $auth->get('user_name'); ?></div>
|
8 |
</div>
|
9 |
<div class="swpm-logged-status">
|
10 |
-
<div class="swpm-logged-status-label swpm-logged-label"><?php echo
|
11 |
-
<div class="swpm-logged-status-value swpm-logged-value"><?php echo ucfirst($auth->get('account_state')); ?></div>
|
12 |
</div>
|
13 |
<div class="swpm-logged-membership">
|
14 |
-
<div class="swpm-logged-membership-label swpm-logged-label"><?php echo
|
15 |
<div class="swpm-logged-membership-value swpm-logged-value"><?php echo $auth->get('alias'); ?></div>
|
16 |
</div>
|
17 |
<div class="swpm-logged-expiry">
|
18 |
-
<div class="swpm-logged-expiry-label swpm-logged-label"><?php echo
|
19 |
<div class="swpm-logged-expiry-value swpm-logged-value"><?php echo $auth->get_expire_date(); ?></div>
|
20 |
</div>
|
21 |
<?php
|
@@ -23,7 +23,7 @@ $auth = SwpmAuth::get_instance();
|
|
23 |
if (!empty($edit_profile_page_url)) {
|
24 |
//Show the edit profile link
|
25 |
echo '<div class="swpm-edit-profile-link">';
|
26 |
-
echo '<a href="'
|
27 |
echo '</div>';
|
28 |
}
|
29 |
?>
|
3 |
?>
|
4 |
<div class="swpm-login-widget-logged">
|
5 |
<div class="swpm-logged-username">
|
6 |
+
<div class="swpm-logged-username-label swpm-logged-label"><?php echo SwpmUtils::_('Logged in as') ?></div>
|
7 |
<div class="swpm-logged-username-value swpm-logged-value"><?php echo $auth->get('user_name'); ?></div>
|
8 |
</div>
|
9 |
<div class="swpm-logged-status">
|
10 |
+
<div class="swpm-logged-status-label swpm-logged-label"><?php echo SwpmUtils::_('Account Status') ?></div>
|
11 |
+
<div class="swpm-logged-status-value swpm-logged-value"><?php echo SwpmUtils::_(ucfirst($auth->get('account_state'))); ?></div>
|
12 |
</div>
|
13 |
<div class="swpm-logged-membership">
|
14 |
+
<div class="swpm-logged-membership-label swpm-logged-label"><?php echo SwpmUtils::_('Membership') ?></div>
|
15 |
<div class="swpm-logged-membership-value swpm-logged-value"><?php echo $auth->get('alias'); ?></div>
|
16 |
</div>
|
17 |
<div class="swpm-logged-expiry">
|
18 |
+
<div class="swpm-logged-expiry-label swpm-logged-label"><?php echo SwpmUtils::_('Account Expiry') ?></div>
|
19 |
<div class="swpm-logged-expiry-value swpm-logged-value"><?php echo $auth->get_expire_date(); ?></div>
|
20 |
</div>
|
21 |
<?php
|
23 |
if (!empty($edit_profile_page_url)) {
|
24 |
//Show the edit profile link
|
25 |
echo '<div class="swpm-edit-profile-link">';
|
26 |
+
echo '<a href="' . $edit_profile_page_url . '">' . SwpmUtils::_("Edit Profile") . '</a>';
|
27 |
echo '</div>';
|
28 |
}
|
29 |
?>
|