Changeset 3136477
- Timestamp:
- 08/16/2024 08:27:11 AM (20 months ago)
- Location:
- wpbr-payuni-payment
- Files:
-
- 4 added
- 28 edited
- 1 copied
-
tags/1.6.0 (copied) (copied from wpbr-payuni-payment/trunk)
-
tags/1.6.0/assets/css/styles-admin.css (added)
-
tags/1.6.0/languages/wpbr-payuni-payment-zh_TW.mo (modified) (previous)
-
tags/1.6.0/languages/wpbr-payuni-payment-zh_TW.po (modified) (13 diffs)
-
tags/1.6.0/languages/wpbr-payuni-payment.pot (modified) (11 diffs)
-
tags/1.6.0/src/Admin/OrderList.php (added)
-
tags/1.6.0/src/Admin/OrderMetaBoxes.php (modified) (1 diff)
-
tags/1.6.0/src/Api/PaymentRequest.php (modified) (1 diff)
-
tags/1.6.0/src/Api/PaymentResponse.php (modified) (2 diffs)
-
tags/1.6.0/src/Gateways/GatewayBase.php (modified) (1 diff)
-
tags/1.6.0/src/PayuniPayment.php (modified) (5 diffs)
-
tags/1.6.0/src/Settings/SettingsTab.php (modified) (1 diff)
-
tags/1.6.0/src/Utils/OrderMeta.php (modified) (1 diff)
-
tags/1.6.0/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
tags/1.6.0/vendor/composer/autoload_static.php (modified) (1 diff)
-
tags/1.6.0/vendor/composer/installed.php (modified) (2 diffs)
-
tags/1.6.0/wpbr-payuni-payment.php (modified) (2 diffs)
-
trunk/assets/css/styles-admin.css (added)
-
trunk/languages/wpbr-payuni-payment-zh_TW.mo (modified) (previous)
-
trunk/languages/wpbr-payuni-payment-zh_TW.po (modified) (13 diffs)
-
trunk/languages/wpbr-payuni-payment.pot (modified) (11 diffs)
-
trunk/src/Admin/OrderList.php (added)
-
trunk/src/Admin/OrderMetaBoxes.php (modified) (1 diff)
-
trunk/src/Api/PaymentRequest.php (modified) (1 diff)
-
trunk/src/Api/PaymentResponse.php (modified) (2 diffs)
-
trunk/src/Gateways/GatewayBase.php (modified) (1 diff)
-
trunk/src/PayuniPayment.php (modified) (5 diffs)
-
trunk/src/Settings/SettingsTab.php (modified) (1 diff)
-
trunk/src/Utils/OrderMeta.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_static.php (modified) (1 diff)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/wpbr-payuni-payment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpbr-payuni-payment/tags/1.6.0/languages/wpbr-payuni-payment-zh_TW.po
r3131276 r3136477 2 2 msgstr "" 3 3 "Project-Id-Version: PAYUNi Payment for WooCommerce\n" 4 "POT-Creation-Date: 2024-0 6-14 06:17+0800\n"5 "PO-Revision-Date: 2024-0 6-14 06:23+0800\n"4 "POT-Creation-Date: 2024-08-16 16:20+0800\n" 5 "PO-Revision-Date: 2024-08-16 16:20+0800\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 165 165 msgstr "PAYUNi Samsung Pay" 166 166 167 #: src/Admin/OrderList.php:38 168 msgid "Invoice No" 169 msgstr "發票編號" 170 171 #: src/Admin/OrderList.php:50 172 msgid "Unissue" 173 msgstr "未開立" 174 167 175 #: src/Admin/OrderMetaBoxes.php:61 src/Gateways/GatewayBase.php:121 168 176 msgid "PAYUNi Payment Detail" 169 177 msgstr "PAYUNi付款資訊" 170 178 171 #: src/Api/PaymentRequest.php:86 179 #: src/Admin/OrderMetaBoxes.php:93 180 msgid "Order No" 181 msgstr "訂單編號" 182 183 #: src/Admin/OrderMetaBoxes.php:102 src/Gateways/GatewayBase.php:143 184 msgid "E-Invoice No" 185 msgstr "發票編號" 186 187 #: src/Admin/OrderMetaBoxes.php:103 src/Gateways/GatewayBase.php:144 188 msgid "E-Invoice Amount" 189 msgstr "發票金額" 190 191 #: src/Admin/OrderMetaBoxes.php:104 src/Gateways/GatewayBase.php:145 192 msgid "E-Invoice Time" 193 msgstr "開立時間" 194 195 #: src/Admin/OrderMetaBoxes.php:108 src/Gateways/GatewayBase.php:149 196 msgctxt "Issue Type" 197 msgid "Issue" 198 msgstr "開立發票" 199 200 #: src/Admin/OrderMetaBoxes.php:110 src/Gateways/GatewayBase.php:151 201 msgctxt "Issue Type" 202 msgid "Void" 203 msgstr "作廢發票" 204 205 #: src/Admin/OrderMetaBoxes.php:112 src/Gateways/GatewayBase.php:153 206 msgctxt "Issue Type" 207 msgid "Unknown Issue Type" 208 msgstr "未知的發票類別" 209 210 #: src/Admin/OrderMetaBoxes.php:114 src/Gateways/GatewayBase.php:155 211 msgid "E-Invoice Type" 212 msgstr "發票類別" 213 214 #: src/Admin/OrderMetaBoxes.php:118 src/Gateways/GatewayBase.php:159 215 msgid "Mobile Code" 216 msgstr "手機條碼" 217 218 #: src/Admin/OrderMetaBoxes.php:120 src/Gateways/GatewayBase.php:161 219 msgid "CDC Code" 220 msgstr "自然人憑證" 221 222 #: src/Admin/OrderMetaBoxes.php:122 src/Gateways/GatewayBase.php:163 223 msgid "Amego Member" 224 msgstr "光貿會員載具" 225 226 #: src/Admin/OrderMetaBoxes.php:124 src/Gateways/GatewayBase.php:165 227 msgid "Donation" 228 msgstr "捐贈" 229 230 #: src/Admin/OrderMetaBoxes.php:126 src/Gateways/GatewayBase.php:167 231 msgid "Company" 232 msgstr "公司發票" 233 234 #: src/Admin/OrderMetaBoxes.php:128 src/Gateways/GatewayBase.php:169 235 msgid "Unknown Issue Info" 236 msgstr "未知的開立方式" 237 238 #: src/Admin/OrderMetaBoxes.php:130 src/Gateways/GatewayBase.php:171 239 msgid "Issue Info" 240 msgstr "開立方式" 241 242 #: src/Admin/OrderMetaBoxes.php:134 src/Gateways/GatewayBase.php:175 243 msgid "Issued" 244 msgstr "已開立" 245 246 #: src/Admin/OrderMetaBoxes.php:136 src/Gateways/GatewayBase.php:177 247 msgid "Failed" 248 msgstr "失敗" 249 250 #: src/Admin/OrderMetaBoxes.php:138 src/Gateways/GatewayBase.php:179 251 msgid "Voided" 252 msgstr "已作廢" 253 254 #: src/Admin/OrderMetaBoxes.php:140 src/Gateways/GatewayBase.php:181 255 msgid "Unknown Issue Status" 256 msgstr "未知的開立狀態" 257 258 #: src/Admin/OrderMetaBoxes.php:142 src/Gateways/GatewayBase.php:183 259 msgid "Issue Status" 260 msgstr "開立狀態" 261 262 #: src/Api/PaymentRequest.php:90 172 263 msgid "Redirecting..." 173 264 msgstr "重新導向中..." 174 265 175 266 #. translators: %s is the order id 176 #: src/Api/PaymentRequest.php:12 5267 #: src/Api/PaymentRequest.php:126 177 268 #, php-format 178 269 msgid "Unable to find order #%s" … … 180 271 181 272 #. translators: %s is the order id 182 #: src/Api/PaymentRequest.php:14 0273 #: src/Api/PaymentRequest.php:141 183 274 #, php-format 184 275 msgid "" … … 188 279 189 280 #. translators: %s is the order id 190 #: src/Api/PaymentRequest.php:15 6281 #: src/Api/PaymentRequest.php:157 191 282 #, php-format 192 283 msgid "Unable to find transaction id for order #%s" … … 194 285 195 286 #. translators: %s is the order id 196 #: src/Api/PaymentRequest.php:1 69287 #: src/Api/PaymentRequest.php:170 197 288 msgid "Unable to Query Order status before refund" 198 289 msgstr "無法於退款前執行訂單交易狀態查詢" 199 290 200 291 #. translators: %s is the TradeStatus of the order 201 #: src/Api/PaymentRequest.php:20 6292 #: src/Api/PaymentRequest.php:207 202 293 #, php-format 203 294 msgid "Unable to Refund this Order. TradeStatus: %1$s, CloseStatus: %2$s" … … 205 296 206 297 #. translators: %s is the TradeStatus of the order 207 #: src/Api/PaymentRequest.php:2 19298 #: src/Api/PaymentRequest.php:220 208 299 #, php-format 209 300 msgid "Unable to Refund this Order. TradeStatus:%s" … … 211 302 212 303 #. translators: %1$s is the status, %2$s is the message, %3$s is the refund amount 213 #: src/Api/PaymentRequest.php:25 7304 #: src/Api/PaymentRequest.php:258 214 305 #, php-format 215 306 msgid "" … … 219 310 220 311 #. translators: %s is the decrypted result 221 #: src/Api/PaymentRequest.php:34 3312 #: src/Api/PaymentRequest.php:344 222 313 #, php-format 223 314 msgid "PAYUNi query succeed. Query result: %s" … … 318 409 msgstr "如果未顯示付款詳細資訊。請稍等片刻,再重新載入頁面。" 319 410 411 #: src/Gateways/GatewayBase.php:141 412 msgid "E-Invoice Detail" 413 msgstr "電子發票資訊" 414 320 415 #. translators: 1: Payment method title 2: PAYUNi URL 321 #: src/Gateways/GatewayBase.php:1 51416 #: src/Gateways/GatewayBase.php:198 322 417 #, php-format 323 418 msgid "%1$s is a payment gateway provided by %2$s" 324 419 msgstr "%1$s 是由 %2$s 所提供的付款方式" 325 420 326 #: src/Gateways/GatewayBase.php: 156src/Settings/SettingsTab.php:31421 #: src/Gateways/GatewayBase.php:203 src/Settings/SettingsTab.php:31 327 422 msgid "PAYUNi" 328 423 msgstr "PAYUNi" 329 424 330 #: src/Gateways/GatewayBase.php:2 11425 #: src/Gateways/GatewayBase.php:258 331 426 msgid "We have received your order, but the payment is incompleted." 332 427 msgstr "" … … 369 464 msgstr "每期" 370 465 371 #: src/PayuniPayment.php:1 42466 #: src/PayuniPayment.php:152 372 467 msgid "Trade No" 373 468 msgstr "UNi序號" 374 469 375 #: src/PayuniPayment.php:1 43470 #: src/PayuniPayment.php:153 376 471 msgid "Trade Amount" 377 472 msgstr "訂單金額" 378 473 379 #: src/PayuniPayment.php:1 44474 #: src/PayuniPayment.php:154 380 475 msgid "Trade Status" 381 476 msgstr "訂單狀態" 382 477 383 #: src/PayuniPayment.php:1 45478 #: src/PayuniPayment.php:155 384 479 msgid "Message" 385 480 msgstr "訊息" 386 481 387 #: src/PayuniPayment.php:1 79482 #: src/PayuniPayment.php:189 388 483 msgid "General Settings" 389 484 msgstr "一般設定" 390 485 391 #: src/PayuniPayment.php:1 80 src/Settings/SettingsTab.php:53486 #: src/PayuniPayment.php:190 src/Settings/SettingsTab.php:53 392 487 #: src/Settings/SettingsTab.php:73 393 488 msgid "Payment Settings" 394 489 msgstr "付款方式設定" 395 490 396 #: src/PayuniPayment.php:2 29491 #: src/PayuniPayment.php:242 397 492 msgid "Unsecure AJAX call" 398 493 msgstr "不安全的 AJAX 呼叫" 399 494 400 #: src/PayuniPayment.php:2 40495 #: src/PayuniPayment.php:253 401 496 msgid "No such order id" 402 497 msgstr "沒有這個訂單編號" 403 498 404 #: src/PayuniPayment.php:2 52499 #: src/PayuniPayment.php:265 405 500 msgid "PAYUNi Query Successfully" 406 501 msgstr "PAYUNi 查詢成功" 407 502 408 #: src/PayuniPayment.php:2 58503 #: src/PayuniPayment.php:271 409 504 msgid "PAYUNi Query Failed!" 410 505 msgstr "PAYUNi 查詢失敗!" … … 458 553 msgstr "統一金流支付頁的語系設定。" 459 554 555 #: src/Settings/SettingsTab.php:117 556 msgid "E-Invoice" 557 msgstr "電子發票" 558 559 #: src/Settings/SettingsTab.php:120 560 msgid "Enable E-Invoice" 561 msgstr "啟用電子發票功能" 562 460 563 #: src/Settings/SettingsTab.php:121 564 msgid "" 565 "You need to register Amego e-invoice and enable e-invoice feature at PAYUNi " 566 "website." 567 msgstr "需於統一金流後台註冊光貿電子發票並啟用電子發票功能。" 568 569 #: src/Settings/SettingsTab.php:129 461 570 msgid "API Settings" 462 571 msgstr "API 設定" 463 572 464 #: src/Settings/SettingsTab.php:1 23573 #: src/Settings/SettingsTab.php:131 465 574 msgid "Enter your PAYUNi API credentials" 466 575 msgstr "請輸入 PAYUNi 串接資料" 467 576 468 #: src/Settings/SettingsTab.php:1 27577 #: src/Settings/SettingsTab.php:135 469 578 msgid "Test Mode" 470 579 msgstr "測試模式" 471 580 472 #: src/Settings/SettingsTab.php:13 0581 #: src/Settings/SettingsTab.php:138 473 582 msgid "When enabled, you need to use the test-only data below." 474 583 msgstr "當啟用測試模式時,請填入測試環境的串接資料。" 475 584 476 #: src/Settings/SettingsTab.php:1 34585 #: src/Settings/SettingsTab.php:142 477 586 msgid "Test MerchantID" 478 587 msgstr "測試商店代號 (MerID)" 479 588 480 #: src/Settings/SettingsTab.php:1 36589 #: src/Settings/SettingsTab.php:144 481 590 msgid "This is the test MerchantID when you apply PAYUNi API" 482 591 msgstr "PAYUNi 測試環境的商店代號" 483 592 484 #: src/Settings/SettingsTab.php:14 1593 #: src/Settings/SettingsTab.php:149 485 594 msgid "Test Hash Key" 486 595 msgstr "測試 Hash Key" 487 596 488 #: src/Settings/SettingsTab.php:1 43597 #: src/Settings/SettingsTab.php:151 489 598 msgid "This is the test Hash Key when you apply PAYUNi API" 490 599 msgstr "PAYUNi 測試環境的 Hash Key" 491 600 492 #: src/Settings/SettingsTab.php:1 48601 #: src/Settings/SettingsTab.php:156 493 602 msgid "Test Hash IV" 494 603 msgstr "測試 Hash IV" 495 604 496 #: src/Settings/SettingsTab.php:15 0605 #: src/Settings/SettingsTab.php:158 497 606 msgid "This is the test Hash IV when you apply PAYUNi API" 498 607 msgstr "PAYUNi 測試環境的 Hash IV" 499 608 500 #: src/Settings/SettingsTab.php:1 55609 #: src/Settings/SettingsTab.php:163 501 610 msgid "MerchantID" 502 611 msgstr "商店代號 (MerID)" 503 612 504 #: src/Settings/SettingsTab.php:1 57613 #: src/Settings/SettingsTab.php:165 505 614 msgid "This is the MerchantID when you apply PAYUNi API" 506 615 msgstr "這是您申請 PAYUNi 時的商店代號" 507 616 508 #: src/Settings/SettingsTab.php:1 62617 #: src/Settings/SettingsTab.php:170 509 618 msgid "Hash Key" 510 619 msgstr "Hash Key" 511 620 512 #: src/Settings/SettingsTab.php:1 64621 #: src/Settings/SettingsTab.php:172 513 622 msgid "This is the Hash Key when you apply PAYUNi API" 514 623 msgstr "這是PAYUNi 提供的商店專屬 Hash Key" 515 624 516 #: src/Settings/SettingsTab.php:1 69625 #: src/Settings/SettingsTab.php:177 517 626 msgid "Hash IV" 518 627 msgstr "Hash IV" 519 628 520 #: src/Settings/SettingsTab.php:17 1629 #: src/Settings/SettingsTab.php:179 521 630 msgid "This is the Hash IV when you apply PAYUNi API" 522 631 msgstr "這是 PAYUNi 提供的商店專屬 HashIV" 523 632 524 #: src/Settings/SettingsTab.php:2 48633 #: src/Settings/SettingsTab.php:256 525 634 msgid "View logs" 526 635 msgstr "檢視除錯紀錄" 527 636 528 #: src/Settings/SettingsTab.php:2 55637 #: src/Settings/SettingsTab.php:263 529 638 msgid "Go to Payment Settings" 530 639 msgstr "設定付款方式" … … 586 695 msgstr "https://wpbrewer.com/" 587 696 697 #~ msgid "Unknown Issue Type" 698 #~ msgstr "未知的開立類別" 699 588 700 #~ msgid "Thank you. Your order has been received." 589 701 #~ msgstr "謝謝,我們已經收到你的訂單。" … … 600 712 601 713 #, fuzzy 602 #~| msgid "Trade Status"603 #~ msgid "License Status"604 #~ msgstr "訂單狀態"605 606 #, fuzzy607 714 #~| msgid "Installments" 608 715 #~ msgid "Install Now" -
wpbr-payuni-payment/tags/1.6.0/languages/wpbr-payuni-payment.pot
r3131276 r3136477 3 3 msgstr "" 4 4 "Project-Id-Version: PAYUNi Payment for WooCommerce\n" 5 "POT-Creation-Date: 2024-0 6-14 06:17+0800\n"5 "POT-Creation-Date: 2024-08-16 16:20+0800\n" 6 6 "PO-Revision-Date: 2023-03-30 14:52+0800\n" 7 7 "Last-Translator: \n" … … 178 178 msgstr "" 179 179 180 #: src/Admin/OrderList.php:38 181 msgid "Invoice No" 182 msgstr "" 183 184 #: src/Admin/OrderList.php:50 185 msgid "Unissue" 186 msgstr "" 187 180 188 #: src/Admin/OrderMetaBoxes.php:61 src/Gateways/GatewayBase.php:121 181 189 msgid "PAYUNi Payment Detail" 182 190 msgstr "" 183 191 184 #: src/Api/PaymentRequest.php:86 192 #: src/Admin/OrderMetaBoxes.php:93 193 msgid "Order No" 194 msgstr "" 195 196 #: src/Admin/OrderMetaBoxes.php:102 src/Gateways/GatewayBase.php:143 197 msgid "E-Invoice No" 198 msgstr "" 199 200 #: src/Admin/OrderMetaBoxes.php:103 src/Gateways/GatewayBase.php:144 201 msgid "E-Invoice Amount" 202 msgstr "" 203 204 #: src/Admin/OrderMetaBoxes.php:104 src/Gateways/GatewayBase.php:145 205 msgid "E-Invoice Time" 206 msgstr "" 207 208 #: src/Admin/OrderMetaBoxes.php:108 src/Gateways/GatewayBase.php:149 209 msgctxt "Issue Type" 210 msgid "Issue" 211 msgstr "" 212 213 #: src/Admin/OrderMetaBoxes.php:110 src/Gateways/GatewayBase.php:151 214 msgctxt "Issue Type" 215 msgid "Void" 216 msgstr "" 217 218 #: src/Admin/OrderMetaBoxes.php:112 src/Gateways/GatewayBase.php:153 219 msgctxt "Issue Type" 220 msgid "Unknown Issue Type" 221 msgstr "" 222 223 #: src/Admin/OrderMetaBoxes.php:114 src/Gateways/GatewayBase.php:155 224 msgid "E-Invoice Type" 225 msgstr "" 226 227 #: src/Admin/OrderMetaBoxes.php:118 src/Gateways/GatewayBase.php:159 228 msgid "Mobile Code" 229 msgstr "" 230 231 #: src/Admin/OrderMetaBoxes.php:120 src/Gateways/GatewayBase.php:161 232 msgid "CDC Code" 233 msgstr "" 234 235 #: src/Admin/OrderMetaBoxes.php:122 src/Gateways/GatewayBase.php:163 236 msgid "Amego Member" 237 msgstr "" 238 239 #: src/Admin/OrderMetaBoxes.php:124 src/Gateways/GatewayBase.php:165 240 msgid "Donation" 241 msgstr "" 242 243 #: src/Admin/OrderMetaBoxes.php:126 src/Gateways/GatewayBase.php:167 244 msgid "Company" 245 msgstr "" 246 247 #: src/Admin/OrderMetaBoxes.php:128 src/Gateways/GatewayBase.php:169 248 msgid "Unknown Issue Info" 249 msgstr "" 250 251 #: src/Admin/OrderMetaBoxes.php:130 src/Gateways/GatewayBase.php:171 252 msgid "Issue Info" 253 msgstr "" 254 255 #: src/Admin/OrderMetaBoxes.php:134 src/Gateways/GatewayBase.php:175 256 msgid "Issued" 257 msgstr "" 258 259 #: src/Admin/OrderMetaBoxes.php:136 src/Gateways/GatewayBase.php:177 260 msgid "Failed" 261 msgstr "" 262 263 #: src/Admin/OrderMetaBoxes.php:138 src/Gateways/GatewayBase.php:179 264 msgid "Voided" 265 msgstr "" 266 267 #: src/Admin/OrderMetaBoxes.php:140 src/Gateways/GatewayBase.php:181 268 msgid "Unknown Issue Status" 269 msgstr "" 270 271 #: src/Admin/OrderMetaBoxes.php:142 src/Gateways/GatewayBase.php:183 272 msgid "Issue Status" 273 msgstr "" 274 275 #: src/Api/PaymentRequest.php:90 185 276 msgid "Redirecting..." 186 277 msgstr "" 187 278 188 279 #. translators: %s is the order id 189 #: src/Api/PaymentRequest.php:12 5280 #: src/Api/PaymentRequest.php:126 190 281 #, php-format 191 282 msgid "Unable to find order #%s" … … 193 284 194 285 #. translators: %s is the order id 195 #: src/Api/PaymentRequest.php:14 0286 #: src/Api/PaymentRequest.php:141 196 287 #, php-format 197 288 msgid "" … … 201 292 202 293 #. translators: %s is the order id 203 #: src/Api/PaymentRequest.php:15 6294 #: src/Api/PaymentRequest.php:157 204 295 #, php-format 205 296 msgid "Unable to find transaction id for order #%s" … … 207 298 208 299 #. translators: %s is the order id 209 #: src/Api/PaymentRequest.php:1 69300 #: src/Api/PaymentRequest.php:170 210 301 msgid "Unable to Query Order status before refund" 211 302 msgstr "" 212 303 213 304 #. translators: %s is the TradeStatus of the order 214 #: src/Api/PaymentRequest.php:20 6305 #: src/Api/PaymentRequest.php:207 215 306 #, php-format 216 307 msgid "Unable to Refund this Order. TradeStatus: %1$s, CloseStatus: %2$s" … … 218 309 219 310 #. translators: %s is the TradeStatus of the order 220 #: src/Api/PaymentRequest.php:2 19311 #: src/Api/PaymentRequest.php:220 221 312 #, php-format 222 313 msgid "Unable to Refund this Order. TradeStatus:%s" … … 224 315 225 316 #. translators: %1$s is the status, %2$s is the message, %3$s is the refund amount 226 #: src/Api/PaymentRequest.php:25 7317 #: src/Api/PaymentRequest.php:258 227 318 #, php-format 228 319 msgid "" … … 232 323 233 324 #. translators: %s is the decrypted result 234 #: src/Api/PaymentRequest.php:34 3325 #: src/Api/PaymentRequest.php:344 235 326 #, php-format 236 327 msgid "PAYUNi query succeed. Query result: %s" … … 331 422 msgstr "" 332 423 424 #: src/Gateways/GatewayBase.php:141 425 msgid "E-Invoice Detail" 426 msgstr "" 427 333 428 #. translators: 1: Payment method title 2: PAYUNi URL 334 #: src/Gateways/GatewayBase.php:1 51429 #: src/Gateways/GatewayBase.php:198 335 430 #, php-format 336 431 msgid "%1$s is a payment gateway provided by %2$s" 337 432 msgstr "" 338 433 339 #: src/Gateways/GatewayBase.php: 156src/Settings/SettingsTab.php:31434 #: src/Gateways/GatewayBase.php:203 src/Settings/SettingsTab.php:31 340 435 msgid "PAYUNi" 341 436 msgstr "" 342 437 343 #: src/Gateways/GatewayBase.php:2 11438 #: src/Gateways/GatewayBase.php:258 344 439 msgid "We have received your order, but the payment is incompleted." 345 440 msgstr "" … … 380 475 msgstr "" 381 476 382 #: src/PayuniPayment.php:1 42477 #: src/PayuniPayment.php:152 383 478 msgid "Trade No" 384 479 msgstr "" 385 480 386 #: src/PayuniPayment.php:1 43481 #: src/PayuniPayment.php:153 387 482 msgid "Trade Amount" 388 483 msgstr "" 389 484 390 #: src/PayuniPayment.php:1 44485 #: src/PayuniPayment.php:154 391 486 msgid "Trade Status" 392 487 msgstr "" 393 488 394 #: src/PayuniPayment.php:1 45489 #: src/PayuniPayment.php:155 395 490 msgid "Message" 396 491 msgstr "" 397 492 398 #: src/PayuniPayment.php:1 79493 #: src/PayuniPayment.php:189 399 494 msgid "General Settings" 400 495 msgstr "" 401 496 402 #: src/PayuniPayment.php:1 80 src/Settings/SettingsTab.php:53497 #: src/PayuniPayment.php:190 src/Settings/SettingsTab.php:53 403 498 #: src/Settings/SettingsTab.php:73 404 499 msgid "Payment Settings" 405 500 msgstr "" 406 501 407 #: src/PayuniPayment.php:2 29502 #: src/PayuniPayment.php:242 408 503 msgid "Unsecure AJAX call" 409 504 msgstr "" 410 505 411 #: src/PayuniPayment.php:2 40506 #: src/PayuniPayment.php:253 412 507 msgid "No such order id" 413 508 msgstr "" 414 509 415 #: src/PayuniPayment.php:2 52510 #: src/PayuniPayment.php:265 416 511 msgid "PAYUNi Query Successfully" 417 512 msgstr "" 418 513 419 #: src/PayuniPayment.php:2 58514 #: src/PayuniPayment.php:271 420 515 msgid "PAYUNi Query Failed!" 421 516 msgstr "" … … 465 560 msgstr "" 466 561 562 #: src/Settings/SettingsTab.php:117 563 msgid "E-Invoice" 564 msgstr "" 565 566 #: src/Settings/SettingsTab.php:120 567 msgid "Enable E-Invoice" 568 msgstr "" 569 467 570 #: src/Settings/SettingsTab.php:121 571 msgid "" 572 "You need to register Amego e-invoice and enable e-invoice feature at PAYUNi " 573 "website." 574 msgstr "" 575 576 #: src/Settings/SettingsTab.php:129 468 577 msgid "API Settings" 469 578 msgstr "" 470 579 471 #: src/Settings/SettingsTab.php:1 23580 #: src/Settings/SettingsTab.php:131 472 581 msgid "Enter your PAYUNi API credentials" 473 582 msgstr "" 474 583 475 #: src/Settings/SettingsTab.php:1 27584 #: src/Settings/SettingsTab.php:135 476 585 msgid "Test Mode" 477 586 msgstr "" 478 587 479 #: src/Settings/SettingsTab.php:13 0588 #: src/Settings/SettingsTab.php:138 480 589 msgid "When enabled, you need to use the test-only data below." 481 590 msgstr "" 482 591 483 #: src/Settings/SettingsTab.php:1 34592 #: src/Settings/SettingsTab.php:142 484 593 msgid "Test MerchantID" 485 594 msgstr "" 486 595 487 #: src/Settings/SettingsTab.php:1 36596 #: src/Settings/SettingsTab.php:144 488 597 msgid "This is the test MerchantID when you apply PAYUNi API" 489 598 msgstr "" 490 599 491 #: src/Settings/SettingsTab.php:14 1600 #: src/Settings/SettingsTab.php:149 492 601 msgid "Test Hash Key" 493 602 msgstr "" 494 603 495 #: src/Settings/SettingsTab.php:1 43604 #: src/Settings/SettingsTab.php:151 496 605 msgid "This is the test Hash Key when you apply PAYUNi API" 497 606 msgstr "" 498 607 499 #: src/Settings/SettingsTab.php:1 48608 #: src/Settings/SettingsTab.php:156 500 609 msgid "Test Hash IV" 501 610 msgstr "" 502 611 503 #: src/Settings/SettingsTab.php:15 0612 #: src/Settings/SettingsTab.php:158 504 613 msgid "This is the test Hash IV when you apply PAYUNi API" 505 614 msgstr "" 506 615 507 #: src/Settings/SettingsTab.php:1 55616 #: src/Settings/SettingsTab.php:163 508 617 msgid "MerchantID" 509 618 msgstr "" 510 619 511 #: src/Settings/SettingsTab.php:1 57620 #: src/Settings/SettingsTab.php:165 512 621 msgid "This is the MerchantID when you apply PAYUNi API" 513 622 msgstr "" 514 623 515 #: src/Settings/SettingsTab.php:1 62624 #: src/Settings/SettingsTab.php:170 516 625 msgid "Hash Key" 517 626 msgstr "" 518 627 519 #: src/Settings/SettingsTab.php:1 64628 #: src/Settings/SettingsTab.php:172 520 629 msgid "This is the Hash Key when you apply PAYUNi API" 521 630 msgstr "" 522 631 523 #: src/Settings/SettingsTab.php:1 69632 #: src/Settings/SettingsTab.php:177 524 633 msgid "Hash IV" 525 634 msgstr "" 526 635 527 #: src/Settings/SettingsTab.php:17 1636 #: src/Settings/SettingsTab.php:179 528 637 msgid "This is the Hash IV when you apply PAYUNi API" 529 638 msgstr "" 530 639 531 #: src/Settings/SettingsTab.php:2 48640 #: src/Settings/SettingsTab.php:256 532 641 msgid "View logs" 533 642 msgstr "" 534 643 535 #: src/Settings/SettingsTab.php:2 55644 #: src/Settings/SettingsTab.php:263 536 645 msgid "Go to Payment Settings" 537 646 msgstr "" -
wpbr-payuni-payment/tags/1.6.0/src/Admin/OrderMetaBoxes.php
r3131276 r3136477 88 88 $gateway = $allowed_payments[ $payment_method ]; 89 89 90 echo '<table>'; 91 90 92 $payuni_order_no_key = PayuniPayment::get_order_meta_key( $order, OrderMeta::PAYUNI_ORDER_NO ); 91 echo '< div><strong>訂單編號:</strong> ' . esc_html( $order->get_meta( $payuni_order_no_key ) ) . '</div>';93 echo '<tr><td><strong>' . esc_html__( 'Order No', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( $payuni_order_no_key ) ) . '</td></tr>'; 92 94 foreach ( $gateway::get_order_metas() as $key => $value ) { 93 95 // for backward compatibility. 94 96 $key = PayuniPayment::get_order_meta_key( $order, $key ); 95 echo '< div><strong>' . esc_html( $value ) . ':</strong> ' . esc_html( $order->get_meta( $key ) ) . '</div>';97 echo '<tr><td><strong>' . esc_html( $value ) . ':</strong></td><td>' . esc_html( $order->get_meta( $key ) ) . '</td></tr>'; 96 98 } 97 99 98 echo '<div><button id="payuni-query-btn" class="button" data-id="' . esc_html( $order->get_id() ) . '">查詢</button></div>'; 100 if ( PayuniPayment::$einvoice_enabled ) { 101 102 echo '<tr><td><strong>' . esc_html__( 'E-Invoice No', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_NO ) ) . '</td></tr>'; 103 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Amount', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_AMT ) ) . '</td></tr>'; 104 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Time', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_TIME ) ) . '</td></tr>'; 105 106 $einvoice_type = $order->get_meta( OrderMeta::EINVOICE_TYPE ); 107 if ( $einvoice_type === 'C0401' ) { 108 $einvoice_type_desc = _x( 'Issue', 'Issue Type', 'wpbr-payuni-payment' ); 109 } elseif ( $einvoice_type === 'C0501' ) { 110 $einvoice_type_desc = _x( 'Void', 'Issue Type', 'wpbr-payuni-payment' ); 111 } else { 112 $einvoice_type_desc = _x( 'Unknown Issue Type', 'Issue Type', 'wpbr-payuni-payment' ); 113 } 114 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Type', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_type . ' (' . $einvoice_type_desc . ')' ) . '</td></tr>'; 115 116 $einvoice_info = $order->get_meta( OrderMeta::EINVOICE_INFO ); 117 if ( $einvoice_info === '3J0002' ) { 118 $einvoice_info_desc = __( 'Mobile Code', 'wpbr-payuni-payment' ) ; 119 } elseif ( $einvoice_info === 'CQ0001' ) { 120 $einvoice_info_desc = __( 'CDC Code', 'wpbr-payuni-payment' ); 121 } elseif ( $einvoice_info === 'amego' ) { 122 $einvoice_info_desc = __( 'Amego Member', 'wpbr-payuni-payment' ); 123 } elseif ( $einvoice_info === 'Donate' ) { 124 $einvoice_info_desc = __( 'Donation', 'wpbr-payuni-payment' ); 125 } elseif ( $einvoice_info === 'Company' ) { 126 $einvoice_info_desc = __( 'Company', 'wpbr-payuni-payment' ); 127 } else { 128 $einvoice_info_desc = __( 'Unknown Issue Info', 'wpbr-payuni-payment' ); 129 } 130 echo '<tr><td><strong>' . esc_html__( 'Issue Info', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_info . ' (' . $einvoice_info_desc . ')' ) . '</td></tr>'; 131 132 $einvoice_status = $order->get_meta( OrderMeta::EINVOICE_STATUS ); 133 if ( $einvoice_status === '1' ) { 134 $einvoice_status_desc = __( 'Issued', 'wpbr-payuni-payment' ); 135 } elseif ( $einvoice_status === '2' ) { 136 $einvoice_status_desc = __( 'Failed', 'wpbr-payuni-payment' ); 137 } elseif ( $einvoice_status === '5' ) { 138 $einvoice_status_desc = __( 'Voided', 'wpbr-payuni-payment' ); 139 } else { 140 $einvoice_status_desc = __( 'Unknown Issue Status', 'wpbr-payuni-payment' ); 141 } 142 echo '<tr><td><strong>' . esc_html__( 'Issue Status', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_status . ' (' . $einvoice_status_desc . ')' ) . '</td></tr>'; 143 }// end einvoice enabled 144 145 echo '<tr id="payuni-action"><td colspan="2"><button id="payuni-query-btn" class="button" data-id="' . esc_html( $order->get_id() ) . '">查詢</button></td></tr>'; 146 echo '</table>'; 147 148 99 149 } 100 150 -
wpbr-payuni-payment/tags/1.6.0/src/Api/PaymentRequest.php
r3131276 r3136477 44 44 'payuni_upp_transaction_args_' . $this->gateway->id, 45 45 array( 46 'MerID' => $this->gateway->get_merchant_id(),47 'MerTradeNo' => PayuniPayment::build_payuni_order_no( $order->get_id() ),48 'TradeAmt' => (int) $order->get_total(),49 'ProdDesc' => implode( ';', $prod_desc ),50 'ReturnURL' => $this->gateway->return_url, // 前景通知網址付款完成返回指定網址 (感謝頁面).51 'NotifyURL' => $this->gateway->notify_url, // 幕後.52 'UsrMail' => $order->get_billing_email(), // 付款頁帶入 email.53 'UsrMailFix' => '1', // 不可修改 email.54 'Timestamp' => time(),55 'Lang' => get_option( 'payuni_payment_language', 'zh-tw' ),46 'MerID' => $this->gateway->get_merchant_id(), 47 'MerTradeNo' => PayuniPayment::build_payuni_order_no( $order->get_id() ), 48 'TradeAmt' => (int) $order->get_total(), 49 'ProdDesc' => implode( ';', $prod_desc ), 50 'ReturnURL' => $this->gateway->return_url, // 前景通知網址付款完成返回指定網址 (感謝頁面). 51 'NotifyURL' => $this->gateway->notify_url, // 幕後. 52 'UsrMail' => $order->get_billing_email(), // 付款頁帶入 email. 53 'UsrMailFix' => '1', // 不可修改 email. 54 'Timestamp' => time(), 55 'Lang' => get_option( 'payuni_payment_language', 'zh-tw' ), 56 56 ), 57 57 $order 58 58 ); 59 60 if ( PayuniPayment::$einvoice_enabled ) { 61 $encrypt_info['TradeInvoice'] = 1; 62 } 59 63 60 64 PayuniPayment::log( 'request encrypt info:' . wc_print_r( $encrypt_info, true ) ); -
wpbr-payuni-payment/tags/1.6.0/src/Api/PaymentResponse.php
r3131276 r3136477 68 68 if ( ! $order ) { 69 69 PayuniPayment::log( 'Cant find order by id:' . $woo_order_id ); 70 return; 71 } 72 73 if ( array_key_exists( 'InvoiceNo', $decrypted_info ) ) { 74 self::save_einvoice_data( $order, $decrypted_info ); 75 $order->add_order_note( 'PAYUNi E-Invoice Notify. InvoiceStatus:' . $decrypted_info['InvoiceStatus'] . ', InvoiceNo:' . $decrypted_info['InvoiceNo'] ); 70 76 return; 71 77 } … … 206 212 } 207 213 214 private static function save_einvoice_data( $order, $decrypted_info ) { 215 $order->update_meta_data( OrderMeta::EINVOICE_NO, $decrypted_info['InvoiceNo'] ); 216 $order->update_meta_data( OrderMeta::EINVOICE_AMT, $decrypted_info['TradeAmt'] ); 217 $order->update_meta_data( OrderMeta::EINVOICE_TIME, $decrypted_info['InvoiceTime'] ); 218 $order->update_meta_data( OrderMeta::EINVOICE_TYPE, $decrypted_info['InvoiceNotifyType'] ); 219 $order->update_meta_data( OrderMeta::EINVOICE_INFO, $decrypted_info['InvoiceInfo'] ); 220 $order->update_meta_data( OrderMeta::EINVOICE_STATUS, $decrypted_info['InvoiceStatus'] ); 221 $order->save(); 222 } 223 208 224 /** 209 225 * A wrapper function to save received post data from PAYUNi -
wpbr-payuni-payment/tags/1.6.0/src/Gateways/GatewayBase.php
r3131276 r3136477 137 137 138 138 echo '</tbody></table>'; 139 140 if ( PayuniPayment::$einvoice_enabled ) { 141 echo '<h2>' . esc_html__( 'E-Invoice Detail', 'wpbr-payuni-payment' ) . '</h2>'; 142 echo '<table class="shop_table payuni_payment_details"><tbody>'; 143 echo '<tr><td><strong>' . esc_html__( 'E-Invoice No', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_NO ) ) . '</td></tr>'; 144 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Amount', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_AMT ) ) . '</td></tr>'; 145 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Time', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_TIME ) ) . '</td></tr>'; 146 147 $einvoice_type = $order->get_meta( OrderMeta::EINVOICE_TYPE ); 148 if ( $einvoice_type === 'C0401' ) { 149 $einvoice_type_desc = _x( 'Issue', 'Issue Type', 'wpbr-payuni-payment' ); 150 } elseif ( $einvoice_type === 'C0501' ) { 151 $einvoice_type_desc = _x( 'Void', 'Issue Type', 'wpbr-payuni-payment' ); 152 } else { 153 $einvoice_type_desc = _x( 'Unknown Issue Type', 'Issue Type', 'wpbr-payuni-payment' ); 154 } 155 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Type', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_type . ' (' . $einvoice_type_desc . ')' ) . '</td></tr>'; 156 157 $einvoice_info = $order->get_meta( OrderMeta::EINVOICE_INFO ); 158 if ( $einvoice_info === '3J0002' ) { 159 $einvoice_info_desc = __( 'Mobile Code', 'wpbr-payuni-payment' ) ; 160 } elseif ( $einvoice_info === 'CQ0001' ) { 161 $einvoice_info_desc = __( 'CDC Code', 'wpbr-payuni-payment' ); 162 } elseif ( $einvoice_info === 'amego' ) { 163 $einvoice_info_desc = __( 'Amego Member', 'wpbr-payuni-payment' ); 164 } elseif ( $einvoice_info === 'Donate' ) { 165 $einvoice_info_desc = __( 'Donation', 'wpbr-payuni-payment' ); 166 } elseif ( $einvoice_info === 'Company' ) { 167 $einvoice_info_desc = __( 'Company', 'wpbr-payuni-payment' ); 168 } else { 169 $einvoice_info_desc = __( 'Unknown Issue Info', 'wpbr-payuni-payment' ); 170 } 171 echo '<tr><td><strong>' . esc_html__( 'Issue Info', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_info . ' (' . $einvoice_info_desc . ')' ) . '</td></tr>'; 172 173 $einvoice_status = $order->get_meta( OrderMeta::EINVOICE_STATUS ); 174 if ( $einvoice_status === '1' ) { 175 $einvoice_status_desc = __( 'Issued', 'wpbr-payuni-payment' ); 176 } elseif ( $einvoice_status === '2' ) { 177 $einvoice_status_desc = __( 'Failed', 'wpbr-payuni-payment' ); 178 } elseif ( $einvoice_status === '5' ) { 179 $einvoice_status_desc = __( 'Voided', 'wpbr-payuni-payment' ); 180 } else { 181 $einvoice_status_desc = __( 'Unknown Issue Status', 'wpbr-payuni-payment' ); 182 } 183 echo '<tr><td><strong>' . esc_html__( 'Issue Status', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_status . ' (' . $einvoice_status_desc . ')' ) . '</td></tr>'; 184 echo '</tbody></table>'; 185 }// end einvoice enabled 139 186 } 140 187 } -
wpbr-payuni-payment/tags/1.6.0/src/PayuniPayment.php
r3131276 r3136477 3 3 namespace WPBrewer\Payuni\Payment; 4 4 5 use WPBrewer\Payuni\Payment\Admin\OrderList; 5 6 use WPBrewer\Payuni\Payment\Admin\OrderMetaBoxes; 6 7 use WPBrewer\Payuni\Payment\Api\PaymentRequest; … … 74 75 75 76 /** 77 * Whether or not e-invoice is enabled 78 * 79 * @var boolean 80 * */ 81 public static $einvoice_enabled; 82 83 /** 76 84 * Order meta for all payment gateways 77 85 * … … 103 111 self::get_instance(); 104 112 105 self::$log_enabled = 'yes' === get_option( 'payuni_payment_debug_log_enabled', 'no' ); 113 self::$log_enabled = 'yes' === get_option( 'payuni_payment_debug_log_enabled', 'no' ); 114 self::$einvoice_enabled = 'yes' === get_option( 'payuni_payment_einvoice_enabled', 'no' ); 106 115 107 116 load_plugin_textdomain( 'wpbr-payuni-payment', false, dirname( WPBR_PAYUNI_BASENAME ) . '/languages/' ); 108 117 118 OrderList::init(); 109 119 OrderMetaBoxes::init(); 110 120 PaymentResponse::init(); … … 194 204 } 195 205 196 wp_enqueue_style( 'payuni-payment', WPBR_PAYUNI_PLUGIN_URL . 'assets/css/payuni-payment-public.css', array(), '1.0.0', 'all' );197 198 wp_enqueue_script( 'payuni-public', WPBR_PAYUNI_PLUGIN_URL . 'assets/js/scripts.js', array(), '1.0', true );206 wp_enqueue_style( 'payuni-payment', WPBR_PAYUNI_PLUGIN_URL . 'assets/css/payuni-payment-public.css', array(), WPBR_PAYUNI_PAYMENT_VERSION, 'all' ); 207 208 wp_enqueue_script( 'payuni-public', WPBR_PAYUNI_PLUGIN_URL . 'assets/js/scripts.js', array(), WPBR_PAYUNI_PAYMENT_VERSION, true ); 199 209 } 200 210 … … 206 216 public function payuni_admin_scripts() { 207 217 208 wp_enqueue_script( 'payuni-admin', WPBR_PAYUNI_PLUGIN_URL . 'assets/js/scripts-admin.js', array(), '1.0', true ); 218 //enqueue admin css 219 wp_enqueue_style( 'payuni-admin', WPBR_PAYUNI_PLUGIN_URL . 'assets/css/styles-admin.css', array(), WPBR_PAYUNI_PAYMENT_VERSION, 'all' ); 220 221 wp_enqueue_script( 'payuni-admin', WPBR_PAYUNI_PLUGIN_URL . 'assets/js/scripts-admin.js', array(), WPBR_PAYUNI_PAYMENT_VERSION, true ); 209 222 wp_localize_script( 210 223 'payuni-admin', -
wpbr-payuni-payment/tags/1.6.0/src/Settings/SettingsTab.php
r3131276 r3136477 115 115 ), 116 116 array( 117 'title' => __( 'E-Invoice', 'wpbr-payuni-payment' ), 118 'type' => 'checkbox', 119 'default' => 'yes', 120 'desc' => __( 'Enable E-Invoice', 'wpbr-payuni-payment' ), 121 'desc_tip' => __( 'You need to register Amego e-invoice and enable e-invoice feature at PAYUNi website.', 'wpbr-payuni-payment' ), 122 'id' => 'payuni_payment_einvoice_enabled', 123 ), 124 array( 117 125 'type' => 'sectionend', 118 126 'id' => 'payment_general_setting', -
wpbr-payuni-payment/tags/1.6.0/src/Utils/OrderMeta.php
r3131276 r3136477 39 39 const AFTEE_PAY_TIME = '_wpbr_payuni_upp_aftee_paytime'; // 付款時間. 40 40 const LINE_PAY_NO = '_wpbr_payuni_upp_linepay_payno'; // 付款序號. 41 42 const EINVOICE_NO = '_wpbr_payuni_einvoice_no'; // 發票編號. 43 const EINVOICE_AMT = '_wpbr_payuni_einvoice_amt'; // 發票金額. 44 const EINVOICE_TIME = '_wpbr_payuni_einvoice_time'; // 發票時間. 45 const EINVOICE_TYPE = '_wpbr_payuni_einvoice_type'; // 發票類型.(C0401=開立發票,C0501=作廢發票) 46 const EINVOICE_INFO = '_wpbr_payuni_einvoice_info'; // 發票資訊.(開立方式和載具類型) 47 const EINVOICE_STATUS = '_wpbr_payuni_einvoice_status'; // 發票狀態. 48 41 49 const PLUGIN_VERSION = '_wpbr_payuni_upp_plugin_version'; // 外掛版本. 42 50 -
wpbr-payuni-payment/tags/1.6.0/vendor/composer/autoload_classmap.php
r3131276 r3136477 8 8 return array( 9 9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 10 'WPBrewer\\Payuni\\Payment\\Admin\\OrderList' => $baseDir . '/src/Admin/OrderList.php', 10 11 'WPBrewer\\Payuni\\Payment\\Admin\\OrderMetaBoxes' => $baseDir . '/src/Admin/OrderMetaBoxes.php', 11 12 'WPBrewer\\Payuni\\Payment\\Api\\PaymentRequest' => $baseDir . '/src/Api/PaymentRequest.php', -
wpbr-payuni-payment/tags/1.6.0/vendor/composer/autoload_static.php
r3131276 r3136477 23 23 public static $classMap = array ( 24 24 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 25 'WPBrewer\\Payuni\\Payment\\Admin\\OrderList' => __DIR__ . '/../..' . '/src/Admin/OrderList.php', 25 26 'WPBrewer\\Payuni\\Payment\\Admin\\OrderMetaBoxes' => __DIR__ . '/../..' . '/src/Admin/OrderMetaBoxes.php', 26 27 'WPBrewer\\Payuni\\Payment\\Api\\PaymentRequest' => __DIR__ . '/../..' . '/src/Api/PaymentRequest.php', -
wpbr-payuni-payment/tags/1.6.0/vendor/composer/installed.php
r3131276 r3136477 2 2 'root' => array( 3 3 'name' => 'wpbrewer/wpbr-payuni-payment', 4 'pretty_version' => '1. 5.2',5 'version' => '1. 5.2.0',6 'reference' => ' 26e7a5080021a65363ae3b98a6592cff75675a5a',4 'pretty_version' => '1.6.0', 5 'version' => '1.6.0.0', 6 'reference' => '92ea2cddb011714d6c460b4634e39e8f4e02fa56', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'wpbrewer/wpbr-payuni-payment' => array( 14 'pretty_version' => '1. 5.2',15 'version' => '1. 5.2.0',16 'reference' => ' 26e7a5080021a65363ae3b98a6592cff75675a5a',14 'pretty_version' => '1.6.0', 15 'version' => '1.6.0.0', 16 'reference' => '92ea2cddb011714d6c460b4634e39e8f4e02fa56', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
wpbr-payuni-payment/tags/1.6.0/wpbr-payuni-payment.php
r3131276 r3136477 9 9 * Description: Provides PAYUNi UPP(UNiPaypage) Payment for WooCommerce. 10 10 * Plugin URI: https://wpbrewer.com/product/wpbr-payuni-payment 11 * Version: 1. 5.211 * Version: 1.6.0 12 12 * Author: WPBrewer 13 13 * Author URI: https://wpbrewer.com/ … … 28 28 define( 'WPBR_PAYUNI_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 29 29 define( 'WPBR_PAYUNI_BASENAME', plugin_basename( __FILE__ ) ); 30 define( 'WPBR_PAYUNI_PAYMENT_VERSION', '1. 5.2' );30 define( 'WPBR_PAYUNI_PAYMENT_VERSION', '1.6.0' ); 31 31 32 32 require_once WPBR_PAYUNI_PLUGIN_DIR . 'vendor/autoload.php'; -
wpbr-payuni-payment/trunk/languages/wpbr-payuni-payment-zh_TW.po
r3131276 r3136477 2 2 msgstr "" 3 3 "Project-Id-Version: PAYUNi Payment for WooCommerce\n" 4 "POT-Creation-Date: 2024-0 6-14 06:17+0800\n"5 "PO-Revision-Date: 2024-0 6-14 06:23+0800\n"4 "POT-Creation-Date: 2024-08-16 16:20+0800\n" 5 "PO-Revision-Date: 2024-08-16 16:20+0800\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 165 165 msgstr "PAYUNi Samsung Pay" 166 166 167 #: src/Admin/OrderList.php:38 168 msgid "Invoice No" 169 msgstr "發票編號" 170 171 #: src/Admin/OrderList.php:50 172 msgid "Unissue" 173 msgstr "未開立" 174 167 175 #: src/Admin/OrderMetaBoxes.php:61 src/Gateways/GatewayBase.php:121 168 176 msgid "PAYUNi Payment Detail" 169 177 msgstr "PAYUNi付款資訊" 170 178 171 #: src/Api/PaymentRequest.php:86 179 #: src/Admin/OrderMetaBoxes.php:93 180 msgid "Order No" 181 msgstr "訂單編號" 182 183 #: src/Admin/OrderMetaBoxes.php:102 src/Gateways/GatewayBase.php:143 184 msgid "E-Invoice No" 185 msgstr "發票編號" 186 187 #: src/Admin/OrderMetaBoxes.php:103 src/Gateways/GatewayBase.php:144 188 msgid "E-Invoice Amount" 189 msgstr "發票金額" 190 191 #: src/Admin/OrderMetaBoxes.php:104 src/Gateways/GatewayBase.php:145 192 msgid "E-Invoice Time" 193 msgstr "開立時間" 194 195 #: src/Admin/OrderMetaBoxes.php:108 src/Gateways/GatewayBase.php:149 196 msgctxt "Issue Type" 197 msgid "Issue" 198 msgstr "開立發票" 199 200 #: src/Admin/OrderMetaBoxes.php:110 src/Gateways/GatewayBase.php:151 201 msgctxt "Issue Type" 202 msgid "Void" 203 msgstr "作廢發票" 204 205 #: src/Admin/OrderMetaBoxes.php:112 src/Gateways/GatewayBase.php:153 206 msgctxt "Issue Type" 207 msgid "Unknown Issue Type" 208 msgstr "未知的發票類別" 209 210 #: src/Admin/OrderMetaBoxes.php:114 src/Gateways/GatewayBase.php:155 211 msgid "E-Invoice Type" 212 msgstr "發票類別" 213 214 #: src/Admin/OrderMetaBoxes.php:118 src/Gateways/GatewayBase.php:159 215 msgid "Mobile Code" 216 msgstr "手機條碼" 217 218 #: src/Admin/OrderMetaBoxes.php:120 src/Gateways/GatewayBase.php:161 219 msgid "CDC Code" 220 msgstr "自然人憑證" 221 222 #: src/Admin/OrderMetaBoxes.php:122 src/Gateways/GatewayBase.php:163 223 msgid "Amego Member" 224 msgstr "光貿會員載具" 225 226 #: src/Admin/OrderMetaBoxes.php:124 src/Gateways/GatewayBase.php:165 227 msgid "Donation" 228 msgstr "捐贈" 229 230 #: src/Admin/OrderMetaBoxes.php:126 src/Gateways/GatewayBase.php:167 231 msgid "Company" 232 msgstr "公司發票" 233 234 #: src/Admin/OrderMetaBoxes.php:128 src/Gateways/GatewayBase.php:169 235 msgid "Unknown Issue Info" 236 msgstr "未知的開立方式" 237 238 #: src/Admin/OrderMetaBoxes.php:130 src/Gateways/GatewayBase.php:171 239 msgid "Issue Info" 240 msgstr "開立方式" 241 242 #: src/Admin/OrderMetaBoxes.php:134 src/Gateways/GatewayBase.php:175 243 msgid "Issued" 244 msgstr "已開立" 245 246 #: src/Admin/OrderMetaBoxes.php:136 src/Gateways/GatewayBase.php:177 247 msgid "Failed" 248 msgstr "失敗" 249 250 #: src/Admin/OrderMetaBoxes.php:138 src/Gateways/GatewayBase.php:179 251 msgid "Voided" 252 msgstr "已作廢" 253 254 #: src/Admin/OrderMetaBoxes.php:140 src/Gateways/GatewayBase.php:181 255 msgid "Unknown Issue Status" 256 msgstr "未知的開立狀態" 257 258 #: src/Admin/OrderMetaBoxes.php:142 src/Gateways/GatewayBase.php:183 259 msgid "Issue Status" 260 msgstr "開立狀態" 261 262 #: src/Api/PaymentRequest.php:90 172 263 msgid "Redirecting..." 173 264 msgstr "重新導向中..." 174 265 175 266 #. translators: %s is the order id 176 #: src/Api/PaymentRequest.php:12 5267 #: src/Api/PaymentRequest.php:126 177 268 #, php-format 178 269 msgid "Unable to find order #%s" … … 180 271 181 272 #. translators: %s is the order id 182 #: src/Api/PaymentRequest.php:14 0273 #: src/Api/PaymentRequest.php:141 183 274 #, php-format 184 275 msgid "" … … 188 279 189 280 #. translators: %s is the order id 190 #: src/Api/PaymentRequest.php:15 6281 #: src/Api/PaymentRequest.php:157 191 282 #, php-format 192 283 msgid "Unable to find transaction id for order #%s" … … 194 285 195 286 #. translators: %s is the order id 196 #: src/Api/PaymentRequest.php:1 69287 #: src/Api/PaymentRequest.php:170 197 288 msgid "Unable to Query Order status before refund" 198 289 msgstr "無法於退款前執行訂單交易狀態查詢" 199 290 200 291 #. translators: %s is the TradeStatus of the order 201 #: src/Api/PaymentRequest.php:20 6292 #: src/Api/PaymentRequest.php:207 202 293 #, php-format 203 294 msgid "Unable to Refund this Order. TradeStatus: %1$s, CloseStatus: %2$s" … … 205 296 206 297 #. translators: %s is the TradeStatus of the order 207 #: src/Api/PaymentRequest.php:2 19298 #: src/Api/PaymentRequest.php:220 208 299 #, php-format 209 300 msgid "Unable to Refund this Order. TradeStatus:%s" … … 211 302 212 303 #. translators: %1$s is the status, %2$s is the message, %3$s is the refund amount 213 #: src/Api/PaymentRequest.php:25 7304 #: src/Api/PaymentRequest.php:258 214 305 #, php-format 215 306 msgid "" … … 219 310 220 311 #. translators: %s is the decrypted result 221 #: src/Api/PaymentRequest.php:34 3312 #: src/Api/PaymentRequest.php:344 222 313 #, php-format 223 314 msgid "PAYUNi query succeed. Query result: %s" … … 318 409 msgstr "如果未顯示付款詳細資訊。請稍等片刻,再重新載入頁面。" 319 410 411 #: src/Gateways/GatewayBase.php:141 412 msgid "E-Invoice Detail" 413 msgstr "電子發票資訊" 414 320 415 #. translators: 1: Payment method title 2: PAYUNi URL 321 #: src/Gateways/GatewayBase.php:1 51416 #: src/Gateways/GatewayBase.php:198 322 417 #, php-format 323 418 msgid "%1$s is a payment gateway provided by %2$s" 324 419 msgstr "%1$s 是由 %2$s 所提供的付款方式" 325 420 326 #: src/Gateways/GatewayBase.php: 156src/Settings/SettingsTab.php:31421 #: src/Gateways/GatewayBase.php:203 src/Settings/SettingsTab.php:31 327 422 msgid "PAYUNi" 328 423 msgstr "PAYUNi" 329 424 330 #: src/Gateways/GatewayBase.php:2 11425 #: src/Gateways/GatewayBase.php:258 331 426 msgid "We have received your order, but the payment is incompleted." 332 427 msgstr "" … … 369 464 msgstr "每期" 370 465 371 #: src/PayuniPayment.php:1 42466 #: src/PayuniPayment.php:152 372 467 msgid "Trade No" 373 468 msgstr "UNi序號" 374 469 375 #: src/PayuniPayment.php:1 43470 #: src/PayuniPayment.php:153 376 471 msgid "Trade Amount" 377 472 msgstr "訂單金額" 378 473 379 #: src/PayuniPayment.php:1 44474 #: src/PayuniPayment.php:154 380 475 msgid "Trade Status" 381 476 msgstr "訂單狀態" 382 477 383 #: src/PayuniPayment.php:1 45478 #: src/PayuniPayment.php:155 384 479 msgid "Message" 385 480 msgstr "訊息" 386 481 387 #: src/PayuniPayment.php:1 79482 #: src/PayuniPayment.php:189 388 483 msgid "General Settings" 389 484 msgstr "一般設定" 390 485 391 #: src/PayuniPayment.php:1 80 src/Settings/SettingsTab.php:53486 #: src/PayuniPayment.php:190 src/Settings/SettingsTab.php:53 392 487 #: src/Settings/SettingsTab.php:73 393 488 msgid "Payment Settings" 394 489 msgstr "付款方式設定" 395 490 396 #: src/PayuniPayment.php:2 29491 #: src/PayuniPayment.php:242 397 492 msgid "Unsecure AJAX call" 398 493 msgstr "不安全的 AJAX 呼叫" 399 494 400 #: src/PayuniPayment.php:2 40495 #: src/PayuniPayment.php:253 401 496 msgid "No such order id" 402 497 msgstr "沒有這個訂單編號" 403 498 404 #: src/PayuniPayment.php:2 52499 #: src/PayuniPayment.php:265 405 500 msgid "PAYUNi Query Successfully" 406 501 msgstr "PAYUNi 查詢成功" 407 502 408 #: src/PayuniPayment.php:2 58503 #: src/PayuniPayment.php:271 409 504 msgid "PAYUNi Query Failed!" 410 505 msgstr "PAYUNi 查詢失敗!" … … 458 553 msgstr "統一金流支付頁的語系設定。" 459 554 555 #: src/Settings/SettingsTab.php:117 556 msgid "E-Invoice" 557 msgstr "電子發票" 558 559 #: src/Settings/SettingsTab.php:120 560 msgid "Enable E-Invoice" 561 msgstr "啟用電子發票功能" 562 460 563 #: src/Settings/SettingsTab.php:121 564 msgid "" 565 "You need to register Amego e-invoice and enable e-invoice feature at PAYUNi " 566 "website." 567 msgstr "需於統一金流後台註冊光貿電子發票並啟用電子發票功能。" 568 569 #: src/Settings/SettingsTab.php:129 461 570 msgid "API Settings" 462 571 msgstr "API 設定" 463 572 464 #: src/Settings/SettingsTab.php:1 23573 #: src/Settings/SettingsTab.php:131 465 574 msgid "Enter your PAYUNi API credentials" 466 575 msgstr "請輸入 PAYUNi 串接資料" 467 576 468 #: src/Settings/SettingsTab.php:1 27577 #: src/Settings/SettingsTab.php:135 469 578 msgid "Test Mode" 470 579 msgstr "測試模式" 471 580 472 #: src/Settings/SettingsTab.php:13 0581 #: src/Settings/SettingsTab.php:138 473 582 msgid "When enabled, you need to use the test-only data below." 474 583 msgstr "當啟用測試模式時,請填入測試環境的串接資料。" 475 584 476 #: src/Settings/SettingsTab.php:1 34585 #: src/Settings/SettingsTab.php:142 477 586 msgid "Test MerchantID" 478 587 msgstr "測試商店代號 (MerID)" 479 588 480 #: src/Settings/SettingsTab.php:1 36589 #: src/Settings/SettingsTab.php:144 481 590 msgid "This is the test MerchantID when you apply PAYUNi API" 482 591 msgstr "PAYUNi 測試環境的商店代號" 483 592 484 #: src/Settings/SettingsTab.php:14 1593 #: src/Settings/SettingsTab.php:149 485 594 msgid "Test Hash Key" 486 595 msgstr "測試 Hash Key" 487 596 488 #: src/Settings/SettingsTab.php:1 43597 #: src/Settings/SettingsTab.php:151 489 598 msgid "This is the test Hash Key when you apply PAYUNi API" 490 599 msgstr "PAYUNi 測試環境的 Hash Key" 491 600 492 #: src/Settings/SettingsTab.php:1 48601 #: src/Settings/SettingsTab.php:156 493 602 msgid "Test Hash IV" 494 603 msgstr "測試 Hash IV" 495 604 496 #: src/Settings/SettingsTab.php:15 0605 #: src/Settings/SettingsTab.php:158 497 606 msgid "This is the test Hash IV when you apply PAYUNi API" 498 607 msgstr "PAYUNi 測試環境的 Hash IV" 499 608 500 #: src/Settings/SettingsTab.php:1 55609 #: src/Settings/SettingsTab.php:163 501 610 msgid "MerchantID" 502 611 msgstr "商店代號 (MerID)" 503 612 504 #: src/Settings/SettingsTab.php:1 57613 #: src/Settings/SettingsTab.php:165 505 614 msgid "This is the MerchantID when you apply PAYUNi API" 506 615 msgstr "這是您申請 PAYUNi 時的商店代號" 507 616 508 #: src/Settings/SettingsTab.php:1 62617 #: src/Settings/SettingsTab.php:170 509 618 msgid "Hash Key" 510 619 msgstr "Hash Key" 511 620 512 #: src/Settings/SettingsTab.php:1 64621 #: src/Settings/SettingsTab.php:172 513 622 msgid "This is the Hash Key when you apply PAYUNi API" 514 623 msgstr "這是PAYUNi 提供的商店專屬 Hash Key" 515 624 516 #: src/Settings/SettingsTab.php:1 69625 #: src/Settings/SettingsTab.php:177 517 626 msgid "Hash IV" 518 627 msgstr "Hash IV" 519 628 520 #: src/Settings/SettingsTab.php:17 1629 #: src/Settings/SettingsTab.php:179 521 630 msgid "This is the Hash IV when you apply PAYUNi API" 522 631 msgstr "這是 PAYUNi 提供的商店專屬 HashIV" 523 632 524 #: src/Settings/SettingsTab.php:2 48633 #: src/Settings/SettingsTab.php:256 525 634 msgid "View logs" 526 635 msgstr "檢視除錯紀錄" 527 636 528 #: src/Settings/SettingsTab.php:2 55637 #: src/Settings/SettingsTab.php:263 529 638 msgid "Go to Payment Settings" 530 639 msgstr "設定付款方式" … … 586 695 msgstr "https://wpbrewer.com/" 587 696 697 #~ msgid "Unknown Issue Type" 698 #~ msgstr "未知的開立類別" 699 588 700 #~ msgid "Thank you. Your order has been received." 589 701 #~ msgstr "謝謝,我們已經收到你的訂單。" … … 600 712 601 713 #, fuzzy 602 #~| msgid "Trade Status"603 #~ msgid "License Status"604 #~ msgstr "訂單狀態"605 606 #, fuzzy607 714 #~| msgid "Installments" 608 715 #~ msgid "Install Now" -
wpbr-payuni-payment/trunk/languages/wpbr-payuni-payment.pot
r3131276 r3136477 3 3 msgstr "" 4 4 "Project-Id-Version: PAYUNi Payment for WooCommerce\n" 5 "POT-Creation-Date: 2024-0 6-14 06:17+0800\n"5 "POT-Creation-Date: 2024-08-16 16:20+0800\n" 6 6 "PO-Revision-Date: 2023-03-30 14:52+0800\n" 7 7 "Last-Translator: \n" … … 178 178 msgstr "" 179 179 180 #: src/Admin/OrderList.php:38 181 msgid "Invoice No" 182 msgstr "" 183 184 #: src/Admin/OrderList.php:50 185 msgid "Unissue" 186 msgstr "" 187 180 188 #: src/Admin/OrderMetaBoxes.php:61 src/Gateways/GatewayBase.php:121 181 189 msgid "PAYUNi Payment Detail" 182 190 msgstr "" 183 191 184 #: src/Api/PaymentRequest.php:86 192 #: src/Admin/OrderMetaBoxes.php:93 193 msgid "Order No" 194 msgstr "" 195 196 #: src/Admin/OrderMetaBoxes.php:102 src/Gateways/GatewayBase.php:143 197 msgid "E-Invoice No" 198 msgstr "" 199 200 #: src/Admin/OrderMetaBoxes.php:103 src/Gateways/GatewayBase.php:144 201 msgid "E-Invoice Amount" 202 msgstr "" 203 204 #: src/Admin/OrderMetaBoxes.php:104 src/Gateways/GatewayBase.php:145 205 msgid "E-Invoice Time" 206 msgstr "" 207 208 #: src/Admin/OrderMetaBoxes.php:108 src/Gateways/GatewayBase.php:149 209 msgctxt "Issue Type" 210 msgid "Issue" 211 msgstr "" 212 213 #: src/Admin/OrderMetaBoxes.php:110 src/Gateways/GatewayBase.php:151 214 msgctxt "Issue Type" 215 msgid "Void" 216 msgstr "" 217 218 #: src/Admin/OrderMetaBoxes.php:112 src/Gateways/GatewayBase.php:153 219 msgctxt "Issue Type" 220 msgid "Unknown Issue Type" 221 msgstr "" 222 223 #: src/Admin/OrderMetaBoxes.php:114 src/Gateways/GatewayBase.php:155 224 msgid "E-Invoice Type" 225 msgstr "" 226 227 #: src/Admin/OrderMetaBoxes.php:118 src/Gateways/GatewayBase.php:159 228 msgid "Mobile Code" 229 msgstr "" 230 231 #: src/Admin/OrderMetaBoxes.php:120 src/Gateways/GatewayBase.php:161 232 msgid "CDC Code" 233 msgstr "" 234 235 #: src/Admin/OrderMetaBoxes.php:122 src/Gateways/GatewayBase.php:163 236 msgid "Amego Member" 237 msgstr "" 238 239 #: src/Admin/OrderMetaBoxes.php:124 src/Gateways/GatewayBase.php:165 240 msgid "Donation" 241 msgstr "" 242 243 #: src/Admin/OrderMetaBoxes.php:126 src/Gateways/GatewayBase.php:167 244 msgid "Company" 245 msgstr "" 246 247 #: src/Admin/OrderMetaBoxes.php:128 src/Gateways/GatewayBase.php:169 248 msgid "Unknown Issue Info" 249 msgstr "" 250 251 #: src/Admin/OrderMetaBoxes.php:130 src/Gateways/GatewayBase.php:171 252 msgid "Issue Info" 253 msgstr "" 254 255 #: src/Admin/OrderMetaBoxes.php:134 src/Gateways/GatewayBase.php:175 256 msgid "Issued" 257 msgstr "" 258 259 #: src/Admin/OrderMetaBoxes.php:136 src/Gateways/GatewayBase.php:177 260 msgid "Failed" 261 msgstr "" 262 263 #: src/Admin/OrderMetaBoxes.php:138 src/Gateways/GatewayBase.php:179 264 msgid "Voided" 265 msgstr "" 266 267 #: src/Admin/OrderMetaBoxes.php:140 src/Gateways/GatewayBase.php:181 268 msgid "Unknown Issue Status" 269 msgstr "" 270 271 #: src/Admin/OrderMetaBoxes.php:142 src/Gateways/GatewayBase.php:183 272 msgid "Issue Status" 273 msgstr "" 274 275 #: src/Api/PaymentRequest.php:90 185 276 msgid "Redirecting..." 186 277 msgstr "" 187 278 188 279 #. translators: %s is the order id 189 #: src/Api/PaymentRequest.php:12 5280 #: src/Api/PaymentRequest.php:126 190 281 #, php-format 191 282 msgid "Unable to find order #%s" … … 193 284 194 285 #. translators: %s is the order id 195 #: src/Api/PaymentRequest.php:14 0286 #: src/Api/PaymentRequest.php:141 196 287 #, php-format 197 288 msgid "" … … 201 292 202 293 #. translators: %s is the order id 203 #: src/Api/PaymentRequest.php:15 6294 #: src/Api/PaymentRequest.php:157 204 295 #, php-format 205 296 msgid "Unable to find transaction id for order #%s" … … 207 298 208 299 #. translators: %s is the order id 209 #: src/Api/PaymentRequest.php:1 69300 #: src/Api/PaymentRequest.php:170 210 301 msgid "Unable to Query Order status before refund" 211 302 msgstr "" 212 303 213 304 #. translators: %s is the TradeStatus of the order 214 #: src/Api/PaymentRequest.php:20 6305 #: src/Api/PaymentRequest.php:207 215 306 #, php-format 216 307 msgid "Unable to Refund this Order. TradeStatus: %1$s, CloseStatus: %2$s" … … 218 309 219 310 #. translators: %s is the TradeStatus of the order 220 #: src/Api/PaymentRequest.php:2 19311 #: src/Api/PaymentRequest.php:220 221 312 #, php-format 222 313 msgid "Unable to Refund this Order. TradeStatus:%s" … … 224 315 225 316 #. translators: %1$s is the status, %2$s is the message, %3$s is the refund amount 226 #: src/Api/PaymentRequest.php:25 7317 #: src/Api/PaymentRequest.php:258 227 318 #, php-format 228 319 msgid "" … … 232 323 233 324 #. translators: %s is the decrypted result 234 #: src/Api/PaymentRequest.php:34 3325 #: src/Api/PaymentRequest.php:344 235 326 #, php-format 236 327 msgid "PAYUNi query succeed. Query result: %s" … … 331 422 msgstr "" 332 423 424 #: src/Gateways/GatewayBase.php:141 425 msgid "E-Invoice Detail" 426 msgstr "" 427 333 428 #. translators: 1: Payment method title 2: PAYUNi URL 334 #: src/Gateways/GatewayBase.php:1 51429 #: src/Gateways/GatewayBase.php:198 335 430 #, php-format 336 431 msgid "%1$s is a payment gateway provided by %2$s" 337 432 msgstr "" 338 433 339 #: src/Gateways/GatewayBase.php: 156src/Settings/SettingsTab.php:31434 #: src/Gateways/GatewayBase.php:203 src/Settings/SettingsTab.php:31 340 435 msgid "PAYUNi" 341 436 msgstr "" 342 437 343 #: src/Gateways/GatewayBase.php:2 11438 #: src/Gateways/GatewayBase.php:258 344 439 msgid "We have received your order, but the payment is incompleted." 345 440 msgstr "" … … 380 475 msgstr "" 381 476 382 #: src/PayuniPayment.php:1 42477 #: src/PayuniPayment.php:152 383 478 msgid "Trade No" 384 479 msgstr "" 385 480 386 #: src/PayuniPayment.php:1 43481 #: src/PayuniPayment.php:153 387 482 msgid "Trade Amount" 388 483 msgstr "" 389 484 390 #: src/PayuniPayment.php:1 44485 #: src/PayuniPayment.php:154 391 486 msgid "Trade Status" 392 487 msgstr "" 393 488 394 #: src/PayuniPayment.php:1 45489 #: src/PayuniPayment.php:155 395 490 msgid "Message" 396 491 msgstr "" 397 492 398 #: src/PayuniPayment.php:1 79493 #: src/PayuniPayment.php:189 399 494 msgid "General Settings" 400 495 msgstr "" 401 496 402 #: src/PayuniPayment.php:1 80 src/Settings/SettingsTab.php:53497 #: src/PayuniPayment.php:190 src/Settings/SettingsTab.php:53 403 498 #: src/Settings/SettingsTab.php:73 404 499 msgid "Payment Settings" 405 500 msgstr "" 406 501 407 #: src/PayuniPayment.php:2 29502 #: src/PayuniPayment.php:242 408 503 msgid "Unsecure AJAX call" 409 504 msgstr "" 410 505 411 #: src/PayuniPayment.php:2 40506 #: src/PayuniPayment.php:253 412 507 msgid "No such order id" 413 508 msgstr "" 414 509 415 #: src/PayuniPayment.php:2 52510 #: src/PayuniPayment.php:265 416 511 msgid "PAYUNi Query Successfully" 417 512 msgstr "" 418 513 419 #: src/PayuniPayment.php:2 58514 #: src/PayuniPayment.php:271 420 515 msgid "PAYUNi Query Failed!" 421 516 msgstr "" … … 465 560 msgstr "" 466 561 562 #: src/Settings/SettingsTab.php:117 563 msgid "E-Invoice" 564 msgstr "" 565 566 #: src/Settings/SettingsTab.php:120 567 msgid "Enable E-Invoice" 568 msgstr "" 569 467 570 #: src/Settings/SettingsTab.php:121 571 msgid "" 572 "You need to register Amego e-invoice and enable e-invoice feature at PAYUNi " 573 "website." 574 msgstr "" 575 576 #: src/Settings/SettingsTab.php:129 468 577 msgid "API Settings" 469 578 msgstr "" 470 579 471 #: src/Settings/SettingsTab.php:1 23580 #: src/Settings/SettingsTab.php:131 472 581 msgid "Enter your PAYUNi API credentials" 473 582 msgstr "" 474 583 475 #: src/Settings/SettingsTab.php:1 27584 #: src/Settings/SettingsTab.php:135 476 585 msgid "Test Mode" 477 586 msgstr "" 478 587 479 #: src/Settings/SettingsTab.php:13 0588 #: src/Settings/SettingsTab.php:138 480 589 msgid "When enabled, you need to use the test-only data below." 481 590 msgstr "" 482 591 483 #: src/Settings/SettingsTab.php:1 34592 #: src/Settings/SettingsTab.php:142 484 593 msgid "Test MerchantID" 485 594 msgstr "" 486 595 487 #: src/Settings/SettingsTab.php:1 36596 #: src/Settings/SettingsTab.php:144 488 597 msgid "This is the test MerchantID when you apply PAYUNi API" 489 598 msgstr "" 490 599 491 #: src/Settings/SettingsTab.php:14 1600 #: src/Settings/SettingsTab.php:149 492 601 msgid "Test Hash Key" 493 602 msgstr "" 494 603 495 #: src/Settings/SettingsTab.php:1 43604 #: src/Settings/SettingsTab.php:151 496 605 msgid "This is the test Hash Key when you apply PAYUNi API" 497 606 msgstr "" 498 607 499 #: src/Settings/SettingsTab.php:1 48608 #: src/Settings/SettingsTab.php:156 500 609 msgid "Test Hash IV" 501 610 msgstr "" 502 611 503 #: src/Settings/SettingsTab.php:15 0612 #: src/Settings/SettingsTab.php:158 504 613 msgid "This is the test Hash IV when you apply PAYUNi API" 505 614 msgstr "" 506 615 507 #: src/Settings/SettingsTab.php:1 55616 #: src/Settings/SettingsTab.php:163 508 617 msgid "MerchantID" 509 618 msgstr "" 510 619 511 #: src/Settings/SettingsTab.php:1 57620 #: src/Settings/SettingsTab.php:165 512 621 msgid "This is the MerchantID when you apply PAYUNi API" 513 622 msgstr "" 514 623 515 #: src/Settings/SettingsTab.php:1 62624 #: src/Settings/SettingsTab.php:170 516 625 msgid "Hash Key" 517 626 msgstr "" 518 627 519 #: src/Settings/SettingsTab.php:1 64628 #: src/Settings/SettingsTab.php:172 520 629 msgid "This is the Hash Key when you apply PAYUNi API" 521 630 msgstr "" 522 631 523 #: src/Settings/SettingsTab.php:1 69632 #: src/Settings/SettingsTab.php:177 524 633 msgid "Hash IV" 525 634 msgstr "" 526 635 527 #: src/Settings/SettingsTab.php:17 1636 #: src/Settings/SettingsTab.php:179 528 637 msgid "This is the Hash IV when you apply PAYUNi API" 529 638 msgstr "" 530 639 531 #: src/Settings/SettingsTab.php:2 48640 #: src/Settings/SettingsTab.php:256 532 641 msgid "View logs" 533 642 msgstr "" 534 643 535 #: src/Settings/SettingsTab.php:2 55644 #: src/Settings/SettingsTab.php:263 536 645 msgid "Go to Payment Settings" 537 646 msgstr "" -
wpbr-payuni-payment/trunk/src/Admin/OrderMetaBoxes.php
r3131276 r3136477 88 88 $gateway = $allowed_payments[ $payment_method ]; 89 89 90 echo '<table>'; 91 90 92 $payuni_order_no_key = PayuniPayment::get_order_meta_key( $order, OrderMeta::PAYUNI_ORDER_NO ); 91 echo '< div><strong>訂單編號:</strong> ' . esc_html( $order->get_meta( $payuni_order_no_key ) ) . '</div>';93 echo '<tr><td><strong>' . esc_html__( 'Order No', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( $payuni_order_no_key ) ) . '</td></tr>'; 92 94 foreach ( $gateway::get_order_metas() as $key => $value ) { 93 95 // for backward compatibility. 94 96 $key = PayuniPayment::get_order_meta_key( $order, $key ); 95 echo '< div><strong>' . esc_html( $value ) . ':</strong> ' . esc_html( $order->get_meta( $key ) ) . '</div>';97 echo '<tr><td><strong>' . esc_html( $value ) . ':</strong></td><td>' . esc_html( $order->get_meta( $key ) ) . '</td></tr>'; 96 98 } 97 99 98 echo '<div><button id="payuni-query-btn" class="button" data-id="' . esc_html( $order->get_id() ) . '">查詢</button></div>'; 100 if ( PayuniPayment::$einvoice_enabled ) { 101 102 echo '<tr><td><strong>' . esc_html__( 'E-Invoice No', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_NO ) ) . '</td></tr>'; 103 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Amount', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_AMT ) ) . '</td></tr>'; 104 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Time', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_TIME ) ) . '</td></tr>'; 105 106 $einvoice_type = $order->get_meta( OrderMeta::EINVOICE_TYPE ); 107 if ( $einvoice_type === 'C0401' ) { 108 $einvoice_type_desc = _x( 'Issue', 'Issue Type', 'wpbr-payuni-payment' ); 109 } elseif ( $einvoice_type === 'C0501' ) { 110 $einvoice_type_desc = _x( 'Void', 'Issue Type', 'wpbr-payuni-payment' ); 111 } else { 112 $einvoice_type_desc = _x( 'Unknown Issue Type', 'Issue Type', 'wpbr-payuni-payment' ); 113 } 114 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Type', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_type . ' (' . $einvoice_type_desc . ')' ) . '</td></tr>'; 115 116 $einvoice_info = $order->get_meta( OrderMeta::EINVOICE_INFO ); 117 if ( $einvoice_info === '3J0002' ) { 118 $einvoice_info_desc = __( 'Mobile Code', 'wpbr-payuni-payment' ) ; 119 } elseif ( $einvoice_info === 'CQ0001' ) { 120 $einvoice_info_desc = __( 'CDC Code', 'wpbr-payuni-payment' ); 121 } elseif ( $einvoice_info === 'amego' ) { 122 $einvoice_info_desc = __( 'Amego Member', 'wpbr-payuni-payment' ); 123 } elseif ( $einvoice_info === 'Donate' ) { 124 $einvoice_info_desc = __( 'Donation', 'wpbr-payuni-payment' ); 125 } elseif ( $einvoice_info === 'Company' ) { 126 $einvoice_info_desc = __( 'Company', 'wpbr-payuni-payment' ); 127 } else { 128 $einvoice_info_desc = __( 'Unknown Issue Info', 'wpbr-payuni-payment' ); 129 } 130 echo '<tr><td><strong>' . esc_html__( 'Issue Info', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_info . ' (' . $einvoice_info_desc . ')' ) . '</td></tr>'; 131 132 $einvoice_status = $order->get_meta( OrderMeta::EINVOICE_STATUS ); 133 if ( $einvoice_status === '1' ) { 134 $einvoice_status_desc = __( 'Issued', 'wpbr-payuni-payment' ); 135 } elseif ( $einvoice_status === '2' ) { 136 $einvoice_status_desc = __( 'Failed', 'wpbr-payuni-payment' ); 137 } elseif ( $einvoice_status === '5' ) { 138 $einvoice_status_desc = __( 'Voided', 'wpbr-payuni-payment' ); 139 } else { 140 $einvoice_status_desc = __( 'Unknown Issue Status', 'wpbr-payuni-payment' ); 141 } 142 echo '<tr><td><strong>' . esc_html__( 'Issue Status', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_status . ' (' . $einvoice_status_desc . ')' ) . '</td></tr>'; 143 }// end einvoice enabled 144 145 echo '<tr id="payuni-action"><td colspan="2"><button id="payuni-query-btn" class="button" data-id="' . esc_html( $order->get_id() ) . '">查詢</button></td></tr>'; 146 echo '</table>'; 147 148 99 149 } 100 150 -
wpbr-payuni-payment/trunk/src/Api/PaymentRequest.php
r3131276 r3136477 44 44 'payuni_upp_transaction_args_' . $this->gateway->id, 45 45 array( 46 'MerID' => $this->gateway->get_merchant_id(),47 'MerTradeNo' => PayuniPayment::build_payuni_order_no( $order->get_id() ),48 'TradeAmt' => (int) $order->get_total(),49 'ProdDesc' => implode( ';', $prod_desc ),50 'ReturnURL' => $this->gateway->return_url, // 前景通知網址付款完成返回指定網址 (感謝頁面).51 'NotifyURL' => $this->gateway->notify_url, // 幕後.52 'UsrMail' => $order->get_billing_email(), // 付款頁帶入 email.53 'UsrMailFix' => '1', // 不可修改 email.54 'Timestamp' => time(),55 'Lang' => get_option( 'payuni_payment_language', 'zh-tw' ),46 'MerID' => $this->gateway->get_merchant_id(), 47 'MerTradeNo' => PayuniPayment::build_payuni_order_no( $order->get_id() ), 48 'TradeAmt' => (int) $order->get_total(), 49 'ProdDesc' => implode( ';', $prod_desc ), 50 'ReturnURL' => $this->gateway->return_url, // 前景通知網址付款完成返回指定網址 (感謝頁面). 51 'NotifyURL' => $this->gateway->notify_url, // 幕後. 52 'UsrMail' => $order->get_billing_email(), // 付款頁帶入 email. 53 'UsrMailFix' => '1', // 不可修改 email. 54 'Timestamp' => time(), 55 'Lang' => get_option( 'payuni_payment_language', 'zh-tw' ), 56 56 ), 57 57 $order 58 58 ); 59 60 if ( PayuniPayment::$einvoice_enabled ) { 61 $encrypt_info['TradeInvoice'] = 1; 62 } 59 63 60 64 PayuniPayment::log( 'request encrypt info:' . wc_print_r( $encrypt_info, true ) ); -
wpbr-payuni-payment/trunk/src/Api/PaymentResponse.php
r3131276 r3136477 68 68 if ( ! $order ) { 69 69 PayuniPayment::log( 'Cant find order by id:' . $woo_order_id ); 70 return; 71 } 72 73 if ( array_key_exists( 'InvoiceNo', $decrypted_info ) ) { 74 self::save_einvoice_data( $order, $decrypted_info ); 75 $order->add_order_note( 'PAYUNi E-Invoice Notify. InvoiceStatus:' . $decrypted_info['InvoiceStatus'] . ', InvoiceNo:' . $decrypted_info['InvoiceNo'] ); 70 76 return; 71 77 } … … 206 212 } 207 213 214 private static function save_einvoice_data( $order, $decrypted_info ) { 215 $order->update_meta_data( OrderMeta::EINVOICE_NO, $decrypted_info['InvoiceNo'] ); 216 $order->update_meta_data( OrderMeta::EINVOICE_AMT, $decrypted_info['TradeAmt'] ); 217 $order->update_meta_data( OrderMeta::EINVOICE_TIME, $decrypted_info['InvoiceTime'] ); 218 $order->update_meta_data( OrderMeta::EINVOICE_TYPE, $decrypted_info['InvoiceNotifyType'] ); 219 $order->update_meta_data( OrderMeta::EINVOICE_INFO, $decrypted_info['InvoiceInfo'] ); 220 $order->update_meta_data( OrderMeta::EINVOICE_STATUS, $decrypted_info['InvoiceStatus'] ); 221 $order->save(); 222 } 223 208 224 /** 209 225 * A wrapper function to save received post data from PAYUNi -
wpbr-payuni-payment/trunk/src/Gateways/GatewayBase.php
r3131276 r3136477 137 137 138 138 echo '</tbody></table>'; 139 140 if ( PayuniPayment::$einvoice_enabled ) { 141 echo '<h2>' . esc_html__( 'E-Invoice Detail', 'wpbr-payuni-payment' ) . '</h2>'; 142 echo '<table class="shop_table payuni_payment_details"><tbody>'; 143 echo '<tr><td><strong>' . esc_html__( 'E-Invoice No', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_NO ) ) . '</td></tr>'; 144 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Amount', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_AMT ) ) . '</td></tr>'; 145 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Time', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $order->get_meta( OrderMeta::EINVOICE_TIME ) ) . '</td></tr>'; 146 147 $einvoice_type = $order->get_meta( OrderMeta::EINVOICE_TYPE ); 148 if ( $einvoice_type === 'C0401' ) { 149 $einvoice_type_desc = _x( 'Issue', 'Issue Type', 'wpbr-payuni-payment' ); 150 } elseif ( $einvoice_type === 'C0501' ) { 151 $einvoice_type_desc = _x( 'Void', 'Issue Type', 'wpbr-payuni-payment' ); 152 } else { 153 $einvoice_type_desc = _x( 'Unknown Issue Type', 'Issue Type', 'wpbr-payuni-payment' ); 154 } 155 echo '<tr><td><strong>' . esc_html__( 'E-Invoice Type', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_type . ' (' . $einvoice_type_desc . ')' ) . '</td></tr>'; 156 157 $einvoice_info = $order->get_meta( OrderMeta::EINVOICE_INFO ); 158 if ( $einvoice_info === '3J0002' ) { 159 $einvoice_info_desc = __( 'Mobile Code', 'wpbr-payuni-payment' ) ; 160 } elseif ( $einvoice_info === 'CQ0001' ) { 161 $einvoice_info_desc = __( 'CDC Code', 'wpbr-payuni-payment' ); 162 } elseif ( $einvoice_info === 'amego' ) { 163 $einvoice_info_desc = __( 'Amego Member', 'wpbr-payuni-payment' ); 164 } elseif ( $einvoice_info === 'Donate' ) { 165 $einvoice_info_desc = __( 'Donation', 'wpbr-payuni-payment' ); 166 } elseif ( $einvoice_info === 'Company' ) { 167 $einvoice_info_desc = __( 'Company', 'wpbr-payuni-payment' ); 168 } else { 169 $einvoice_info_desc = __( 'Unknown Issue Info', 'wpbr-payuni-payment' ); 170 } 171 echo '<tr><td><strong>' . esc_html__( 'Issue Info', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_info . ' (' . $einvoice_info_desc . ')' ) . '</td></tr>'; 172 173 $einvoice_status = $order->get_meta( OrderMeta::EINVOICE_STATUS ); 174 if ( $einvoice_status === '1' ) { 175 $einvoice_status_desc = __( 'Issued', 'wpbr-payuni-payment' ); 176 } elseif ( $einvoice_status === '2' ) { 177 $einvoice_status_desc = __( 'Failed', 'wpbr-payuni-payment' ); 178 } elseif ( $einvoice_status === '5' ) { 179 $einvoice_status_desc = __( 'Voided', 'wpbr-payuni-payment' ); 180 } else { 181 $einvoice_status_desc = __( 'Unknown Issue Status', 'wpbr-payuni-payment' ); 182 } 183 echo '<tr><td><strong>' . esc_html__( 'Issue Status', 'wpbr-payuni-payment' ) . '</strong></td><td>' . esc_html( $einvoice_status . ' (' . $einvoice_status_desc . ')' ) . '</td></tr>'; 184 echo '</tbody></table>'; 185 }// end einvoice enabled 139 186 } 140 187 } -
wpbr-payuni-payment/trunk/src/PayuniPayment.php
r3131276 r3136477 3 3 namespace WPBrewer\Payuni\Payment; 4 4 5 use WPBrewer\Payuni\Payment\Admin\OrderList; 5 6 use WPBrewer\Payuni\Payment\Admin\OrderMetaBoxes; 6 7 use WPBrewer\Payuni\Payment\Api\PaymentRequest; … … 74 75 75 76 /** 77 * Whether or not e-invoice is enabled 78 * 79 * @var boolean 80 * */ 81 public static $einvoice_enabled; 82 83 /** 76 84 * Order meta for all payment gateways 77 85 * … … 103 111 self::get_instance(); 104 112 105 self::$log_enabled = 'yes' === get_option( 'payuni_payment_debug_log_enabled', 'no' ); 113 self::$log_enabled = 'yes' === get_option( 'payuni_payment_debug_log_enabled', 'no' ); 114 self::$einvoice_enabled = 'yes' === get_option( 'payuni_payment_einvoice_enabled', 'no' ); 106 115 107 116 load_plugin_textdomain( 'wpbr-payuni-payment', false, dirname( WPBR_PAYUNI_BASENAME ) . '/languages/' ); 108 117 118 OrderList::init(); 109 119 OrderMetaBoxes::init(); 110 120 PaymentResponse::init(); … … 194 204 } 195 205 196 wp_enqueue_style( 'payuni-payment', WPBR_PAYUNI_PLUGIN_URL . 'assets/css/payuni-payment-public.css', array(), '1.0.0', 'all' );197 198 wp_enqueue_script( 'payuni-public', WPBR_PAYUNI_PLUGIN_URL . 'assets/js/scripts.js', array(), '1.0', true );206 wp_enqueue_style( 'payuni-payment', WPBR_PAYUNI_PLUGIN_URL . 'assets/css/payuni-payment-public.css', array(), WPBR_PAYUNI_PAYMENT_VERSION, 'all' ); 207 208 wp_enqueue_script( 'payuni-public', WPBR_PAYUNI_PLUGIN_URL . 'assets/js/scripts.js', array(), WPBR_PAYUNI_PAYMENT_VERSION, true ); 199 209 } 200 210 … … 206 216 public function payuni_admin_scripts() { 207 217 208 wp_enqueue_script( 'payuni-admin', WPBR_PAYUNI_PLUGIN_URL . 'assets/js/scripts-admin.js', array(), '1.0', true ); 218 //enqueue admin css 219 wp_enqueue_style( 'payuni-admin', WPBR_PAYUNI_PLUGIN_URL . 'assets/css/styles-admin.css', array(), WPBR_PAYUNI_PAYMENT_VERSION, 'all' ); 220 221 wp_enqueue_script( 'payuni-admin', WPBR_PAYUNI_PLUGIN_URL . 'assets/js/scripts-admin.js', array(), WPBR_PAYUNI_PAYMENT_VERSION, true ); 209 222 wp_localize_script( 210 223 'payuni-admin', -
wpbr-payuni-payment/trunk/src/Settings/SettingsTab.php
r3131276 r3136477 115 115 ), 116 116 array( 117 'title' => __( 'E-Invoice', 'wpbr-payuni-payment' ), 118 'type' => 'checkbox', 119 'default' => 'yes', 120 'desc' => __( 'Enable E-Invoice', 'wpbr-payuni-payment' ), 121 'desc_tip' => __( 'You need to register Amego e-invoice and enable e-invoice feature at PAYUNi website.', 'wpbr-payuni-payment' ), 122 'id' => 'payuni_payment_einvoice_enabled', 123 ), 124 array( 117 125 'type' => 'sectionend', 118 126 'id' => 'payment_general_setting', -
wpbr-payuni-payment/trunk/src/Utils/OrderMeta.php
r3131276 r3136477 39 39 const AFTEE_PAY_TIME = '_wpbr_payuni_upp_aftee_paytime'; // 付款時間. 40 40 const LINE_PAY_NO = '_wpbr_payuni_upp_linepay_payno'; // 付款序號. 41 42 const EINVOICE_NO = '_wpbr_payuni_einvoice_no'; // 發票編號. 43 const EINVOICE_AMT = '_wpbr_payuni_einvoice_amt'; // 發票金額. 44 const EINVOICE_TIME = '_wpbr_payuni_einvoice_time'; // 發票時間. 45 const EINVOICE_TYPE = '_wpbr_payuni_einvoice_type'; // 發票類型.(C0401=開立發票,C0501=作廢發票) 46 const EINVOICE_INFO = '_wpbr_payuni_einvoice_info'; // 發票資訊.(開立方式和載具類型) 47 const EINVOICE_STATUS = '_wpbr_payuni_einvoice_status'; // 發票狀態. 48 41 49 const PLUGIN_VERSION = '_wpbr_payuni_upp_plugin_version'; // 外掛版本. 42 50 -
wpbr-payuni-payment/trunk/vendor/composer/autoload_classmap.php
r3131276 r3136477 8 8 return array( 9 9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 10 'WPBrewer\\Payuni\\Payment\\Admin\\OrderList' => $baseDir . '/src/Admin/OrderList.php', 10 11 'WPBrewer\\Payuni\\Payment\\Admin\\OrderMetaBoxes' => $baseDir . '/src/Admin/OrderMetaBoxes.php', 11 12 'WPBrewer\\Payuni\\Payment\\Api\\PaymentRequest' => $baseDir . '/src/Api/PaymentRequest.php', -
wpbr-payuni-payment/trunk/vendor/composer/autoload_static.php
r3131276 r3136477 23 23 public static $classMap = array ( 24 24 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 25 'WPBrewer\\Payuni\\Payment\\Admin\\OrderList' => __DIR__ . '/../..' . '/src/Admin/OrderList.php', 25 26 'WPBrewer\\Payuni\\Payment\\Admin\\OrderMetaBoxes' => __DIR__ . '/../..' . '/src/Admin/OrderMetaBoxes.php', 26 27 'WPBrewer\\Payuni\\Payment\\Api\\PaymentRequest' => __DIR__ . '/../..' . '/src/Api/PaymentRequest.php', -
wpbr-payuni-payment/trunk/vendor/composer/installed.php
r3131276 r3136477 2 2 'root' => array( 3 3 'name' => 'wpbrewer/wpbr-payuni-payment', 4 'pretty_version' => '1. 5.2',5 'version' => '1. 5.2.0',6 'reference' => ' 26e7a5080021a65363ae3b98a6592cff75675a5a',4 'pretty_version' => '1.6.0', 5 'version' => '1.6.0.0', 6 'reference' => '92ea2cddb011714d6c460b4634e39e8f4e02fa56', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'wpbrewer/wpbr-payuni-payment' => array( 14 'pretty_version' => '1. 5.2',15 'version' => '1. 5.2.0',16 'reference' => ' 26e7a5080021a65363ae3b98a6592cff75675a5a',14 'pretty_version' => '1.6.0', 15 'version' => '1.6.0.0', 16 'reference' => '92ea2cddb011714d6c460b4634e39e8f4e02fa56', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
wpbr-payuni-payment/trunk/wpbr-payuni-payment.php
r3131276 r3136477 9 9 * Description: Provides PAYUNi UPP(UNiPaypage) Payment for WooCommerce. 10 10 * Plugin URI: https://wpbrewer.com/product/wpbr-payuni-payment 11 * Version: 1. 5.211 * Version: 1.6.0 12 12 * Author: WPBrewer 13 13 * Author URI: https://wpbrewer.com/ … … 28 28 define( 'WPBR_PAYUNI_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 29 29 define( 'WPBR_PAYUNI_BASENAME', plugin_basename( __FILE__ ) ); 30 define( 'WPBR_PAYUNI_PAYMENT_VERSION', '1. 5.2' );30 define( 'WPBR_PAYUNI_PAYMENT_VERSION', '1.6.0' ); 31 31 32 32 require_once WPBR_PAYUNI_PLUGIN_DIR . 'vendor/autoload.php';
Note: See TracChangeset
for help on using the changeset viewer.