This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="paypal-button"></div> | |
<script src="https://www.paypalobjects.com/api/checkout.js"></script> | |
<script> | |
paypal.Button.render({ | |
// Configure environment | |
env: 'sandbox', | |
client: { | |
sandbox: 'demo_sandbox_client_id', | |
production: 'demo_production_client_id' | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="AmazonPayButton"/> | |
<script type="text/javascript"> | |
var authRequest; | |
OffAmazonPayments.Button("AmazonPayButton", "YOUR_MERCHANT_ID ", { | |
type: "ENTER_TYPE_PARAMETER", | |
color: "ENTER_COLOR_PARAMETER", | |
size: "ENTER_SIZE_PARAMETER", | |
authorization: function() { | |
loginOptions = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="AmazonPayButton"/> | |
<script type="text/javascript"> | |
var authRequest; | |
OffAmazonPayments.Button("AmazonPayButton", "YOUR_MERCHANT_ID ", { | |
type: "ENTER_TYPE_PARAMETER", | |
color: "ENTER_COLOR_PARAMETER", | |
size: "ENTER_SIZE_PARAMETER", | |
authorization: function() { | |
loginOptions = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- please put the style below inside your CSS file --> | |
<style type="text/css"> | |
#addressBookWidgetDiv{width: 400px; height: 228px;} | |
</style> | |
<div id="addressBookWidgetDiv"> | |
</div> | |
<script> | |
new OffAmazonPayments.Widgets.AddressBook({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- put the style below inside your CSS file --> | |
<style type="text/css"> | |
#consentWidgetDiv {width: 400px; height: 140px;} | |
</style> | |
<div id="consentWidgetDiv"> | |
</div> | |
<script> | |
new OffAmazonPayments.Widgets.Consent({ | |
sellerId: 'YOUR_SELLER_ID_HERE', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://mws.amazonservices.com/OffAmazonPayments_Sandbox/2013-01-01? | |
AWSAccessKeyId=AKIAJKYFSJU7PEXAMPLE | |
&AmazonBillingAgreementId=C01-8824045-7416542 | |
&Action=SetBillingAgreementDetails | |
&BillingAgreementAttributes.PlatformId=PLATFORM_ID_HERE | |
&BillingAgreementAttributes.SellerNote=APPROVE LITE APPROVE HEAVY | |
&BillingAgreementAttributes.SellerBillingAgreementAttributes.CustomInformati | |
on=Example Customer Info | |
&BillingAgreementAttributes.SellerBillingAgreementAttributes.StoreName=Test Store Name | |
&MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://mws.amazonservices.com/OffAmazonPayments_Sandbox/2013-01-01?AWSAccessKeyId=AKIAJKYFSJU7PEXAMPLE | |
&AmazonBillingAgreementId=C01-8824045-7416542 | |
&Action=ValidateBillingAgreement | |
&MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE | |
&SellerId=YOUR_SELLER_ID_HERE | |
&SignatureMethod=HmacSHA256 | |
&SignatureVersion=2 | |
&Timestamp=2013-12-11T10%3A38%3A44.000Z | |
&Version=2013-01-01 | |
&Signature=gP11oEBaaiQdASWsLDyid18Wn%2BB%2FKZQQtKgpHCtDHdc%3D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://mws.amazonservices.com/OffAmazonPayments_Sandbox/2013-01-01 ?AWSAccessKeyId=AKIAJKYFSJU7PEXAMPLE | |
&Action=AuthorizeOnBillingAgreement | |
&AmazonBillingAgreementId=C01-1234567-1234567 | |
&AuthorizationAmount.Amount=10 | |
&AuthorizationAmount.CurrencyCode=USD | |
&AuthorizationReferenceId=test_authorize_1 | |
&MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE | |
&SellerId=YOUR_SELLER_ID_HERE | |
&SellerAuthorizationNote=ForNovemberOrder | |
&SellerOrderAttributes.SellerOrderId=testSellerOrderId |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="paypal-button"></div> | |
<script src="https://www.paypalobjects.com/api/checkout.js"></script> | |
<script> | |
paypal.Button.render({ | |
// Configure environment | |
env: 'sandbox', | |
client: { | |
sandbox: 'demo_sandbox_client_id', | |
production: 'demo_production_client_id' | |
}, |
OlderNewer