You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setup Tappay (You can get credentials from Tappay)
import*asExpoTappayLinePayfrom"expo-tappay-line-pay";constappId=11340;// Replace with your own appIdconstappKey="app_whdEWBH8e8Lzy4N6BysVRRMILYORF6UxXbiOFsICkz0J9j1C0JUlCHv1tVJC";// Replace with your own appKeyconstserverType="sandbox";// Replace with your own serverType (sandbox or production)ExpoTappayLinePay.setupTappay({ appId, appKey, serverType });
Setup Line Pay
import*asExpoTappayLinePayfrom"expo-tappay-line-pay";constcallbackUrl="expotappaylinepayexample://linepay";// Replace with your own callbackUrl (e.g. expotappaylinepayexample://linepay)ExpoTappayLinePay.setupLine(callbackUrl);
import*asExpoTappayLinePayfrom"expo-tappay-line-pay";constpayment=awaitExpoTappayLinePay.redirect(paymentUrl);// You will get payment result from this function