Changeset 2933588
- Timestamp:
- 07/03/2023 11:43:39 PM (3 years ago)
- Location:
- paybyrd/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (1 diff)
-
languages/paybyrd-woocommerce-en_US.po (modified) (1 diff)
-
languages/paybyrd-woocommerce-pt_PT.po (modified) (1 diff)
-
languages/paybyrd-woocommerce.pot (modified) (1 diff)
-
paybyrd-payment.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
paybyrd/trunk/README.txt
r2932423 r2933588 5 5 Requires at least: 4.7 6 6 Tested up to: 5.8 7 Stable tag: 2.1 4.07 Stable tag: 2.15.0 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later -
paybyrd/trunk/languages/paybyrd-woocommerce-en_US.po
r2932423 r2933588 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Paybyrd Payment Plugin 2.1 4.0\n"3 "Project-Id-Version: Paybyrd Payment Plugin 2.15.0\n" 4 4 "MIME-Version: 1.0\n" 5 5 "Content-Type: text/plain; charset=UTF-8\n" -
paybyrd/trunk/languages/paybyrd-woocommerce-pt_PT.po
r2932423 r2933588 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Paybyrd Payment Plugin 2.1 4.0\n"3 "Project-Id-Version: Paybyrd Payment Plugin 2.15.0\n" 4 4 "MIME-Version: 1.0\n" 5 5 "Content-Type: text/plain; charset=UTF-8\n" -
paybyrd/trunk/languages/paybyrd-woocommerce.pot
r2932423 r2933588 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: Paybyrd Payment Plugin 2.1 4.0\n"3 "Project-Id-Version: Paybyrd Payment Plugin 2.15.0\n" 4 4 "MIME-Version: 1.0\n" 5 5 "Content-Type: text/plain; charset=utf-8\n" -
paybyrd/trunk/paybyrd-payment.php
r2932423 r2933588 5 5 * Author: Paybyrd 6 6 * Author URI: https://www.paybyrd.com 7 * Version: 2.1 4.07 * Version: 2.15.0 8 8 * Domain Path: /languages 9 9 */ … … 472 472 $isOrderValid 473 473 ) { 474 // Multicaixa 475 if ($entityId && $paymentReference) { 476 $message = ' 477 Para realizar o pagamento por referência utilize os dados abaixo em qualquer terminal Multicaixa 478 479 <br /> 480 Entidade: ' . $entityId . ' 481 Referência: ' . $paymentReference . ' 482 Montante: €' . $response['amount'] . ' 483 '; 484 485 $order->add_order_note($message, 1); 486 } 487 488 // Multibanco 474 489 if ($serviceSupplierId && $paymentReference) { 475 $to = $response['shopper']['email'];476 $subject = 'Dados Multibanco #' . $response['orderRef'];477 490 $message = ' 478 491 Para efetuar o pagamento a partir do seu homebanking ou de um ATM, selecione "Pagamentos e outros serviços" e, em seguida, selecione "Pagamentos de serviços/compras" 479 492 493 <br /> 480 494 Entidade: ' . $serviceSupplierId . ' 481 495 Referência: ' . $paymentReference . ' … … 483 497 '; 484 498 485 wp_mail($to, $subject, $message); 486 } 487 488 if ($entityId && $paymentReference) { 489 $to = $response['shopper']['email']; 490 $subject = 'Dados Multicaixa #' . $response['orderRef']; 491 $message = ' 492 Para realizar o pagamento por referência utilize os dados abaixo em qualquer terminal Multicaixa 493 494 Entidade: ' . $entityId . ' 495 Referência: ' . $paymentReference . ' 496 Montante: €' . $response['amount'] . ' 497 '; 498 499 wp_mail($to, $subject, $message); 499 $order->add_order_note($message, 1); 500 500 } 501 501 … … 533 533 $paymentReference = isset($_GET['paymentReference']) ? sanitize_text_field($_GET['paymentReference']) : null; 534 534 535 // Multicaixa 535 536 if ($entityId && $paymentReference) { 536 537 $message = ' … … 552 553 } 553 554 555 // Multibanco 554 556 if ($serviceSupplierId && $paymentReference) { 555 557 $message = '
Note: See TracChangeset
for help on using the changeset viewer.