www.audiobooks.com
Open in
urlscan Pro
3.81.194.153
Public Scan
Submitted URL: https://billymhaynesttue.waferbooks.club/
Effective URL: https://www.audiobooks.com/signup
Submission: On March 12 via api from VN — Scanned from DE
Effective URL: https://www.audiobooks.com/signup
Submission: On March 12 via api from VN — Scanned from DE
Form analysis
5 forms found in the DOMName: loginForm — POST https://www.audiobooks.com/login/authenticate
<form id="formLogin" name="loginForm" class="form-inline" method="post" action="https://www.audiobooks.com/login/authenticate">
<input type="hidden" name="ajax" value="true">
<div class="clearfix">
<div class="col_half">
<input id="loginEmail" name="loginEmail" aria-label="Email address" type="email" placeholder="Email" value="">
</div>
<div class="col_half col_last">
<input id="loginPassword" aria-label="password" name="loginPassword" type="password" placeholder="Password" value="">
</div>
</div>
<div class="clearfix login-options">
<div class="col_half">
<label class="checkbox">
<input id="loginPersist" name="loginPersist" type="checkbox" value="true"> Remember Me </label>
</div>
<div class="col_half col_last tright">
<p><a href="#" class="forgotPasswordLink">Forgot your password?</a></p>
</div>
</div>
<div class="alert alert-failure hidden"></div>
<p><strong class="alt-msg"><u>OR</u> login with:</strong></p>
<div id="alternativeLogins">
<div class="flexer-logins">
<div class="altlogins__icon-container altlogins__icon-container--apple">
<img class="altlogins__apple" src="//images.audiobooks.com/icons/apple-icon.png">
</div>
<a href="#" class="altlogins__text-apple altlogin-action" data-type="apple">
<div class="altlogins__text-container altlogins__text-container--modal altlogins__text-container--apple">
<span class="label label--apple">Apple</span>
</div>
</a>
</div>
<div class="flexer-logins">
<div class="altlogins__icon-container altlogins__icon-container--google">
<img class="altlogins__google" src="//images.audiobooks.com/icons/google-logo-2.png">
</div>
<a href="#" class="altlogins__text-google altlogin-action" data-type="google">
<div class="altlogins__text-container altlogins__text-container--modal altlogins__text-container--google">
<span class="label label--google">Google</span>
</div>
</a>
</div>
<div class="flexer-logins">
<div class="altlogins__icon-container altlogins__icon-container--facebook">
<img class="altlogins__facebook" src="//images.audiobooks.com/icons/facebook-logo-2.png">
</div>
<a href="#" class="altlogins__text-facebook altlogin-action" data-type="facebook">
<div class="altlogins__text-container altlogins__text-container--modal altlogins__text-container--facebook">
<span class="label label--facebook">Facebook</span>
</div>
</a>
</div>
<div class="flexer-logins">
<div class="altlogins__icon-container altlogins__icon-container--amazon">
<img class="altlogins__amazon" src="//images.audiobooks.com/icons/amazon-logo-2.png">
</div>
<a href="#" class="altlogins__text-amazon altlogin-action" data-type="amazon">
<div class="altlogins__text-container altlogins__text-container--modal altlogins__text-container--amazon">
<span class="label label--amazon">Amazon</span>
</div>
</a>
</div>
</div>
<p>Don't have an account? <a href="/signup">Sign Up For Free!</a></p>
</form>
Name: forgotForm — POST https://www.audiobooks.com//account/reset_password
<form id="formForgot" name="forgotForm" class="ajax form-inline" method="post" action="https://www.audiobooks.com//account/reset_password">
<input type="hidden" name="ajax" value="true">
<div class="clearfix">
<div class="col_two_third">
<input type="email" id="email" aria-label="email address" name="email" placeholder="Account Email">
</div>
</div>
<div>
<p>Please type in your email address in order to receive an email with instructions on how to reset your password.</p>
</div>
</form>
Name: searchForm — GET /search/book
<form class="main-search-form" id="formSearch" name="searchForm" method="get" action="/search/book" onsubmit="return submitSearch()">
<input id="searchText" name="searchText" type="text" value="" aria-label="Search for a great book" placeholder="Search for a great book" autocomplete="off" class="ui-autocomplete-input">
<button class="btn search-btn" type="submit" aria-label="Search"><i class="icon-search" title="Search"></i></button>
</form>
Name: searchForm — GET /search/book
<form class="main-search-form" id="mobileSearch" name="searchForm" method="get" action="/search/book" onsubmit="return submitSearch(true)">
<input id="mobileSearchText" name="searchText" type="text" value="" aria-label="Search for a great book" placeholder="Search for a great book" autocomplete="off">
<button class="btn search-btn" type="submit" aria-label="Submit Search"><i class="icon-search" title="Search"></i></button>
</form>
Name: signupForm — POST /signup/complete
<form id="signupForm" name="signupForm" action="/signup/complete" method="post" novalidate="novalidate">
<input id="numCredits" name="numCredits" type="hidden" value="1">
<input name="isGiftRedemption" type="hidden" value="">
<div class="clearfix account-container">
<div class="">
<div id="accountInfoBox">
<h4 role="heading" aria-level="2">Personal Information</h4>
<input type="hidden" name="phoneNumber" value="9999999999">
<div id="userInformationForm">
<div class="">
<input id="firstName" name="firstName" type="text" placeholder="First Name" value="" aria-label="First Name">
<input id="lastName" name="lastName" type="text" placeholder="Last Name" value="" aria-label="Last Name">
</div>
<input id="email" name="email" type="email" placeholder="Email Address" value="" aria-label="Email Address">
<div class="">
<input id="password" name="password" type="password" placeholder="Password" value="" aria-label="Password">
</div>
</div>
</div>
</div>
</div>
<div class="promo-box">
<div class="box">
<div class="clearfix">
<h4 role="heading" aria-level="2">Have a Gift or Promo Code?</h4>
<div>
<div class="fleft promo-container">
<input id="promoCode" name="promoCode" type="text" placeholder="Gift / Promo Code" value="" aria-label="Gift / Promo Code">
</div>
<div class="fright">
<span id="promoButton">
<a id="applyPromo" class="simple-button nomargin" href="">Apply</a> </span>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<div id="promoStatus" class="alert hide" role="alert"></div>
</div>
<div class="clearfix billing-container">
<div class="">
<div id="billingInfoBox">
<input id="phoneNumber" name="phoneNumber" type="hidden" value="9999999999">
<div id="billingdetails" style="">
<div class="clearfix">
<div class="fleft">
<h4 class="nopadding" role="heading" aria-level="2">Billing Information</h4>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
< !--script type = "text/javascript"-- >
let button = $('#signupBtn, #confirmBtn, #renewBtn, #updateBtn, #buyBtn');
button.prop('disabled', true);
globalHostedFieldsInstance = null;
paymentClick = function(event) {
event.preventDefault();
$('#signupForm').valid();
if ($('#paymentType').val() === 'braintree') {
if (parseInt($('#hasOwnNonce').val()) === 0) {
let state = globalHostedFieldsInstance.getState();
let valid = true;
Object.keys(state.fields).forEach(function(key) {
let error = key + '-error';
if (state.fields[key].isValid) {
$('#' + error).hide();
} else {
$('#' + error).show();
valid = false;
}
});
if (valid) {
globalHostedFieldsInstance.tokenize(function(tokenizeErr, payload) {
if (tokenizeErr) {
console.error(tokenizeErr);
return false;
}
onPaymentMethodReceivedFunction(payload);
});
}
} else {
onPaymentMethodReceivedFunction({});
}
} else {
//other payment methods will set the nonce ahead of time
onPaymentMethodReceivedFunction({});
}
};
onPaymentMethodReceivedFunction = function(nonce) {
// Set the nonce for our form.
if ('nonce' in nonce) {
$("#paymentMethodNonce").val(nonce.nonce);
}
// Trigger the old ABC submission code.
grecaptcha.ready(function() {
grecaptcha.execute('6LeSha8ZAAAAAB5A7-a8qTf7J6QpMkio5pJxuwjV', {
action: 'signup'
}).then(function(token) {
let inputField = document.createElement('input');
inputField.type = 'hidden';
inputField.name = 'goog_token';
inputField.value = token;
let ele = document.getElementById('signupForm');
ele.insertBefore(inputField, ele.childNodes[0]);
paymentBtnClick($('#promoCode'));
});
});
};
cancelAltPaymentOption = function() {
$('#paymentType').val('braintree');
$("#paymentMethodNonce").val('');
$("#hasOwnNonce").val(0);
$('.alt-payment-html').html('');
$('.alt-payment-option-cancelled-show').show();
$('.alt-payment-option-cancelled-hide').hide();
button.prop('disabled', false);
}
validateFieldEvent = function(event) {
let error = event.emittedBy + '-error';
let imageSelector = $('#' + event.emittedBy + '-image');
if (event.fields[event.emittedBy].isValid) {
$('#' + error).hide();
if (event.emittedBy == 'expirationDate') imageSelector.removeClass('field-icon');
imageSelector.removeClass('error');
} else {
if (event.emittedBy == 'expirationDate') imageSelector.addClass('field-icon');
imageSelector.addClass('error');
$('#' + error).show();
}
}
$.getScript("https://js.braintreegateway.com/web/3.60.0/js/client.min.js").done(function(script, textStatus) {
$.getScript("https://js.braintreegateway.com/web/3.60.0/js/hosted-fields.min.js").done(function(script, textStatus) {
$.getScript("https://js.braintreegateway.com/web/3.60.0/js/paypal-checkout.min.js").done(function(script, textStatus) {
$.getScript("https://www.paypalobjects.com/api/checkout.js").done(function(script, textStatus) {
braintree.client.create({
authorization: 'eyJ2ZXJzaW9uIjoyLCJhdXRob3JpemF0aW9uRmluZ2VycHJpbnQiOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpGVXpJMU5pSXNJbXRw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VlZ2F0ZXdheS5jb20iLCJhc3NldHNVcmwiOiJodHRwczovL2NoZWNrb3V0LnBheXBhbC5jb20iLCJkaXJlY3RCYXNlVXJsIjpudWxsLCJlbnZpcm9ubWVudCI6ImxpdmUiLCJicmFpbnRyZWVDbGllbnRJZCI6IkFSS3JZUkRoM0FHWER6VzdzT18zYlNrcS1VMUM3SEdfdVdOQy16NTdMallTRE5VT1NhT3RJYTlxNlZwVyIsIm1lcmNoYW50QWNjb3VudElkIjoiQXVkaW9ib29rc2NvbV9pbnN0YW50IiwiY3VycmVuY3lJc29Db2RlIjoiVVNEIn19'
}, function(clientErr, clientInstance) {
if (clientErr) {
// Handle error in client creation
return;
}
var options = {
client: clientInstance,
styles: {
'input': {
'font-size': '16px'
}
},
fields: {
number: {
selector: '#number',
placeholder: "•••• •••• •••• ••••"
},
expirationDate: {
selector: '#expirationDate',
placeholder: "MM/YY"
},
cvv: {
selector: '#cvv',
placeholder: "•••"
},
}
};
braintree.hostedFields.create(options, function(hostedFieldsErr, hostedFieldsInstance) {
if (hostedFieldsErr) {
// Handle error in Hosted Fields creation
return;
}
hostedFieldsInstance.on('validityChange', function(event) {
validateFieldEvent(event);
});
hostedFieldsInstance.on('focus', function(event) {
let field = event.emittedBy;
let imageSelector = $('#' + field + '-image');
let selector = $('#' + field);
if (imageSelector.prop('class') == '') {
if (field == 'number' || field == 'cvv') {
imageSelector.addClass('field-icon');
}
}
});
hostedFieldsInstance.on('blur', function(event) {
validateFieldEvent(event);
});
hostedFieldsInstance.on('cardTypeChange', function(event) {
let numberOfDots = 0;
event.cards.forEach(function(card) {
numberOfDots += card.code.size
});
if (numberOfDots > 0) {
numberOfDots = Math.floor(numberOfDots / event.cards.length);
} else {
numberOfDots = 3;
}
let placeholder = "";
for (let i = 0; i < numberOfDots; i++) {
placeholder += "•"
}
hostedFieldsInstance.setAttribute({
field: 'cvv',
attribute: 'placeholder',
value: placeholder,
});
$('.cvv-count').html("(" + numberOfDots.toString() + " digits)");
if (!event.fields.number.isPotentiallyValid) {
validateFieldEvent(event);
} else if (event.cards.length === 1) {
$('#number-image').prop('class', 'field-icon ' + event.cards[0].type);
} else {
$('#number-image').prop('class', 'field-icon');
$('#number-error').hide();
}
});
globalHostedFieldsInstance = hostedFieldsInstance;
button.on('click', paymentClick).prop('disabled', false);
$('#billing-loading').hide();
$('#billing-loaded').show();
});
$.getScript("https://js.braintreegateway.com/web/3.60.0/js/google-payment.min.js").done(function(script, textStatus) {
$.getScript("https://pay.google.com/gp/p/js/pay.js").done(function(script, textStatus) {
let paymentsClient = new google.payments.api.PaymentsClient({
environment: "PRODUCTION" // Or 'PRODUCTION'
});
braintree.googlePayment.create({
client: clientInstance, // From braintree.client.create, see below for full example
googlePayVersion: 2,
googleMerchantId: 'BCR2DN6TRO2K7O24' // Optional in sandbox; if set in sandbox, this value must be a valid production Google Merchant ID
}, function(err, googlePaymentInstance) {
paymentsClient.isReadyToPay({
// see https://developers.google.com/pay/api/web/reference/object#IsReadyToPayRequest for all options
apiVersion: 2,
apiVersionMinor: 0,
allowedPaymentMethods: googlePaymentInstance.createPaymentDataRequest().allowedPaymentMethods
}).then(function(isReadyToPay) {
function onGooglePayClick() {
let paymentDataRequest = googlePaymentInstance.createPaymentDataRequest({
transactionInfo: {
currencyCode: 'USD',
totalPriceStatus: 'NOT_CURRENTLY_KNOWN',
}
});
let cardPaymentMethod = paymentDataRequest.allowedPaymentMethods[0];
paymentsClient.loadPaymentData(paymentDataRequest).then(function(paymentData) {
googlePaymentInstance.parseResponse(paymentData, function(err, result) {
if (err) {
// Handle parsing error
}
$("#paymentMethodNonce").val(result.nonce);
$('#paymentType').val('braintree');
$("#hasOwnNonce").val(1);
$(".google-details").html('<span class="card card-' + result.details.cardType.toLowerCase().replace(" ", "-") + '"></span> Ending with ' + result.details.lastFour +
'');
$('.alt-payment-option-cancelled-show').hide();
$('.alt-payment-option-cancelled-hide').hide();
$('#cancelGoogle').show();
});
}).catch(function(err) {
console.error(err);
});
}
if (isReadyToPay.result) {
const googleButton = paymentsClient.createButton({
'buttonType': 'short',
onClick: onGooglePayClick
});
$('#GooglePayButton').html(googleButton);
$('.google-loading-header').hide();
$('.google-header').css('display', 'flex');
} else {
$('.googlepay-component').remove();
}
});
});
});
});
$.getScript("https://js.braintreegateway.com/web/3.60.0/js/apple-pay.min.js", function(script, textStatus) {
if (window.ApplePaySession && ApplePaySession.supportsVersion(3) && ApplePaySession.canMakePayments()) {
braintree.applePay.create({
client: clientInstance
}, function(applePayErr, applePayInstance) {
if (applePayErr) {
console.error('Error creating applePayInstance:', applePayErr);
$('.apple-pay-component').remove();
return;
}
var promise = ApplePaySession.canMakePaymentsWithActiveCard(applePayInstance.merchantIdentifier);
promise.then(function(canMakePaymentsWithActiveCard) {
if (canMakePaymentsWithActiveCard) {
//Show Button
$('.apple-loading-header').hide();
$('.apple-header').css('display', 'flex');
$('#ApplePayButton').on('click', function(event) {
event.preventDefault();
let paymentRequest = applePayInstance.createPaymentRequest({
total: {
label: 'Audiobooks.com',
amount: 0,
},
requiredBillingContactFields: ["postalAddress"]
});
let session = new ApplePaySession(3, paymentRequest);
session.onvalidatemerchant = function(event) {
applePayInstance.performValidation({
validationURL: event.validationURL,
displayName: 'Audiobooks.com'
}, function(err, merchantSession) {
if (err) {
console.error(err);
$('.apple-pay-component').remove();
return;
}
session.completeMerchantValidation(merchantSession);
});
};
session.onpaymentauthorized = function(event) {
applePayInstance.tokenize({
token: event.payment.token
}, function(tokenizeErr, payload) {
if (tokenizeErr) {
console.error('Error tokenizing Apple Pay:', tokenizeErr);
session.completePayment(ApplePaySession.STATUS_FAILURE);
return;
}
// Send payload.nonce to your server.
$("#paymentMethodNonce").val(payload.nonce);
$('#paymentType').val('braintree');
$("#hasOwnNonce").val(1);
$('.alt-payment-option-cancelled-show').hide();
$('.alt-payment-option-cancelled-hide').hide();
$(".apple-details").html('<span class="card-' + payload.details.cardType.toLowerCase() + '"></span> Using your ' + payload.details.cardType + ' Card');
$('#cancelApple').show();
if ('payment' in event && 'billingContact' in event.payment && 'postalCode' in event.payment.billingContact && event.payment.billingContact.postalCode.length > 0) {
$('#mailCode').val(event.payment.billingContact.postalCode).trigger('blur');
}
// After you have transacted with the payload.nonce,
// call `completePayment` to dismiss the Apple Pay sheet.
session.completePayment(ApplePaySession.STATUS_SUCCESS);
});
};
session.begin();
});
} else {
console.error("can't make payments with active card");
$('.apple-pay-component').remove();
}
});
});
} else {
console.error("Apple pay not enabled");
$('.apple-pay-component').remove();
}
});
braintree.paypalCheckout.create({
client: clientInstance
}, function(paypalCheckoutErr, paypalCheckoutInstance) {
// Stop if there was a problem creating PayPal Checkout.
// This could happen if there was a network error or if it's incorrectly
// configured.
if (paypalCheckoutErr) {
console.error('Error creating PayPal Checkout:', paypalCheckoutErr);
return;
}
// Set up PayPal with the checkout.js library
paypal.Button.render({
env: 'production',
payment: function() {
return paypalCheckoutInstance.createPayment({
flow: 'vault'
});
},
onAuthorize: function(data, actions) {
return paypalCheckoutInstance.tokenizePayment(data, function(err, payload) {
if (err) {
console.log(err);
return
}
$("#paymentMethodNonce").val(payload.nonce);
$('#paymentType').val('braintree');
$('.paypal-email').html(payload.details.email);
$("#hasOwnNonce").val(1);
$('.billingContainer').hide();
$('#using-paypal').show();
$('#paypal-button').hide();
button.prop('disabled', false);
$('#walletWidgetDiv').hide();
$('#consentWidgetDiv').hide();
$('.amazon-header').hide();
$('#cancelGoogle').hide();
$('.google-header').hide();
});
},
onCancel: function(data) {
cancelAltPaymentOption();
},
onError: function(err) {
cancelAltPaymentOption();
console.error('checkout.js error', err);
}
}, '#paypal-button-spot');
$('#paypal-loading').hide();
$('#paypal-loaded').css('display', 'flex');
});
});
});
});
});
});
$.getScript("https://static-na.payments-amazon.com/OffAmazonPayments/us/js/Widgets.js").done(function(script, textStatus) {
let isRecurring = true;
let billingAgreementId;
//start the show, header is now loading the component
showButton();
//Loading function
$(window).on('load', function() {
$('.amazon-loading-header').hide();
$('.amazon-header').css('display', 'flex');
});
function showButton() {
let authRequest;
OffAmazonPayments.Button("AmazonPayButton", "A221DIWHHOYPT5", {
type: "PwA",
color: "LightGray",
size: "medium",
useAmazonAddressBook: false,
authorization: function() {
let loginOptions = {
scope: "profile postal_code payments:widget",
popup: true
};
authRequest = amazon.Login.authorize(loginOptions, function(response) {
if (response.error) {
console.log('oauth error ' + response.error);
return;
} else {
let walletParams = {
sellerId: 'A221DIWHHOYPT5',
onReady: function(billingAgreement) {
billingAgreementId = billingAgreement.getAmazonBillingAgreementId();
//If recurring billing
if (isRecurring) {
button.prop('disabled', true);
new OffAmazonPayments.Widgets.Consent({
sellerId: 'A221DIWHHOYPT5',
amazonBillingAgreementId: billingAgreementId,
design: {
designMode: 'responsive'
},
onReady: function(billingAgreementConsentStatus) {
// Called after widget renders
let buyerBillingAgreementConsentStatus = billingAgreementConsentStatus.getConsentStatus();
if (buyerBillingAgreementConsentStatus === "true") {
button.prop('disabled', false);
} else {
button.prop('disabled', true);
}
},
onConsent: function(billingAgreementConsentStatus) {
let buyerBillingAgreementConsentStatus = billingAgreementConsentStatus.getConsentStatus();
if (buyerBillingAgreementConsentStatus === "true") {
button.prop('disabled', false);
} else {
button.prop('disabled', true);
}
},
onError: function(error) {
// your error handling code
}
}).bind("consentWidgetDiv");
}
},
design: {
designMode: 'responsive'
},
onPaymentSelect: function(billingAgreement) {
$('#paymentType').val('amazon');
$('#paymentMethodNonce').val(billingAgreementId);
},
onError: function(error) {
// your error handling code
}
}
if (isRecurring) {
walletParams['agreementType'] = 'BillingAgreement';
}
new OffAmazonPayments.Widgets.Wallet(walletParams).bind("walletWidgetDiv");
//Hide things
cancelAltPaymentOption();
$('#paypal-button').hide();
$('.billingContainer').hide();
$('.amazon-header').hide();
$('#cancelGoogle').hide();
$('.google-header').hide();
//Show things
$('#cancelAmazon').show();
$('#walletWidgetDiv').show();
if (isRecurring) {
$('#consentWidgetDiv').show();
}
}
});
},
onError: function(error) {
// your error handling code.
console.log("The following error occurred: " + error.getErrorCode() + ' - ' + error.getErrorMessage());
}
});
}
});
});
</script>
<style type="text/css">
#walletWidgetDiv {
width: 100%;
height: 228px;
margin-top: 15px;
}
#consentWidgetDiv {
width: 100%;
height: 140px;
}
</style>
<div id="billing-loading" class="billingContainer" style="display: none;">
<img src="//images.audiobooks.com/loading.threebox.gif" alt="loading">
</div>
<div id="billing-loaded" class="billingContainer alt-payment-option-cancelled-show display-none-soft" style="display: block;">
<div class="billingContainer__headline">
<!-- Generic Card -->
<svg width="40" height="24" id="iconCardFront" viewBox="0 0 48 29">
<title>Generic Card</title>
<path d="M46.177 29H1.823C.9 29 0 28.13 0 27.187V1.813C0 .87.9 0 1.823 0h44.354C47.1 0 48 .87 48 1.813v25.375C48 28.13 47.1 29 46.177 29z" style="fill: #FFF"></path>
<path d="M4.8 9.14c0-.427.57-.973 1.067-.973h7.466c.496 0 1.067.546 1.067.972v3.888c0 .425-.57.972-1.067.972H5.867c-.496 0-1.067-.547-1.067-.972v-3.89z" style="fill: #828282"></path>
<rect style="fill: #828282" x="10.8" y="22.167" width="3.6" height="2.333" rx="1.167"></rect>
<rect style="fill: #828282" x="4.8" y="22.167" width="3.6" height="2.333" rx="1.167"></rect>
<path d="M6.55 16.333h34.9c.966 0 1.75.784 1.75 1.75 0 .967-.784 1.75-1.75 1.75H6.55c-.966 0-1.75-.783-1.75-1.75 0-.966.784-1.75 1.75-1.75z" style="fill: #828282"></path>
<ellipse style="fill: #828282" cx="40.2" cy="6.417" rx="3" ry="2.917"></ellipse>
</svg>
<h4 class="head-copy" role="heading" aria-level="2">Pay with card</h4>
<div class="card-logos">
<!-- Visa -->
<svg width="40" height="24" id="icon-visa" viewBox="0 0 40 24">
<title>Visa</title>
<path d="M0 1.927C0 .863.892 0 1.992 0h36.016C39.108 0 40 .863 40 1.927v20.146C40 23.137 39.108 24 38.008 24H1.992C.892 24 0 23.137 0 22.073V1.927z" style="fill: #FFF"></path>
<path d="M0 22.033C0 23.12.892 24 1.992 24h36.016c1.1 0 1.992-.88 1.992-1.967V20.08H0v1.953z" style="fill: #F8B600"></path>
<path
d="M0 3.92h40V1.967C40 .88 39.108 0 38.008 0H1.992C.892 0 0 .88 0 1.967V3.92zM19.596 7.885l-2.11 9.478H14.93l2.11-9.478h2.554zm10.743 6.12l1.343-3.56.773 3.56H30.34zm2.85 3.358h2.36l-2.063-9.478H31.31c-.492 0-.905.274-1.088.695l-3.832 8.783h2.682l.532-1.415h3.276l.31 1.415zm-6.667-3.094c.01-2.502-3.6-2.64-3.577-3.76.008-.338.345-.7 1.083-.793.365-.045 1.373-.08 2.517.425l.448-2.01c-.615-.214-1.405-.42-2.39-.42-2.523 0-4.3 1.288-4.313 3.133-.016 1.364 1.268 2.125 2.234 2.58.996.464 1.33.762 1.325 1.177-.006.636-.793.918-1.526.928-1.285.02-2.03-.333-2.623-.6l-.462 2.08c.598.262 1.7.49 2.84.502 2.682 0 4.437-1.273 4.445-3.243zM15.948 7.884l-4.138 9.478h-2.7L7.076 9.8c-.123-.466-.23-.637-.606-.834-.615-.32-1.63-.62-2.52-.806l.06-.275h4.345c.554 0 1.052.354 1.178.966l1.076 5.486 2.655-6.45h2.683z"
style="fill: #1A1F71"></path>
</svg>
<!-- MasterCard -->
<svg width="40" height="24" id="icon-master-card" viewBox="0 0 40 24">
<title>MasterCard</title>
<path d="M0 1.927C0 .863.892 0 1.992 0h36.016C39.108 0 40 .863 40 1.927v20.146C40 23.137 39.108 24 38.008 24H1.992C.892 24 0 23.137 0 22.073V1.927z" style="fill: #FFF"></path>
<path
d="M11.085 22.2v-1.36c0-.522-.318-.863-.864-.863-.272 0-.568.09-.773.386-.16-.25-.386-.386-.727-.386-.228 0-.455.068-.637.318v-.272h-.478V22.2h.478v-1.202c0-.386.204-.567.523-.567.318 0 .478.205.478.568V22.2h.477v-1.202c0-.386.23-.567.524-.567.32 0 .478.205.478.568V22.2h.523zm7.075-2.177h-.774v-.658h-.478v.658h-.432v.43h.432v.998c0 .5.205.795.75.795.206 0 .433-.068.592-.16l-.136-.407c-.136.09-.296.114-.41.114-.227 0-.318-.137-.318-.363v-.976h.774v-.43zm4.048-.046c-.273 0-.454.136-.568.318v-.272h-.478V22.2h.478v-1.225c0-.363.16-.567.455-.567.09 0 .204.023.295.046l.137-.454c-.09-.023-.228-.023-.32-.023zm-6.118.227c-.228-.16-.546-.227-.888-.227-.546 0-.91.272-.91.703 0 .363.274.567.75.635l.23.023c.25.045.385.113.385.227 0 .16-.182.272-.5.272-.32 0-.57-.113-.728-.227l-.228.363c.25.18.59.272.932.272.637 0 1-.295 1-.703 0-.385-.295-.59-.75-.658l-.227-.022c-.205-.023-.364-.068-.364-.204 0-.16.16-.25.41-.25.272 0 .545.114.682.182l.205-.386zm12.692-.227c-.273 0-.455.136-.568.318v-.272h-.478V22.2h.478v-1.225c0-.363.16-.567.455-.567.09 0 .203.023.294.046L29.1 20c-.09-.023-.227-.023-.318-.023zm-6.096 1.134c0 .66.455 1.135 1.16 1.135.32 0 .546-.068.774-.25l-.228-.385c-.182.136-.364.204-.57.204-.385 0-.658-.272-.658-.703 0-.407.273-.68.66-.702.204 0 .386.068.568.204l.228-.385c-.228-.182-.455-.25-.774-.25-.705 0-1.16.477-1.16 1.134zm4.413 0v-1.087h-.48v.272c-.158-.204-.385-.318-.68-.318-.615 0-1.093.477-1.093 1.134 0 .66.478 1.135 1.092 1.135.317 0 .545-.113.68-.317v.272h.48v-1.09zm-1.753 0c0-.384.25-.702.66-.702.387 0 .66.295.66.703 0 .387-.273.704-.66.704-.41-.022-.66-.317-.66-.703zm-5.71-1.133c-.636 0-1.09.454-1.09 1.134 0 .682.454 1.135 1.114 1.135.32 0 .638-.09.888-.295l-.228-.34c-.18.136-.41.227-.636.227-.296 0-.592-.136-.66-.522h1.615v-.18c.022-.704-.388-1.158-1.002-1.158zm0 .41c.297 0 .502.18.547.52h-1.137c.045-.295.25-.52.59-.52zm11.852.724v-1.95h-.48v1.135c-.158-.204-.385-.318-.68-.318-.615 0-1.093.477-1.093 1.134 0 .66.478 1.135 1.092 1.135.318 0 .545-.113.68-.317v.272h.48v-1.09zm-1.752 0c0-.384.25-.702.66-.702.386 0 .66.295.66.703 0 .387-.274.704-.66.704-.41-.022-.66-.317-.66-.703zm-15.97 0v-1.087h-.476v.272c-.16-.204-.387-.318-.683-.318-.615 0-1.093.477-1.093 1.134 0 .66.478 1.135 1.092 1.135.318 0 .545-.113.682-.317v.272h.477v-1.09zm-1.773 0c0-.384.25-.702.66-.702.386 0 .66.295.66.703 0 .387-.274.704-.66.704-.41-.022-.66-.317-.66-.703z"
style="fill: #000"></path>
<path style="fill: #FF5F00" d="M23.095 3.49H15.93v12.836h7.165"></path>
<path d="M16.382 9.91c0-2.61 1.23-4.922 3.117-6.42-1.39-1.087-3.14-1.745-5.05-1.745-4.528 0-8.19 3.65-8.19 8.164 0 4.51 3.662 8.162 8.19 8.162 1.91 0 3.66-.657 5.05-1.746-1.89-1.474-3.118-3.81-3.118-6.417z" style="fill: #EB001B">
</path>
<path d="M32.76 9.91c0 4.51-3.664 8.162-8.19 8.162-1.91 0-3.662-.657-5.05-1.746 1.91-1.496 3.116-3.81 3.116-6.417 0-2.61-1.228-4.922-3.116-6.42 1.388-1.087 3.14-1.745 5.05-1.745 4.526 0 8.19 3.674 8.19 8.164z" style="fill: #F79E1B">
</path>
</svg>
<!-- AMEX -->
<svg width="40" height="24" id="icon-american-express" viewBox="0 0 40 24">
<title>American Express</title>
<path d="M38.333 24H1.667C.75 24 0 23.28 0 22.4V1.6C0 .72.75 0 1.667 0h36.666C39.25 0 40 .72 40 1.6v20.8c0 .88-.75 1.6-1.667 1.6z" style="fill: #FFF"></path>
<path style="fill: #1478BE" d="M6.26 12.32h2.313L7.415 9.66M27.353 9.977h-3.738v1.23h3.666v1.384h-3.675v1.385h3.821v1.005c.623-.77 1.33-1.466 2.025-2.235l.707-.77c-.934-1.004-1.87-2.08-2.804-3.075v1.077z"></path>
<path
d="M38.25 7h-5.605l-1.328 1.4L30.072 7H16.984l-1.017 2.416L14.877 7h-9.58L1.25 16.5h4.826l.623-1.556h1.4l.623 1.556H29.99l1.327-1.483 1.328 1.483h5.605l-4.36-4.667L38.25 7zm-17.685 8.1h-1.557V9.883L16.673 15.1h-1.33L13.01 9.883l-.084 5.217H9.73l-.623-1.556h-3.27L5.132 15.1H3.42l2.884-6.772h2.42l2.645 6.233V8.33h2.646l2.107 4.51 1.868-4.51h2.575V15.1zm14.727 0h-2.024l-2.024-2.26-2.023 2.26H22.06V8.328H29.53l1.795 2.177 2.024-2.177h2.025L32.26 11.75l3.032 3.35z"
style="fill: #1478BE"></path>
</svg>
<!-- JCB -->
<svg width="40" height="24" id="icon-jcb" viewBox="0 0 40 24">
<title>JCB</title>
<path d="M38.333 24H1.667C.75 24 0 23.28 0 22.4V1.6C0 .72.75 0 1.667 0h36.666C39.25 0 40 .72 40 1.6v20.8c0 .88-.75 1.6-1.667 1.6z" style="fill: #FFF"></path>
<path
d="M33.273 2.01h.013v17.062c-.004 1.078-.513 2.103-1.372 2.746-.63.47-1.366.67-2.14.67-.437 0-4.833.026-4.855 0-.01-.01 0-.07 0-.082v-6.82c0-.04.004-.064.033-.064h5.253c.867 0 1.344-.257 1.692-.61.44-.448.574-1.162.294-1.732-.24-.488-.736-.78-1.244-.913-.158-.04-.32-.068-.483-.083-.01 0-.064 0-.07-.006-.03-.034.023-.04.038-.046.102-.033.215-.042.32-.073.532-.164.993-.547 1.137-1.105.15-.577-.05-1.194-.524-1.552-.34-.257-.768-.376-1.187-.413-.43-.038-4.774-.022-5.21-.022-.072 0-.05-.02-.05-.09V5.63c0-.31.01-.616.073-.92.126-.592.41-1.144.815-1.59.558-.615 1.337-1.01 2.16-1.093.478-.048 4.89-.017 5.305-.017zm-4.06 8.616c.06.272-.01.567-.204.77-.173.176-.407.25-.648.253-.195.003-1.725 0-1.788 0l.003-1.645c.012-.027.02-.018.06-.018.097 0 1.713-.004 1.823.005.232.02.45.12.598.306.076.096.128.208.155.328zm-2.636 2.038h1.944c.242.002.47.063.652.228.226.204.327.515.283.815-.04.263-.194.5-.422.634-.187.112-.39.125-.6.125h-1.857v-1.8z"
style="fill: #53B230"></path>
<path
d="M6.574 13.89c-.06-.03-.06-.018-.07-.06-.006-.026-.005-8.365.003-8.558.04-.95.487-1.857 1.21-2.47.517-.434 1.16-.71 1.83-.778.396-.04.803-.018 1.2-.018.69 0 4.11-.013 4.12 0 .008.008.002 16.758 0 17.074-.003.956-.403 1.878-1.105 2.523-.506.465-1.15.77-1.83.86-.41.056-5.02.032-5.363.032-.066 0-.054.013-.066-.024-.01-.025 0-7 0-7.17.66.178 1.35.28 2.03.348.662.067 1.33.093 1.993.062.93-.044 1.947-.192 2.712-.762.32-.238.574-.553.73-.922.148-.353.2-.736.2-1.117 0-.348.006-3.93-.016-3.942-.023-.014-2.885-.015-2.9.012-.012.022 0 3.87 0 3.95-.003.47-.16.933-.514 1.252-.468.42-1.11.47-1.707.423-.687-.055-1.357-.245-1.993-.508-.157-.065-.312-.135-.466-.208z"
style="fill: #006CB9"></path>
<path
d="M15.95 9.835c-.025.02-.05.04-.072.06V6.05c0-.295-.012-.594.01-.888.12-1.593 1.373-2.923 2.944-3.126.382-.05 5.397-.042 5.41-.026.01.01 0 .062 0 .074v16.957c0 1.304-.725 2.52-1.89 3.1-.504.25-1.045.35-1.605.35-.322 0-4.757.015-4.834 0-.05-.01-.023.01-.035-.02-.007-.022 0-6.548 0-7.44v-.422c.554.48 1.256.75 1.96.908.536.12 1.084.176 1.63.196.537.02 1.076.01 1.61-.037.546-.05 1.088-.136 1.625-.244.137-.028.274-.057.41-.09.033-.006.17-.017.187-.044.013-.02 0-.097 0-.12v-1.324c-.582.292-1.19.525-1.83.652-.778.155-1.64.198-2.385-.123-.752-.326-1.2-1.024-1.274-1.837-.076-.837.173-1.716.883-2.212.736-.513 1.7-.517 2.553-.38.634.1 1.245.305 1.825.58.078.037.154.075.23.113V9.322c0-.02.013-.1 0-.118-.02-.028-.152-.038-.188-.046-.066-.016-.133-.03-.2-.045C22.38 9 21.84 8.908 21.3 8.85c-.533-.06-1.068-.077-1.603-.066-.542.01-1.086.054-1.62.154-.662.125-1.32.337-1.883.716-.085.056-.167.117-.245.18z"
style="fill: #E20138"></path>
</svg>
<!-- Discover -->
<svg width="40" height="24" id="icon-discover" viewBox="0 0 40 24">
<title>Discover</title>
<path d="M38.333 24H1.667C.75 24 0 23.28 0 22.4V1.6C0 .72.75 0 1.667 0h36.666C39.25 0 40 .72 40 1.6v20.8c0 .88-.75 1.6-1.667 1.6z" style="fill: #FFF"></path>
<path d="M38.995 11.75S27.522 20.1 6.5 23.5h31.495c.552 0 1-.448 1-1V11.75z" style="fill: #F48024"></path>
<path
d="M5.332 11.758c-.338.305-.776.438-1.47.438h-.29V8.55h.29c.694 0 1.115.124 1.47.446.37.33.595.844.595 1.372 0 .53-.224 1.06-.595 1.39zM4.077 7.615H2.5v5.515h1.57c.833 0 1.435-.197 1.963-.637.63-.52 1-1.305 1-2.116 0-1.628-1.214-2.762-2.956-2.762zM7.53 13.13h1.074V7.616H7.53M11.227 9.732c-.645-.24-.834-.397-.834-.695 0-.347.338-.61.8-.61.322 0 .587.132.867.446l.562-.737c-.462-.405-1.015-.612-1.618-.612-.975 0-1.718.678-1.718 1.58 0 .76.346 1.15 1.355 1.513.42.148.635.247.743.314.215.14.322.34.322.57 0 .448-.354.78-.834.78-.51 0-.924-.258-1.17-.736l-.695.67c.495.726 1.09 1.05 1.907 1.05 1.116 0 1.9-.745 1.9-1.812 0-.876-.363-1.273-1.585-1.72zM13.15 10.377c0 1.62 1.27 2.877 2.907 2.877.462 0 .858-.09 1.347-.32v-1.267c-.43.43-.81.604-1.297.604-1.082 0-1.85-.785-1.85-1.9 0-1.06.792-1.895 1.8-1.895.512 0 .9.183 1.347.62V7.83c-.472-.24-.86-.34-1.322-.34-1.627 0-2.932 1.283-2.932 2.887zM25.922 11.32l-1.468-3.705H23.28l2.337 5.656h.578l2.38-5.655H27.41M29.06 13.13h3.046v-.934h-1.973v-1.488h1.9v-.934h-1.9V8.55h1.973v-.935H29.06M34.207 10.154h-.314v-1.67h.33c.67 0 1.034.28 1.034.818 0 .554-.364.852-1.05.852zm2.155-.91c0-1.033-.71-1.628-1.95-1.628H32.82v5.514h1.073v-2.215h.14l1.487 2.215h1.32l-1.733-2.323c.81-.165 1.255-.72 1.255-1.563z"
style="fill: #221F20"></path>
<path d="M23.6 10.377c0 1.62-1.31 2.93-2.927 2.93-1.617.002-2.928-1.31-2.928-2.93s1.31-2.932 2.928-2.932c1.618 0 2.928 1.312 2.928 2.932z" style="fill: #F48024"></path>
</svg>
</div>
</div>
<input type="hidden" name="paymentMethodNonce" id="paymentMethodNonce">
<input type="hidden" id="paymentType" name="paymentType" value="braintree">
<input type="hidden" id="hasOwnNonce" name="hasOwnNonce" value="0">
<div class="form-information" style="position: relative;">
<label for="credit-card-number">Card Number</label>
<div id="number" class="card-number-field form-fake-input"><iframe src="https://assets.braintreegateway.com/web/3.60.0/html/hosted-fields-frame.min.html#9cc54352-590a-4ab5-85c7-4d39791417e3" frameborder="0" allowtransparency="true"
scrolling="no" type="number" name="braintree-hosted-field-number" title="Hidden Frame" id="braintree-hosted-field-number" style="border: none; width: 100%; height: 100%; float: left;"></iframe>
<div style="clear: both;"></div>
</div>
<div id="number-image" class=""></div>
<div id="number-error" class="hide"><label class="payment-error">Please enter a valid credit card number</label></div>
<div class="flexer">
<div class="form-information__expiration">
<label for="expirationDate">Expiry Date <span>(MM/YY)</span></label>
<div id="expirationDate" class="expiration-date-field form-fake-input"><iframe src="https://assets.braintreegateway.com/web/3.60.0/html/hosted-fields-frame.min.html#9cc54352-590a-4ab5-85c7-4d39791417e3" frameborder="0"
allowtransparency="true" scrolling="no" type="expirationDate" name="braintree-hosted-field-expirationDate" title="Hidden Frame" id="braintree-hosted-field-expirationDate"
style="border: none; width: 100%; height: 100%; float: left;"></iframe>
<div style="clear: both;"></div>
</div>
<div id="expirationDate-image" class=""></div>
<div id="expirationDate-error" class="hide"><label class="payment-error">Invalid expiry date</label></div>
</div>
<div class="form-information__cvv">
<label for="cvv">CVV <span class="cvv-count">(3 digits)</span></label>
<div id="cvv" class="cvv-field form-fake-input"><iframe src="https://assets.braintreegateway.com/web/3.60.0/html/hosted-fields-frame.min.html#9cc54352-590a-4ab5-85c7-4d39791417e3" frameborder="0" allowtransparency="true"
scrolling="no" type="cvv" name="braintree-hosted-field-cvv" title="Hidden Frame" id="braintree-hosted-field-cvv" style="border: none; width: 100%; height: 100%; float: left;"></iframe>
<div style="clear: both;"></div>
</div>
<div id="cvv-image" class=""></div>
<div id="cvv-error" class="hide"><label class="payment-error">Invalid cvv</label></div>
</div>
</div>
</div>
</div>
<div class="service-header amazon-loading-header" style="display: none;">
<img src="//images.audiobooks.com/loading.threebox.gif" alt="loading">
</div>
<div class="service-header amazon-header alt-payment-option-cancelled-show display-none-soft" style="display: flex;">
<div class="service-logo">
<img class="amazon-logo" alt="Amazon Logo" src="//images.audiobooks.com/icons/amazon-logo-2.png">
</div>
<h4 role="heading" aria-level="2">Pay with Amazon Pay</h4>
<div id="AmazonPayButton" data-treatment="{"treatment":"T15","abtestName":"BUTTON_REBRANDING"}">
<div id="apay-tooltip-display-parent" style="position: relative; display: inline-block"><img class=" amazonpay-button-inner-image" style="cursor:pointer; max-height:45px;" alt="AmazonPay" id="OffAmazonPaymentsWidgets0" tabindex="0"
src="https://d2ldlvi1yef00y.cloudfront.net/default/us/live/lwa/lightgray/medium/PwA.png"><span class="apay-tooltip-display-content" style="position: absolute; top: 50px; z-index: 999; font-family: Arial, Helvetica, sans-serif; max-width: 150px; width: 150px; min-height: 45px; color: white; border-radius: 6px; padding: 10px; border: 1px solid black;
background-color: rgb(47, 55, 61); line-height: normal; text-align: center; font-size: 14px; ">Speed through checkout using the addresses and payment methods saved in your Amazon account</span></div>
<style>
#AmazonPayButton .apay-tooltip-display-content {
display: none;
}
#AmazonPayButton:hover .apay-tooltip-display-content {
display: block;
}
#AmazonPayButton .apay-tooltip-display-content:after {
content: '';
position: absolute;
bottom: 100%;
left: 50%;
margin-left: -10px;
border-width: 9px;
border-style: solid;
border-color: transparent transparent rgb(47, 55, 61) transparent
}
</style>
</div>
</div>
<div id="walletWidgetDiv" class="alt-payment-option-cancelled-hide display-none-soft"></div>
<div id="consentWidgetDiv" class="alt-payment-option-cancelled-hide display-none-soft"></div>
<div id="cancelAmazon" class="alt-payment-option-cancelled-hide display-none-soft">
<a href="" onclick="cancelAltPaymentOption(); return false;" class="view-other-options">
<div class="view-other-options--inner">
<h5>Choose other payment method</h5>
<div class="payment-logos">
<img class="credit-card" alt="Pay with Credit Card" src="//images.audiobooks.com/icons/credit-card-option.png">
<img class="paypal" alt="Pay with PayPal" src="//images.audiobooks.com/icons/paypal-large-logo.png">
<img class="googlepay" alt="Pay with Google Pay" src="//images.audiobooks.com/icons/google-pay-icon.png">
</div>
</div>
</a>
</div>
<div class="service-header google-loading-header googlepay-component" style="display: none;">
<img src="//images.audiobooks.com/loading.threebox.gif" alt="loading">
</div>
<div class="service-header google-header alt-payment-option-cancelled-show googlepay-component display-none-soft" style="display: flex;">
<div class="service-logo">
<img class="google-logo" alt="Google Logo" src="//images.audiobooks.com/icons/google-pay-icon.png">
</div>
<h4 role="heading" aria-level="2">Pay with Google Pay</h4>
<div class="google-play-button" id="GooglePayButton">
<div><button type="button" aria-label="Google Pay" class="gpay-button black short en"></button></div>
</div>
</div>
<div id="cancelGoogle" class="googlepay-component alt-payment-option-cancelled-hide display-none-soft">
<div>Paying with GooglePay <span class="tick">✓</span></div>
<div class="paying-with-button">
<img class="google-logo" alt="Google Logo" src="//images.audiobooks.com/icons/google-pay-icon.png">
<span class="google-details alt-payment-html"> Something about google here </span>
</div>
<a href="" onclick="cancelAltPaymentOption(); return false;" class="view-other-options">
<div class="view-other-options--inner">
<h5>Choose other payment method</h5>
<div class="payment-logos">
<img class="credit-card" alt="Pay with Credit Card" src="//images.audiobooks.com/icons/credit-card-option.png">
<img class="paypal" alt="Pay with PayPal" src="//images.audiobooks.com/icons/paypal-large-logo.png">
<img class="amazon" alt="Pay with Amazon Pay" src="//images.audiobooks.com/icons/amazon-large-logo.png">
</div>
</div>
</a>
</div>
<div id="paypal-button" class="form-information alt-payment-option-cancelled-show">
<div id="paypal-loading" class="service-header paypal-header" style="display: none;">
<img src="//images.audiobooks.com/loading.threebox.gif" alt="loading">
</div>
<div id="paypal-loaded" class="service-header paypal-header display-none-soft" style="display: flex;">
<div class="service-logo">
<img class="paypal-logo" alt="PayPal Logo" src="//images.audiobooks.com/icons/paypal-logo-sm.png">
</div>
<h4 role="heading" aria-level="2">Pay with PayPal</h4>
<div id="paypal-button-spot">
<div id="zoid-paypal-button-422e3e6a00" class="paypal-button paypal-button-context-iframe paypal-button-label-checkout paypal-button-size-small paypal-button-layout-horizontal" data-paypal-smart-button-version="4.0.334"
style="height: 38px;">
<style>
#zoid-paypal-button-422e3e6a00 {
font-size: 0;
width: 100%;
overflow: hidden;
min-width: 75px;
}
#zoid-paypal-button-422e3e6a00.paypal-button-size-responsive {
text-align: center;
}
#zoid-paypal-button-422e3e6a00>.zoid-outlet {
display: inline-block;
min-width: 75px;
max-width: 750px;
position: relative;
}
#zoid-paypal-button-422e3e6a00.paypal-button-layout-vertical>.zoid-outlet {
min-width: 75px;
}
#zoid-paypal-button-422e3e6a00>.zoid-outlet {
width: 150px;
height: 25px;
}
#zoid-paypal-button-422e3e6a00.paypal-button-size-responsive>.zoid-outlet {
width: 100%;
}
#zoid-paypal-button-422e3e6a00>.zoid-outlet>iframe {
min-width: 100%;
max-width: 100%;
width: 75px;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
#zoid-paypal-button-422e3e6a00>.zoid-outlet>iframe.zoid-component-frame {
z-index: 100;
}
#zoid-paypal-button-422e3e6a00>.zoid-outlet>iframe.zoid-prerender-frame {
transition: opacity .2s linear;
z-index: 200;
}
#zoid-paypal-button-422e3e6a00>.zoid-outlet>iframe.zoid-visible {
opacity: 1;
}
#zoid-paypal-button-422e3e6a00>.zoid-outlet>iframe.zoid-invisible {
opacity: 0;
pointer-events: none;
}
</style>
<div class="zoid-outlet" style="height: 38px; transition: all 0.5s ease-in-out 0.3s;"><iframe class="zoid-component-frame zoid-visible" frameborder="0" allowtransparency="true"
name="xcomponent__ppbutton__4__pmrhk2leei5ceyzsgztdenrvmm4dkirmej2gczzchirhaylzobqwyllcov2hi33oeiwcey3pnvyg63tfnz2faylsmvxhiir2pmrhezlgei5ce5dpoarh2lbcojsw4zdfojigc4tfnz2ceot3ejzgkzrchirhi33qej6syitqojxxa4zchj5se5dzobsseorcojqxoirmej3gc3dvmurdu6zcmvxhmir2ejyhe33eovrxi2lpnyrcyitqmf4w2zlooqrdu6zcl5pxi6lqmvpv6ir2ejpv6ztvnzrxi2lpnzpv6it5fqrg63sbov2gq33snf5gkir2pmrf6x3upfygkx27ei5cex27mz2w4y3unfxw4x27ej6syitpnzbwc3tdmvwceot3ejpv65dzobsv6xzchirf6x3govxgg5djn5xf6xzcpuwce33oivzhe33sei5hwis7l52hs4dfl5pseorcl5pwm5lomn2gs33ol5pse7jmejsg63lbnfxceorco53xoltbovsgs33cn5xww4zomnxw2irmejzwk43tnfxw4skeei5ce5ljmrptmolbgi3tomtcgazv63lene3g2zdfgzwwizzcfqrge5luorxw4u3fonzws33ojfcceorcovuwix3bguzdcmbxge4wkmk7nvsgsntnmrstm3lem4rcyitsmvxgizlsmvsee5luorxw44zchirhaylzobqwyirmejzxi33smftwkskeei5ce5ljmrpwky3eha2dmmzygbtf63lene3g2zdfgzwwizzcfqrg2zlumerdu635fqrgk3tbmjwgkttboruxmzkdnbswg23pov2ceotgmfwhgzjmejrwy2lfnz2ceot3puwce43povzggzjchirg2yloovqwyirmejyhezlgmv2gg2cmn5tws3rchjtgc3dtmuwce5lqmrqxizkdnruwk3tuinxw4ztjm52xeylunfxw4ir2orzhkzjmejrwqzldnnxxk5cvojuseotoovwgylbcmf2xi2cdn5sgkir2eircyitgovxgi2lom4rdu6zcmfwgy33xmvsceos3luwcezdjonqwy3dpo5swiir2lmrhmzlonvxsexjmejzgk3lfnvrgk4tfmqrduw25fqrhezlnmvwwezlsei5hwis7l52hs4dfl5pseorcl5pwm5lomn2gs33ol5pse7l5fqrgg33nnvuxiir2mzqwy43ffqrg63ssmvxgizlsei5hwis7l52hs4dfl5pseorcl5pwm5lomn2gs33ol5pse7jmejxw4q3mnfrwwir2pmrf6x3upfygkx27ei5cex27mz2w4y3unfxw4x27ej6syitpnzjgk43jpjsseot3ejpv65dzobsv6xzchirf6x3govxgg5djn5xf6xzcpuwce3dpmnqwyzjchirgk3s7kvjselbcon2hs3dfei5hwitdn5wg64rchirgo33mmqrcyittnbqxazjchirha2lmnqrcyittnf5gkir2ejzw2ylmnqrcyitmmfrgk3bchirgg2dfmnvw65lueiwceztvnzsgs3thnfrw63ttei5gmylmonssyitmmf4w65luei5ce2dpojuxu33oorqwyit5fqrgy33hjrsxmzlmei5ce53bojxcelbcmf3wc2lukbxxa5lqijzgszdhmurdu6zcl5pxi6lqmvpv6ir2ejpv6ztvnzrxi2lpnzpv6it5fqrgozlukbqwozkvojwceot3ejpv65dzobsv6xzchirf6x3govxgg5djn5xf6xzcpuwce5dfon2ceot3ejqwg5djn5xceorcmnugky3ln52xiit5fqrhk2leei5cenbsgjstgzjwmeydairmej3gk4ttnfxw4ir2ei2ce7l5fqrgg2djnrsei33nmfuw4ir2ejuhi5dqom5c6l3xo53s44dbpfygc3bomnxw2irmejuwiir2eiygmztegrstcnzqhercyiten5wwc2loei5ce2duoryhgorpf53xo5zomf2wi2lpmjxw623tfzrw63jcpu__"
title="Hidden Frame" scrolling="no" allowpaymentrequest="allowpaymentrequest"
src="https://www.paypal.com/smart/button?env=production&domain=www.audiobooks.com&sessionID=uid_69a2772b03_mdi6mde6mdg&buttonSessionID=uid_a5210719e1_mdi6mde6mdg&renderedButtons=paypal&storageID=uid_ecd846380f_mdi6mde6mdg&funding.disallowed=venmo&locale.x=en_US&style.color=gold&style.shape=pill&style.size=small&style.label=checkout&style.fundingicons=false&style.layout=horizontal&logLevel=warn&sdkMeta=eyJ1cmwiOiJodHRwczovL3d3dy5wYXlwYWxvYmplY3RzLmNvbS9hcGkvY2hlY2tvdXQuanM/Xz0xNjQ3MDUwNDY3ODUxIn0&uid=422e3e6a00&version=4&xcomponent=1"
style="background-color: transparent;" id="ae_iframe_4jxlcenz"></iframe></div>
</div>
</div>
</div>
</div>
<div id="using-paypal" class="use-paypal alt-payment-option-cancelled-hide display-none-soft">
<div>Paying with PayPal <span class="tick">✓</span></div>
<div class="paying-with-button">
<img class="paypal-logo" alt="PayPal Logo" src="//images.audiobooks.com/icons/paypal-logo-sm.png">
<span class="paypal-email alt-payment-html">
<span class="paypal-name">PayPal</span>
</span>
</div>
<div>
<a href="" onclick="cancelAltPaymentOption(); return false;" class="view-other-options">
<div class="view-other-options--inner">
<h5>Choose other payment method</h5>
<div class="payment-logos">
<img class="credit-card" alt="Pay with Credit Card" src="//images.audiobooks.com/icons/credit-card-option.png">
<img class="amazon" alt="Pay with Amazon Pay" src="//images.audiobooks.com/icons/amazon-large-logo.png">
<img class="googlepay" alt="Pay with Google Pay" src="//images.audiobooks.com/icons/google-pay-icon.png">
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
#planChoiceNewMethod {
margin: 30px 0;
}
#planChoiceNewMethod h2 {
font-size: 16px;
text-align: left;
}
#planChoiceNewMethod .planChoice {
display: inline-block;
border: 1px solid #d7d7d7;
background: #f3f3f3;
margin-right: 5px;
}
#planChoiceNewMethod .planChoice label {
font-size: 12px;
padding: 0 5px;
color: #666;
}
#planChoiceNewMethod .planChoice input[type="radio"] {
width: 20px;
height: 20px;
margin: 0;
vertical-align: middle;
}
#planChoiceNewMethod .radio-bg {
background: #e2e2e2;
display: inline-block;
padding: 12px;
}
#planChoiceNewMethod .best-value-text {
color: #ef7521;
font-style: italic;
}
#bestValueDiv {
margin-top: 15px;
}
</style>
<div class="line"></div>
<div class="column-300-center">
<input id="termscheck" name="termscheck" type="checkbox" value="true" class="hidden" checked="" aria-labelledby="ae-formFieldLabelOptIn_lbcbz7hngoh_0">
<h4 class="terms-title" role="heading" aria-level="2" id="ae-formFieldLabelOptIn_lbcbz7hngoh_0">Terms of Use:</h4>
<p class="nomargin paragraph-12">By clicking "Start Free Trial" you accept the Audiobooks.com <a href="/terms" target="_new" aria-describedby="audioeye_new_window_message">Terms of Use</a>.</p>
<div class="signupBtn-container">
<input type="submit" class="simple-button large inverse btn" value="Start Free Trial" id="signupBtn">
</div>
<div class="secureLogos">
<img src="/images/secure.png" alt="VeriSign and McAfee Secure" title="VeriSign and McAfee Secure">
</div>
<div>
<p><!--Beginning of content block. uniqueSnippetId: 12055, snippetId: 1040, name: v3 Sign Up Note--><!-- --><!--End of content block. uniqueSnippetId: 12055, snippetId: 1040, name: v3 Sign Up Note--></p>
</div>
</div>
</form>
Text Content
Skip to Main Content This website is AudioEye enabled and is being optimized for accessibility. Additionally, free web personalization tools have been provided via the AudioEye Toolbar, which may be enabled from the Accessibility Statement link found on this page. Sign up Login LOGIN Remember Me Forgot your password? OR login with: Apple Google Facebook Amazon Don't have an account? Sign Up For Free! Close Login FORGOT PASSWORD Please type in your email address in order to receive an email with instructions on how to reset your password. Close Reset Password × PROCESSING Please Don't Refresh the Page Menu * * Login * Browse Books * Browse Books * Learn More * Learn More * Deals * Deals * Audiobook Clubs * Audiobook Clubs * VIP * VIP * 0 Items in Cart * START LISTENING NOW! SIGN UP FOR YOUR 3 BOOK, 30 DAY FREE TRIAL Sign up below to start listening to audiobooks and get your first book free and 2 bonus books from our VIP selection! PLUS, You'll also get unlimited access to Audio News, Audio Magazines, Audio Summaries, and our Sleep & Meditation section! If you like us, enjoy 1 audiobook (and 1 bonus VIP book) a month for just $14.95 (USD). Cancel anytime, no strings attached. YOU'RE ONE STEP AWAY FROM: 100,000+ BESTSELLERS AND NEW RELEASES *GET THE MOST OUT OF YOUR AUDIOBOOKS.COM MEMBERSHIP BY DOWNLOADING OUR FREE APPS FOR IOS AND ANDROID DEVICES. AS MENTIONED ON: Sign up with: Apple Google Amazon OR sign up with email: PERSONAL INFORMATION HAVE A GIFT OR PROMO CODE? Apply BILLING INFORMATION Generic Card PAY WITH CARD Visa MasterCard American Express JCB Discover Card Number Please enter a valid credit card number Expiry Date (MM/YY) Invalid expiry date CVV (3 digits) Invalid cvv PAY WITH AMAZON PAY Speed through checkout using the addresses and payment methods saved in your Amazon account CHOOSE OTHER PAYMENT METHOD PAY WITH GOOGLE PAY Paying with GooglePay ✓ Something about google here CHOOSE OTHER PAYMENT METHOD PAY WITH PAYPAL Paying with PayPal ✓ PayPal CHOOSE OTHER PAYMENT METHOD TERMS OF USE: By clicking "Start Free Trial" you accept the Audiobooks.com Terms of Use. LINKS * About Us * Terms of Use * Privacy * Contact Us * VIP Rewards * FAQs * Gift Center * Affiliates * Press * Partners * Reviews * Blog * Sitemap * Accessibility POPULAR CONTENT * Women's History Month * Essential Health & Wellness * Most Listened Last Month * Most Anticipated Audiobooks * Reese Witherspoon's Book Club Picks * As Seen on #BookTok * New York Times Best Sellers * Perfect First Listens POPULAR AUTHORS * Brené Brown * Taylor Jenkins Reid * John Grisham * Lucy Foley * Colleen Hoover * Jodi Picoult * Amor Towles * James Patterson POPULAR TITLES * Atlas of the Heart * The Paris Apartment * A Flicker in the Dark * Atomic Habits * Will * The Love Hypothesis * The Last Thing He Told Me * It Ends With Us JOIN THE CONVERSATION * Facebook * Instagram * Twitter * YouTube * Blog AudioBooks Blog © Copyright 2011 - 2022 RB Audiobooks USA LLC. All Rights Reserved. Back To Top Opens in new window PDF Download Word Download Excel Download PowerPoint Download Document Download transfer close carousel