I
I
IgaIst2013-12-18 14:18:16
Facebook
IgaIst, 2013-12-18 14:18:16

How to solve the problem with facebook payment subscriptions?

Please help me find a problem with Facebook payment subscriptions ( https://developers.facebook.com/docs/payments/subs... )
I do everything as per the manual, but in the end I get an unknown error:
"An error has occurred. Please , please try again later
API error code: API
error description: "
Subscription object:

<html>
    <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# fbpayment: http://ogp.me/ns/fb/fbpayment#">        
         <meta property="og:title" content="Test" />
        <meta property="og:image" content="https://s-static.ak.fbcdn.net/images/devsite/attachment_blank.png" />
        <meta property="og:description" content="Description. Test" />
        <meta property="fbpayment:price" content="5.00 USD" /> 
        <meta property="fb:app_id" content="ххххххххххх" />
        <meta property="og:url" content="УРЛ_ПО_КОТОРОМУ_ДОСТУПЕН_ЭТОТ_ОБЪЕКТ" />
        <meta property="og:type" content="fbpayment:subscription" />
    </head>
</html>

The javascript function that pulls FB.ui:
var options = {    
            method: 'pay',
            action: 'create_subscription',
            product:  УРЛ_ПО_КОТОРОМУ_ДОСТУПЕН_ОБЪЕКТ_ПОДПИСКИ
        }; 
        FB.ui(options,function(d){
            console.log(d);
        });

As a result, I get the fb error that I described above and in the console: "null"
In the application settings, the "Payment Subscriptions Object" option is enabled.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question