I am new to Recurly, I have setup a simple implementation to build on here http://unzipped.wpengine.com/recurly-integrate/ (you can see everything, it is html and a js file called recurly-integration.js which is added straight after the main recurly.js file.
I get this error:
Uncaught TypeError: Cannot read property 'config' of undefined
from recurly.js - seems to be coming from the Pricing.reset function ???
Any help gratefully received as I have been trying to fix it for ages. Thanks.
For anyone else who might be having the same problem the solution was this:
in my recurly-integration.js I was doing like so:
Changing it to:
Solved the problem.