Answer the question
In order to leave comments, you need to log in
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>
var options = {
method: 'pay',
action: 'create_subscription',
product: УРЛ_ПО_КОТОРОМУ_ДОСТУПЕН_ОБЪЕКТ_ПОДПИСКИ
};
FB.ui(options,function(d){
console.log(d);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question