-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
A while ago, I wrote a blog demonstrating how one could integrate PayPal express checkout in Drupal, but...; in tech, things move(change) fast, mostly for better: that approach had some limitations like; handling credit cards, the user checkout experience was not as 'great', the PayPal SDK library we were extending has been abandoned (deprecated) for a better one (which was recently deprecated but no other alternative, so here we're ).
Paypal PHP SDk documentation.
In this blog we will attempt to achieve the same and make things better. Code for this blog is available on github.
#paypal_example.libraries.yml # https://github.com/paypal/paypal-js#legacy-browser-support paypal_cdn: version: VERSION header: true js: //unpkg.com/@paypal/paypal-js@5.1.1/dist/iife/paypal-js.min.js: { type: external, minified: true, attributes: { } #attributes: { defer: true, async: true} # window.paypalLoadScript is not a function error, see # https://github.com/paypal/paypal-js; should be managed # via npm as setting attributes to defer and async # causes the error above sometimes. } paypal: js: js/paypal_example.js: {attributes: { defer: true, async: true}} dependencies: - core/jquery - core/drupalSettings - paypal_example/paypal_cdn # End of file.