1
我想使用tipsi條紋當一個對象並調用stripe.init當我收到以下錯誤得到不確定是不是要stripe.init
代碼
import stripe from 'tipsi-stripe'
stripe.init({
publishableKey: 'key',
// merchantId: 'merchant_id', // Optional
})
錯誤
我想使用tipsi條紋當一個對象並調用stripe.init當我收到以下錯誤得到不確定是不是要stripe.init
代碼
import stripe from 'tipsi-stripe'
stripe.init({
publishableKey: 'key',
// merchantId: 'merchant_id', // Optional
})
錯誤
我以前在看到這個錯誤時忘記了鏈接本地模塊。看起來你沒有鏈接本地模塊。
確保你做
react-native link tipsi-stripe
或
rnpm link
確保您使用的是帶庫的正確版本的正確反應u的採用原生版本 –