All I can see after I go to https://linsculture.com/wp-admin/ is the following message:
Warning: The magic method WC_LINE_Pay::__wakeup() must have public visibility in /homepages/42/d311920524/htdocs/clickandbuilds/LinCulture/wp-content/plugins/linepay-wc/linepay-wc.php on line 76
Warning: Cannot modify header information - headers already sent by (output started at /homepages/42/d311920524/htdocs/clickandbuilds/LinCulture/wp-content/plugins/linepay-wc/linepay-wc.php:76) in /homepages/42/d311920524/htdocs/clickandbuilds/LinCulture/wp-includes/pluggable.php on line 1421
Warning: Cannot modify header information - headers already sent by (output started at /homepages/42/d311920524/htdocs/clickandbuilds/LinCulture/wp-content/plugins/linepay-wc/linepay-wc.php:76) in /homepages/42/d311920524/htdocs/clickandbuilds/LinCulture/wp-includes/pluggable.php on line 1424
]]>
Dear Sir
may I know How I can use this LINEpay Woocommerce for Taiwan market.
what I have to do after download and install it into my wordpreess+woocommerce eCommerce store?
thanks a lot.
Calvin
The “Statuses that Allow Customers to Request Refunds” option should only be taken into account if the LINEPay payment method is enabled. Just because the plugin is activated, it shouldn’t be the criteria for the “cancel” button to show up on the “my account > orders” page.
]]>After I scanning the QR code, submitted checkout. App line pay not send message success or error, and money is not deducted.
Please help me. Thank you so much!
]]>There is a price calculation bug in the gateway code. to reproduce, just add any item to the cart 2 times
]]>--- gateways/linepay/includes/class-wc-linepay-func.php +++ gateways/linepay/includes/class-wc-linepay-func.php @@ -88,7 +88,7 @@ class LINEPay_func { foreach ( $cart_data as $cart_item_key => $cart_item ) { $_product = $cart_item['data']; if ( $_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) ) { - $price = round($cart_item['line_subtotal'] + $cart_item['line_subtotal_tax'] / $cart_item['quantity']); + $price = round(($cart_item['line_subtotal'] + $cart_item['line_subtotal_tax']) / $cart_item['quantity']); $item['id'] = $cart_item['product_id']; $item['name'] = $_product->get_name(); $item['imageUrl'] = wp_get_attachment_image_url( $_product->get_image_id(), 'thumbnail' );
line payで決済しようとしてもページ遷移せず、「!」というエラーマークが表示されます。
ログ
2020-10-23T12:01:22+00:00 DEBUG
====linepay-wc Framework Version: 2.0.5====
====Start Log====
Send api data. requestUri is /v3/payments/request. Post data is following{“amount”:”6468″,”currency”:”JPY”,”orderId”:”\u30ea\u30a2\u30ea\u30bc\u30a4\u30b7\u30e7\u30f31024″,”packages”:[{“id”:1,”name”:”\u30ea\u30a2\u30ea\u30bc\u30a4\u30b7\u30e7\u30f3″,”amount”:6468,”products”:[{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:2,”price”:2058},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078}]}],”options”:{“payment”:{“capture”:”true”},”display”:{“locale”:”ja”},”shipping”:{“type”:”SHIPPING”,”feeInquiryUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-json\/linepay\/v1\/shippings\/”,”feeInquiryType”:”CONDITION”}},”redirectUrls”:{“confirmUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/checkout\/order-received\/1024\/?key=wc_order_OaamFRK2IIFuN”,”cancelUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/cart\/?linepay=cancel&order_id=1024″}}
====End Log====
2020-10-23T12:01:22+00:00 DEBUG
====linepay-wc Framework Version: 2.0.5====
====Start Log====
Order ID :1024; (object) array(
‘returnCode’ => ‘2101’,
‘returnMessage’ => ‘Parameter error. [packages[].amount != sum(packages[].products[].quantity * packages[].products[].price)]’,
)
====End Log====
2020-10-23T12:01:22+00:00 DEBUG
====linepay-wc Framework Version: 2.0.5====
====Start Log====
returnCode : 2101
returnMessage : Parameter error. [packages[].amount != sum(packages[].products[].quantity * packages[].products[].price)]
====End Log====
2020-10-23T12:01:26+00:00 DEBUG
====linepay-wc Framework Version: 2.0.5====
====Start Log====
Send api data. requestUri is /v3/payments/request. Post data is following{“amount”:”6468″,”currency”:”JPY”,”orderId”:”\u30ea\u30a2\u30ea\u30bc\u30a4\u30b7\u30e7\u30f31025″,”packages”:[{“id”:1,”name”:”\u30ea\u30a2\u30ea\u30bc\u30a4\u30b7\u30e7\u30f3″,”amount”:6468,”products”:[{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:2,”price”:2058},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078}]}],”options”:{“payment”:{“capture”:”true”},”display”:{“locale”:”ja”},”shipping”:{“type”:”SHIPPING”,”feeInquiryUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-json\/linepay\/v1\/shippings\/”,”feeInquiryType”:”CONDITION”}},”redirectUrls”:{“confirmUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/checkout\/order-received\/1025\/?key=wc_order_RgdjS38qaGGPD”,”cancelUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/cart\/?linepay=cancel&order_id=1025″}}
====End Log====
2020-10-23T12:01:26+00:00 DEBUG
====linepay-wc Framework Version: 2.0.5====
====Start Log====
Order ID :1025; (object) array(
‘returnCode’ => ‘2101’,
‘returnMessage’ => ‘Parameter error. [packages[].amount != sum(packages[].products[].quantity * packages[].products[].price)]’,
)
====End Log====
2020-10-23T12:01:26+00:00 DEBUG
====linepay-wc Framework Version: 2.0.5====
====Start Log====
returnCode : 2101
returnMessage : Parameter error. [packages[].amount != sum(packages[].products[].quantity * packages[].products[].price)]
====End Log====
2020-10-23T12:01:30+00:00 DEBUG
====linepay-wc Framework Version: 2.0.5====
====Start Log====
Send api data. requestUri is /v3/payments/request. Post data is following{“amount”:”6468″,”currency”:”JPY”,”orderId”:”\u30ea\u30a2\u30ea\u30bc\u30a4\u30b7\u30e7\u30f31026″,”packages”:[{“id”:1,”name”:”\u30ea\u30a2\u30ea\u30bc\u30a4\u30b7\u30e7\u30f3″,”amount”:6468,”products”:[{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:2,”price”:2058},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078},{“id”:87,”name”:”\u767b\u8a18\u7c3f\u8b04\u672c”,”imageUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-content\/uploads\/2020\/10\/\u767b\u8a18\u7c3f\u8b04\u672c-150×150.jpg”,”quantity”:1,”price”:1078}]}],”options”:{“payment”:{“capture”:”true”},”display”:{“locale”:”ja”},”shipping”:{“type”:”SHIPPING”,”feeInquiryUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/wp-json\/linepay\/v1\/shippings\/”,”feeInquiryType”:”CONDITION”}},”redirectUrls”:{“confirmUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/checkout\/order-received\/1026\/?key=wc_order_W9lTo2zrtHlU5″,”cancelUrl”:”https:\/\/hojyokin-reali.com\/registry-certs\/cart\/?linepay=cancel&order_id=1026″}}
====End Log====
2020-10-23T12:01:30+00:00 DEBUG
====linepay-wc Framework Version: 2.0.5====
====Start Log====
Order ID :1026; (object) array(
‘returnCode’ => ‘2101’,
‘returnMessage’ => ‘Parameter error. [packages[].amount != sum(packages[].products[].quantity * packages[].products[].price)]’,
)
====End Log====
2020-10-23T12:01:30+00:00 DEBUG
====linepay-wc Framework Version: 2.0.5====
====Start Log====
returnCode : 2101
returnMessage : Parameter error. [packages[].amount != sum(packages[].products[].quantity * packages[].products[].price)]
====End Log====
returnMessage : Parameter error. [packages[].amount != sum(packages[].products[].quantity * packages[].products[].price)]
Parameter error. [packages[].amount != sum(packages[].products[].quantity * packages[].products[].price)]
何か商品数が合計とあってない(?)ようですが、他の支払いでは問題ないです。
解決方法を教えて頂ければありがたいです。
よろしくお願い致します。
いつもお世話になっております。
素晴らしいプラグインをありがとうございます。
カートページにこのプラグインのボタンを設置したのですが、添付の通り崩れてしまいます。
何か対策があれば、教えていただけますと幸いです。
よろしくお願いします。
https://sokuyaki.com/wp-content/uploads/2020/09/123456789.jpg
]]>お世話になります。
woocommerce for linepayで支払いのさいに、支払処理でエラーおこりました。っとでます。
ログを確認したところ下記内容がでるのですが、どういったエラーなのでしょうか?
LINEPay Checkout は精算可能なのですが、住所申込みからの支払い処理だとエラーがでるというような形です。
2020-05-08T01:42:39+00:00 DEBUG
====linepay-wc Framework Version: 2.0.3====
====Start Log====
Order ID :1676; (object) array(
‘returnCode’ => ‘2102’,
‘returnMessage’ => ‘JSON data format error’,
)
====End Log====
お手数ですが、ご回答よろしくお願いします。
]]>お世話になります。
“支払処理でエラーが起こりました。再度やり直してください。”と表示されます。
原因を探ろうと、デバッグモードを有効にしましたが、Woocommerceロギングのファイルはどこに作成されるのでしょうか?
I installed LINE Pay for WooCommerce
Channel ID, Channel Secret Key have been filled in
Enable LINE Pay is checked
Enable LINEPay Checkout on the cart page
Cache cleared, browser history cleared
But I do n’t see the LINE PAY on the checkout page.
Plan to install LINEPAY official website URL: https://www.madin.cc
Please help.
]]>こんにちは
まだベータということですが、Sandboxで試したところ読み仮名にカタカナを入力して[Proceed to LINE Pay]ボタンを押しても、
All Yomigana must be katakana.
と表示されて先に進みません。
半角カタカナも試しましたが同様でした。
ちなみに japanaized for woocommerceの設定で名前(よみがな)のチェックを外すとLINE Payが決済項目から消えて選べなくなりました(仕様?)。
PHP7.3.9
wordpress 5.2.4
woocommerce 3.7.1