incontext Paypal Plunker
Paypal Plunker url, , . - .
<div class="row product">
<div class="col-md-4">
<h3>Toy Story Jessie T-Shirt</h3>
<p>
<a href="http://166.78.8.98/cgi-bin/aries.cgi?live=1&returnurl=http://166.78.8.98/cgi-bin/return.htm&cancelurl=http://166.78.8.98/cgi-bin/cancel.htm" id="t1" class="checkout">
<img class="paypal-button-hidden" src="https://www.paypalobjects.com/fr_FR/i/btn/btn_xpressCheckout.gif" alt="Check out with PayPal" />
</a>
</p>
</div>
</div>
: http://plnkr.co/edit/UhNka4VaaRRGY1TK32LE?p=preview URL: http://166.78.8.98/cgi-bin/aries.cgi?live=1&returnurl=http://166.78.8.98/cgi-bin/return.htm&cancelurl=http://166.78.8.98/cgi-bin/cancel.htm
+3
1
HTML:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
</head>
<body>
<form id="myContainer" method="post" action="ec_call.php" accept-charset="UTF-8">
</form>
<script>
window.paypalCheckoutReady = function() {
paypal.checkout.setup('S4X5XW328WAYY', {
container: 'myContainer',
environment: 'sandbox'
// button: 'incontext_id'
});
}
</script>
</body>
<script src="//www.paypalobjects.com/api/checkout.js" async></script>
</html>
ec_call.php
SetExpresscheckout API, URL- Doexpresscheckout API.
.
PHP code.
+7