ich eine Express-Checkout-Schaltfläche auf meiner Webseite habe, die somethin wie das aussieht:Paypal Express Checkout Button IPN
<body>
<div id="paypal-button"></div>
<script src="https://www.paypalobjects.com/api/checkout.js"></script>
<script>
paypal.Button.render({
env: 'sandbox', // Or 'sandbox'
client: {
sandbox: '<censored>',
production: 'xxxxxxxxx'
},
commit: true, // Show a 'Pay Now' button
payment: function(data, actions) {
return actions.payment.create({
payment: {
transactions: [
{
amount: { total: '1.00', currency: 'USD' }
}
]
}
});
},
onAuthorize: function(data, actions) {
return actions.payment.execute().then(function(payment) {
console.log(data);
});
}
}, '#paypal-button');
</script>
ich auch einen IPN-Handler auf meinen Schienen-Backend, die ich bei https://developer.paypal.com/developer/ipnSimulator/ mit dem IPN Simulator getestet und ausgewählte Express-Kasse und es funktioniert gut. Das einzige, was ich nicht herausfinden konnte, ist, wie Paypal eingerichtet wird, um die IPNs an meinen Server zu senden. Ich habe versucht, ein Paypal-Geschäftskonto einzurichten und URL für IPNs einzugeben, aber ich erhalte nichts auf dem Server noch auf der IPNs-History-Website.