Hallo ich möchte gerne Amazon Payments in meinem Onlineshop integrieren. Allerdings wie? könnt Ihr mir da helfen?
Irgendwie gibt es ja kaum möglichkeiten außer PayPal und Zahlungssyteme wo keiner braucht.
es gibt codes die man testen kann
HTML
- <head>
- // your head section here
- <script type='text/javascript'>
- window.onAmazonLoginReady = function() {
- amazon.Login.setClientId('YOUR_CLIENT_ID_HERE');
- };
- </script>
- <script type='text/javascript' src='https://static-eu.payments-amazon.com/OffAmazonPayments/de/sandbox/lpa/js/Widgets.js'></script>
- // your head section here
- </head>
- <div id="AmazonPayButton"></div>
- <script type="text/javascript">
- var authRequest;
- OffAmazonPayments.Button("AmazonPayButton", "YOUR_SELLER_ID_HERE", {
- type: "PwA",
- authorization: function() {
- loginOptions = {
- scope: "ENTER_SCOPES", ENTER_POPUP_PARAMETER};
- authRequest = amazon.Login.authorize (loginOptions,
- "YOUR_REDIRECT_URL_HERE");
- },
- onError: function(error) {
- // your error handling code
- }
- });
- </script>
- </div>
oder
HTML
- <head>
- // your head section here
- <script type='text/javascript'>
- window.onAmazonLoginReady = function() {
- amazon.Login.setClientId('YOUR_CLIENT_ID_HERE');
- };
- </script>
- <script type='text/javascript' src='https://static-eu.payments-amazon.com/OffAmazonPayments/de/sandbox/lpa/js/Widgets.js'></script>
- // your head section here
- </head>
- <div id="AmazonPayButton"></div>
- <script type="text/javascript">
- var authRequest;
- OffAmazonPayments.Button("AmazonPayButton", "YOUR_SELLER_ID_HERE", {
- type: "LwA",
- authorization: function() {
- loginOptions = {
- scope: "ENTER_SCOPES", ENTER_POPUP_PARAMETER};
- authRequest = amazon.Login.authorize (loginOptions,
- "YOUR_REDIRECT_URL_HERE");
- },
- onError: function(error) {
- // your error handling code
- }
- });
- </script>
- </div>
wenn ich die aber im benutzerdefinierten Bereich einfüge passiert garnichts. WAS MACHE ICH FALSCH? Kann mir jemand bitte helfen?