I had the same problem. Probably you are loading the button script with "client-id=sb" or no client id specified. In order to work with plans you created via API you need to explicitly set "client-id=<client-id-of-your-REST-API-app>" when loading the script. Then the buttons will find your created plan. It took me a while to get that and this is nowhere documented.
... View more