0
votes

I have followed the article by @Ruks : [Article] Enabling Monetization of APIs with WSO2 API Manager and configured my WSO2 API Manager 2.0.0 and WSO2 API Manager Analytics 2.0.0 with monetization. Billing engine is working fine. There are two issues: Issue 1. When user is redirected from API Manger to billing engine for payment information, after successful signUp or login it does not redirect back to API manger. Issue 2. On Analytics logs i am getting following error continuously

No schema is available for table ORG_WSO2_APIMGT_STATISTICS_REQUEST\r\n","stream":"stdout","time":"2017-01-12T18:52:01.569122694Z"}

Please advise. what is wrong. Thanks.

2
Hi pravan, can you please mention the APIM analytics environment? is it cluster setup? and the DB used?.ruks
Hi @ruks I am using WSO2 API Manager Analytics and DB is PostgresSql 9.5. ThanksPravin
Its not cluster setup. it is single node.Pravin

2 Answers

1
votes

The repo to the sample billing engine provided in the article may not compatible with APIM 2.0.0. Please refer follwing repo and checkout am-2.0 tag which is compatible with APIM 2.0.0.

0
votes

Also note that in the hosted version of API Manager - WSO2 API Cloud - monetization just works out of the box because the engine has been pre-integrated with Stripe. You just enable the monetization feature in the Configure menu, set pricing for your tiers, and configure the Stripe account to send you the money. See the tutorial here: https://docs.wso2.com/display/APICloud/Enable+Monetization