【问题标题】:Facebook Payments Item lookup returns error nullFacebook 支付项目查找返回错误 null
【发布时间】:2013-09-11 16:30:53
【问题描述】:

所以我有了新的开放图支付对象:

<!DOCTYPE html>
<html>
 <head prefix=
    "og: http://ogp.me/ns#
     fb: http://ogp.me/ns/fb#
     product: http://ogp.me/ns/product#">
    <meta property="og:type"                   content="og:product" />
    <meta property="og:title"                  content="My awesome product" />
    <meta property="og:image"                  content="http://lorempixel.com/200/200/" />
    <meta property="og:url"                    content="https://my_awesome_url" />
    <meta property="og:description"            content="Description" />
    <meta property="product:price:amount"      content="1.00"/>
    <meta property="product:price:currency"    content="LVL"/>
 </head>
</html>

从调用:

FB.ui({
      method: 'pay',
      action: 'purchaseitem',
      product: 'https://my_awesome_url',
    },
    function (data) {console.log(data)}
);

我得到的只是

处理您的付款时出现问题。你没去过 此交易已收取费用,请重试。

和回调中的数据 - null

我无法理解它有什么问题。使用https://developers.facebook.com/tools/debug 进行调试可以很好地加载对象,并在通过调试加载后加载事件,当从缓存中调用此项目时,它仍然会失败并保持沉默。

【问题讨论】:

    标签: facebook payment


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-03-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多