Sure that's what I expected, the widget window flashes up "loading" with the Paypal data, then disappears, nothing in the widget window. as per screen record I posted.
tried and using many other widgets no problem. Is this a system error?
Sure that's what I expected, the widget window flashes up "loading" with the Paypal data, then disappears, nothing in the widget window. as per screen record I posted.
tried and using many other widgets no problem. Is this a system error?
stuk34, I don't download unsolicited files (your mp4) so your flashing off and coming up with a No HTML message is telling me your Return key is being activated somehow.
I have had similar issues in the past with wireless mice so one thing you can try is a wired mouse and keyboard.
If none are available then you will have to go through PayPal directly.
I just tried the new Smart button and got:
I added the red bit so I could adjust the button size.Code:<div id="smart-button-container" width=100% height=100% > <div style="text-align: center;"> <div id="paypal-button-container"></div> </div> </div> <script src="https://www.paypal.com/sdk/js?client-id=sb¤cy=GBP" data-sdk-integration-source="button-factory"></script> <script> function initPayPalButton() { paypal.Buttons({ style: { shape: 'rect', color: 'blue', layout: 'vertical', label: 'buynow', }, createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{"description":"One two three","amount":{"currency_code":"GBP","value":149.21,"breakdown":{"item_total":{"currency_code":"GBP","value":123.321},"shipping":{"currency_code":"GBP","value":1.23},"tax_total":{"currency_code":"GBP","value":24.66}}}}] }); }, onApprove: function(data, actions) { return actions.order.capture().then(function(details) { alert('Transaction completed by ' + details.payer.name.given_name + '!'); }); }, onError: function(err) { console.log(err); } }).render('#paypal-button-container'); } initPayPalButton(); </script>
You will still have to include all your correct credentials and choose the appropriate button...
Acorn
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
I'm not really sure if this is a system error. But try this.
Log into your PayPal account and create the widget on the PayPal site. Then copy the embed code and try using that in a placeholder in Xara.
Acorn beat me to it.
Gary W. Priester
Mr. Moderator Emeritus Dude, Sir
gwpriester.com | eyetricks-3d-stereograms.com | eyeTricks on Facebook | eyeTricks on YouTube | eyeTricks on Instagram
Thanks both,
Acorn your script copied into a placeholder works OK, with my own ID credentials. This produces a payment button, but I'm looking for the add to cart option and then a checkout, this seems to be a pay now button for a single item.
I hoped the widget would be more user friendly than having to go through the Sandbox route on PayPal, well beyond me even understanding the jargon!
I have added donation button and a single item payment button on a few other sites, but hoped the widget would be able to be configured from inside Xara ion plain text
I just used https://www.paypal.com/buttons/.
Acorn
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
Long time since I used PayPal but wouldn't this option suit your needs?
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
The widget probably would work fine. Except it doesn't. But creating the widget on PayPal usually does work. They probably make a lot of changes which Xara might not be keeping up with.
Gary W. Priester
Mr. Moderator Emeritus Dude, Sir
gwpriester.com | eyetricks-3d-stereograms.com | eyeTricks on Facebook | eyeTricks on YouTube | eyeTricks on Instagram
Bookmarks