Summary:
Update deprecated Paddle.Setup() method to Paddle.Initialize() and minor syntax in Paddle Billing documentation.
Description:
I'm integrating Paddle in my service, and noticed that Paddle.js has deprecated the Paddle.Setup() method in favor of Initialize() method: https://developer.paddle.com/paddlejs/methods/paddle-setup.
Additionally, quotes are required around the <%= Pay::PaddleBilling.client_token %> erb; otherwise I'm running into the following error as it's not read as a string while initializing paddle.js.
Pull Request
Summary: Update deprecated Paddle.Setup() method to Paddle.Initialize() and minor syntax in Paddle Billing documentation.
Description: I'm integrating Paddle in my service, and noticed that Paddle.js has deprecated the Paddle.Setup() method in favor of Initialize() method:
https://developer.paddle.com/paddlejs/methods/paddle-setup
.Additionally, quotes are required around the
<%= Pay::PaddleBilling.client_token %>
erb; otherwise I'm running into the following error as it's not read as a string while initializing paddle.js.