Changeset 925767
- Timestamp:
- 06/03/2014 04:01:53 PM (12 years ago)
- Location:
- woocommerce-mpay24-gateway/trunk
- Files:
-
- 7 edited
-
MPay24/MDXI.xsd (modified) (13 diffs)
-
MPay24/MPay24Shop.php (modified) (1 diff)
-
class-wc-mpay24-shop.php (modified) (11 diffs)
-
gateway-mpay24.php (modified) (20 diffs)
-
languages/wc-mpay24-de_DE.mo (modified) (previous)
-
languages/wc-mpay24-de_DE.po (modified) (6 diffs)
-
readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-mpay24-gateway/trunk/MPay24/MDXI.xsd
r803586 r925767 51 51 <xs:enumeration value="SAFETYPAY"/> 52 52 <xs:enumeration value="KLARNA"/> 53 <xs:enumeration value="SOFORT"/> 53 54 </xs:restriction> 54 55 </xs:simpleType> … … 76 77 <xs:enumeration value="HOBEX-DE"/> 77 78 <xs:enumeration value="HOBEX-NL"/> 79 <xs:enumeration value="BILLPAY"/> 78 80 <xs:enumeration value="INVOICE"/> 79 81 <xs:enumeration value="HP"/> … … 91 93 </xs:restriction> 92 94 </xs:simpleType> 95 <xs:simpleType name="AddressModeType"> 96 <xs:restriction base="xs:string"> 97 <xs:enumeration value="ReadOnly"/> 98 <xs:enumeration value="ReadWrite"/> 99 </xs:restriction> 100 </xs:simpleType> 93 101 <xs:simpleType name="AddressFieldType"> 94 102 <xs:restriction base="xs:string"> … … 96 104 </xs:restriction> 97 105 </xs:simpleType> 106 <xs:simpleType name="CustomerType"> 107 <xs:restriction base="xs:string"> 108 <xs:maxLength value="50"/> 109 </xs:restriction> 110 </xs:simpleType> 98 111 <xs:simpleType name="CustomerIDType"> 99 112 <xs:restriction base="xs:string"> … … 104 117 <xs:restriction base="xs:string"> 105 118 <xs:maxLength value="12"/> 119 </xs:restriction> 120 </xs:simpleType> 121 <xs:simpleType name="URLType"> 122 <xs:restriction base="xs:anyURI"> 123 <xs:pattern value="(http://|https://).{5,2040}"/> 106 124 </xs:restriction> 107 125 </xs:simpleType> … … 211 229 </xs:element> 212 230 </xs:sequence> 213 <xs:attribute name="Mode" use="required">214 <xs:simpleType>215 <xs:restriction base="xs:string">216 <xs:enumeration value="ReadOnly"/>217 <xs:enumeration value="ReadWrite"/>218 </xs:restriction>219 </xs:simpleType>220 </xs:attribute>221 231 </xs:complexType> 222 232 <xs:element name="Order"> … … 224 234 <xs:sequence> 225 235 <xs:element name="ClientIP" type="ClientIPType" minOccurs="0"/> 226 <xs:element name="UserField" type="xs:string" minOccurs="0"/> 236 <xs:element name="UserField" minOccurs="0"> 237 <xs:simpleType> 238 <xs:restriction base="xs:string"> 239 <xs:maxLength value="255"/> 240 </xs:restriction> 241 </xs:simpleType> 242 </xs:element> 227 243 <xs:element name="Tid"> 228 244 <xs:simpleType> … … 275 291 <xs:complexType> 276 292 <xs:sequence> 277 <xs:element name="Description" type="xs:string" minOccurs="0"/> 293 <xs:element name="Description" minOccurs="0"> 294 <xs:simpleType> 295 <xs:restriction base="xs:string"> 296 <xs:maxLength value="255"/> 297 </xs:restriction> 298 </xs:simpleType> 299 </xs:element> 278 300 <xs:element name="Item" minOccurs="0" maxOccurs="unbounded"> 279 301 <xs:complexType> … … 438 460 <xs:complexType> 439 461 <xs:simpleContent> 440 <xs:extension base=" xs:string">462 <xs:extension base="CustomerType"> 441 463 <xs:attribute name="Id"> 442 464 <xs:simpleType> … … 454 476 <xs:complexType> 455 477 <xs:complexContent> 456 <xs:extension base="AddressType"/> 478 <xs:extension base="AddressType"> 479 <xs:attribute name="Mode" type="AddressModeType" use="required"/> 480 </xs:extension> 457 481 </xs:complexContent> 458 482 </xs:complexType> … … 461 485 <xs:complexType> 462 486 <xs:complexContent> 463 <xs:extension base="AddressType"/> 487 <xs:extension base="AddressType"> 488 <xs:attribute name="Mode" type="AddressModeType" use="required"/> 489 </xs:extension> 464 490 </xs:complexContent> 465 491 </xs:complexType> … … 468 494 <xs:complexType> 469 495 <xs:sequence> 470 <xs:element name="Success" type=" xs:anyURI" minOccurs="0"/>471 <xs:element name="Error" type=" xs:anyURI" minOccurs="0"/>472 <xs:element name="Confirmation" type=" xs:anyURI" minOccurs="0"/>473 <xs:element name="Cancel" type=" xs:anyURI" minOccurs="0"/>496 <xs:element name="Success" type="URLType" minOccurs="0"/> 497 <xs:element name="Error" type="URLType" minOccurs="0"/> 498 <xs:element name="Confirmation" type="URLType" minOccurs="0"/> 499 <xs:element name="Cancel" type="URLType" minOccurs="0"/> 474 500 </xs:sequence> 475 501 </xs:complexType> … … 523 549 </xs:complexType> 524 550 </xs:element> 551 <xs:element name="BillingAddr" type="AddressType" minOccurs="0"/> 525 552 <xs:element name="URL" minOccurs="0"> 526 553 <xs:complexType> 527 554 <xs:sequence> 528 <xs:element name="Success" type=" xs:anyURI" minOccurs="0"/>529 <xs:element name="Cancel" type=" xs:anyURI" minOccurs="0"/>555 <xs:element name="Success" type="URLType" minOccurs="0"/> 556 <xs:element name="Cancel" type="URLType" minOccurs="0"/> 530 557 </xs:sequence> 531 558 </xs:complexType> -
woocommerce-mpay24-gateway/trunk/MPay24/MPay24Shop.php
r803175 r925767 375 375 } else 376 376 $this->updateTransaction($tid, $newArgs, true); 377 } else { 378 $this->write_log("Secret not valid: " . $this->getSecret($tid) . "!=" . $args['token'], utf8_encode($to_log)."\n"); 377 379 } 378 380 } -
woocommerce-mpay24-gateway/trunk/class-wc-mpay24-shop.php
r696575 r925767 3 3 4 4 /** 5 * Create and update transaction to mPAY246 *7 */5 * Create and update transaction to mPAY24 6 * 7 */ 8 8 class WC_MPAY24_Shop extends MPay24Shop { 9 /** 10 * @abstract PARAMETER VALUE(s), description 11 * 12 * STRING STATUS : OK, ERROR 13 * STRING OPERATION = CONFIRMATION 14 * STRING TSTATUS : RESERVED, BILLED, REVERSED, CREDITED, ERROR, SUSPENDED 15 * STRING TID : length <= 32 16 * INTEGER PRICE : length = 11 (e. g. "10" = "0,10") 17 * STRING CURRENCY : length = 3 (ISO currency code, e. g. "EUR") 18 * STRING P_TYPE : CC, ELV, EPS, GIROPAY, MAESTRO, MIA, PB, PSC, QUICK 19 * STRING BRAND : AMEX, DINERS, JCB, MASTERCARD, VISA, ATOS, HOBEX-AT, HOBEX-DE, HOBEX-NL, ARZ, BA, ERSTE, HYPO, RZB, ONE, T-MOBILE 20 * INTEGER MPAYTID : length = 11 21 * STRING USER_FIELD 22 * STRING ORDERDESC 23 * STRING CUSTOMER 24 * STRING CUSTOMER_EMAIL 25 * STRING LANGUAGE : length = 2 26 * STRING CUSTOMER_ID : length = 11 27 * STRING PROFILE_STATUS : IGNORED, USED, ERROR, CREATED, UPDATED, DELETED 28 * STRING FILTER_STATUS 29 * STRING APPR_CODE 30 * STRING SECRET 31 */ 32 33 /** 34 * transaction id 35 * @var string 36 */ 9 10 /** 11 * transaction id 12 * @var string 13 */ 37 14 protected $tid; 38 15 39 16 /** 40 * total price41 * @var decimal42 */17 * total price 18 * @var decimal 19 */ 43 20 protected $price; 44 21 45 22 /** 46 * user interface language in 2 uppercased letters47 *48 * @var string49 */23 * user interface language in 2 uppercased letters 24 * 25 * @var string 26 */ 50 27 protected $language = 'DE'; 51 28 52 29 /** 53 * customer name from merchant website customer54 *55 * @var string56 */30 * customer name from merchant website customer 31 * 32 * @var string 33 */ 57 34 protected $customer; 58 35 59 36 /** 60 * customer id from merchant website customer61 *62 * @var string63 */37 * customer id from merchant website customer 38 * 39 * @var string 40 */ 64 41 protected $customerId; 65 42 43 /** 44 * urls for callbacks 45 * 46 * @var string 47 */ 66 48 protected $successUrl = ''; 67 49 protected $errorUrl = ''; … … 70 52 71 53 /** 72 * logger73 *74 * @var object75 */54 * logger 55 * 56 * @var object 57 */ 76 58 protected $log = null; 59 60 /** 61 * styling options for payment page 62 * 63 * @var string 64 */ 65 protected $pageBgColor = '#ffffff'; 66 protected $logoStyle = 'max-width: 100%'; 67 protected $pageHeaderStyle = 'height: auto;line-height: 1.75em;color: #000000;margin-bottom: 10px'; 68 protected $pageCaptionStyle = 'background: transparent;color: #000000;border-radius: 0;margin: 0 5px 0 0;padding: 0;font-size: 1.167em;line-height: 1.357em;text-shadow: none'; 69 protected $pageStyle = 'background: #ffffff'; 70 protected $inputFieldsStyle = ''; 71 protected $dropDownListsStyle = ''; 72 protected $buttonsStyle = ''; 73 protected $errorsStyle = ''; 74 protected $errorsHeaderStyle = ''; 75 protected $successTitleStyle = ''; 76 protected $errorTitleStyle = ''; 77 protected $footerStyle = ''; 77 78 78 79 public function getTid() { … … 114 115 public function getLog() { 115 116 return $this->log; 117 } 118 119 public function getPageBgColor() { 120 return $this->pageBgColor; 121 } 122 123 public function getLogoStyle() { 124 return $this->logoStyle; 125 } 126 127 public function getPageHeaderStyle() { 128 return $this->pageHeaderStyle; 129 } 130 131 public function getPageCaptionStyle() { 132 return $this->pageCaptionStyle; 133 } 134 135 public function getPageStyle() { 136 return $this->pageStyle; 137 } 138 139 public function getInputFieldsStyle() { 140 return $this->inputFieldsStyle; 141 } 142 143 public function getDropDownListsStyle() { 144 return $this->dropDownListsStyle; 145 } 146 147 public function getButtonsStyle() { 148 return $this->buttonsStyle; 149 } 150 151 public function getErrorsStyle() { 152 return $this->errorsStyle; 153 } 154 155 public function getErrorsHeaderStyle() { 156 return $this->errorsHeaderStyle; 157 } 158 159 public function getSuccessTitleStyle() { 160 return $this->successTitleStyle; 161 } 162 163 public function getErrorTitleStyle() { 164 return $this->errorTitleStyle; 165 } 166 167 public function getFooterStyle() { 168 return $this->footerStyle; 116 169 } 117 170 … … 233 286 return $this; 234 287 } 235 236 /** 237 * STRING STATUS : OK, ERROR 238 * STRING OPERATION = CONFIRMATION 239 * STRING TID : length <= 32 240 * STRING TSTATUS : RESERVED, BILLED, REVERSED, CREDITED, ERROR, SUSPENDED 241 * INTEGER PRICE : length = 11 (e. g. "10" = "0,10") 242 * STRING CURRENCY : length = 3 (ISO currency code, e. g. "EUR") 243 * STRING P_TYPE : CC, ELV, EPS, GIROPAY, MAESTRO, MIA, PB, PSC, QUICK 244 * STRING BRAND : AMEX, DINERS, JCB, MASTERCARD, VISA, ATOS, HOBEX-AT, HOBEX-DE, HOBEX-NL, ARZ, BA, ERSTE, HYPO, RZB, ONE, T-MOBILE 245 * INTEGER MPAYTID : length = 11 246 * STRING USER_FIELD 247 * STRING ORDERDESC 248 * STRING CUSTOMER 249 * STRING CUSTOMER_EMAIL 250 * STRING LANGUAGE : length = 2 251 * STRING CUSTOMER_ID : length = 11 252 * STRING PROFILE_STATUS : IGNORED, USED, ERROR, CREATED, UPDATED, DELETED 253 * STRING FILTER_STATUS 254 * STRING APPR_CODE 255 * STRING SECRET 256 * 257 * @return void 258 */ 288 289 public function setPageBgColor( $v ) { 290 if ( null !== $v ) { 291 $v = (string) $v; 292 } 293 294 if ( $this->pageBgColor !== $v ) { 295 $this->pageBgColor = $v; 296 } 297 298 return $this; 299 } 300 301 public function setLogoStyle( $v ) { 302 if ( null !== $v ) { 303 $v = (string) $v; 304 } 305 306 if ( $this->logoStyle !== $v ) { 307 $this->logoStyle = $v; 308 } 309 310 return $this; 311 } 312 313 public function setPageHeaderStyle( $v ) { 314 if ( null !== $v ) { 315 $v = (string) $v; 316 } 317 318 if ( $this->pageHeaderStyle !== $v ) { 319 $this->pageHeaderStyle = $v; 320 } 321 322 return $this; 323 } 324 325 public function setPageCaptionStyle( $v ) { 326 if ( null !== $v ) { 327 $v = (string) $v; 328 } 329 330 if ( $this->pageCaptionStyle !== $v ) { 331 $this->pageCaptionStyle = $v; 332 } 333 334 return $this; 335 } 336 337 public function setPageStyle( $v ) { 338 if ( null !== $v ) { 339 $v = (string) $v; 340 } 341 342 if ( $this->pageStyle !== $v ) { 343 $this->pageStyle = $v; 344 } 345 346 return $this; 347 } 348 349 public function setInputFieldsStyle( $v ) { 350 if ( null !== $v ) { 351 $v = (string) $v; 352 } 353 354 if ( $this->inputFieldsStyle !== $v ) { 355 $this->inputFieldsStyle = $v; 356 } 357 358 return $this; 359 } 360 361 public function setDropDownListsStyle( $v ) { 362 if ( null !== $v ) { 363 $v = (string) $v; 364 } 365 366 if ( $this->dropDownListsStyle !== $v ) { 367 $this->dropDownListsStyle = $v; 368 } 369 370 return $this; 371 } 372 373 public function setButtonsStyle( $v ) { 374 if ( null !== $v ) { 375 $v = (string) $v; 376 } 377 378 if ( $this->buttonsStyle !== $v ) { 379 $this->buttonsStyle = $v; 380 } 381 382 return $this; 383 } 384 385 public function setErrorsStyle( $v ) { 386 if ( null !== $v ) { 387 $v = (string) $v; 388 } 389 390 if ( $this->errorsStyle !== $v ) { 391 $this->errorsStyle = $v; 392 } 393 394 return $this; 395 } 396 397 public function setErrorsHeaderStyle( $v ) { 398 if ( null !== $v ) { 399 $v = (string) $v; 400 } 401 402 if ( $this->errorsHeaderStyle !== $v ) { 403 $this->errorsHeaderStyle = $v; 404 } 405 406 return $this; 407 } 408 409 public function setSuccessTitleStyle( $v ) { 410 if ( null !== $v ) { 411 $v = (string) $v; 412 } 413 414 if ( $this->successTitleStyle !== $v ) { 415 $this->successTitleStyle = $v; 416 } 417 418 return $this; 419 } 420 421 public function setErrorTitleStyle( $v ) { 422 if ( null !== $v ) { 423 $v = (string) $v; 424 } 425 426 if ( $this->errorTitleStyle !== $v ) { 427 $this->errorTitleStyle = $v; 428 } 429 430 return $this; 431 } 432 433 public function setFooterStyle( $v ) { 434 if ( null !== $v ) { 435 $v = (string) $v; 436 } 437 438 if ( $this->footerStyle !== $v ) { 439 $this->footerStyle = $v; 440 } 441 442 return $this; 443 } 444 445 /** 446 * Create a transaction with the reuqired transaction's parameters - TID and PRICE 447 * 448 * @return Transaction 449 */ 259 450 public function createTransaction() { 260 451 global $wpdb; 261 452 453 // transaction exists for payment on failed orders (order-pay url param) 454 $transactionDb = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM " . $wpdb->prefix . GATEWAY_MPAY24_TABLE_NAME . " WHERE tid = %s", $this->getTid() ) ); 455 456 if ($transactionDb != null) { 457 $update = array(); 458 $update['price'] = $this->getPrice() * 100; 459 $update['updated_at'] = date( 'Y-m-d H:i:s', time() ); 460 461 $wpdb->update( 462 $wpdb->prefix . GATEWAY_MPAY24_TABLE_NAME , 463 $update, 464 array( 'tid' => $this->getTid() ) 465 ); 466 467 $secret = $transactionDb->secret; 468 } else { 469 $wpdb->insert( 470 $wpdb->prefix . GATEWAY_MPAY24_TABLE_NAME, 471 array( 472 'tid' => $this->getTid(), 473 'price' => $this->getPrice() * 100, 474 'secret' => $secret, 475 'created_at' => date( 'Y-m-d H:i:s', time() ), 476 ), 477 array( '%s', '%d', '%s', '%s' ) 478 ); 479 480 $secret = $this->createSecret( $this->getTid(), $this->getPrice(), 'EUR', time() ); 481 } 482 262 483 $transaction = new Transaction( $this->getTid() ); 263 484 … … 265 486 $transaction->PRICE = $this->getPrice(); 266 487 $transaction->CURRENCY = 'EUR'; 267 268 $secret = $this->createSecret( $this->getTid(), $this->getPrice(), 'EUR', time() );269 488 $transaction->SECRET = $secret; 270 271 $wpdb->insert( 272 $wpdb->prefix . GATEWAY_MPAY24_TABLE_NAME, 273 array( 274 'tid' => $this->getTid(), 275 'price' => $this->getPrice() * 100, 276 'secret' => $secret, 277 'created_at' => date( 'Y-m-d H:i:s', time() ), 278 ), 279 array( '%s', '%d', '%s', '%s' ) 280 ); 281 489 282 490 return $transaction; 283 491 } 284 492 493 /** 494 * Actualize the transaction, writing all the transaction's parameters into result.txt 495 * 496 * @param string $tid The transaction ID you want to update with the confirmation 497 * @param array $args Arrguments with them the transaction is to be updated 498 * @param bool $shippingConfirmed TRUE if the shipping address is confirmed, FALSE - otherwise (in case of PayPal Express Checkout) 499 */ 285 500 public function updateTransaction( $tid, $args, $shippingConfirmed ) { 286 501 global $wpdb; … … 313 528 } 314 529 530 /** 531 * Give the transaction object back, after the required parameters (TID and PRICE) was set 532 * 533 * @param string $tid The transaction ID of the transaction you want get 534 * @return Transaction 535 */ 315 536 public function getTransaction( $tid ) { 316 537 global $wpdb; … … 326 547 327 548 /** 328 * create xml with the order information 329 * required params are Tid and Price 330 * 331 * @param string $transaction - XML 332 * @return string $mdxi - XML 333 * @see MDXI.xsd and mPAY24 spezification page 78ff. 334 */ 335 public function createMDXI( $transaction ) 336 { 549 * Using the ORDER object, create a MDXI-XML 550 * @param Transaction $transaction The transaction you want to make a MDXI XML file for 551 * @return ORDER 552 * @see MDXI.xsd and mPAY24 spezification page 78ff. 553 */ 554 public function createMDXI( $transaction ) { 337 555 $mdxi = new ORDER(); 338 556 $subTotal = 0.00; … … 340 558 $paymentMethods = $this->getPaymentMethods(); 341 559 if ( 'OK' != $paymentMethods->getGeneralResponse()->getStatus() ) { 342 throw new \Exception( ' EXTERNALSTATUS: ' . $paymentMethods->getExternalStatus() . ' RETURNCODE: ' . $paymentMethods->getGeneralResponse()->getReturnCode() );560 throw new \Exception( 'STATUS: ' . $paymentMethods->getGeneralResponse()->getStatus() . ' RETURNCODE: ' . $paymentMethods->getGeneralResponse()->getReturnCode() ); 343 561 } 344 562 … … 347 565 $mdxi->Order->TemplateSet = 'WEB'; 348 566 $mdxi->Order->TemplateSet->setLanguage( $this->getLanguage() ); 349 567 $mdxi->Order->TemplateSet->setCSSName( 'MOBILE' ); // use responsive template 568 350 569 $mdxi->Order->PaymentTypes->setEnable( 'true' ); 351 570 … … 384 603 * example: $mdxi->Order->setStyle('font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;'); 385 604 */ 386 //$mdxi->Order->setStyle('');387 //$mdxi->Order->setLogoStyle('');388 //$mdxi->Order->setPageHeaderStyle('');389 //$mdxi->Order->setPageCaptionStyle('');390 //$mdxi->Order->setPageStyle('');391 //$mdxi->Order->setInputFieldsStyle('');392 //$mdxi->Order->setDropDownListsStyle('');393 //$mdxi->Order->setButtonsStyle('');394 //$mdxi->Order->setErrorsStyle('');395 //$mdxi->Order->setErrorsHeaderStyle('');396 //$mdxi->Order->setSuccessTitleStyle('');397 //$mdxi->Order->setErrorTitleStyle('');398 //$mdxi->Order->setFooterStyle('');399 605 $mdxi->Order->setStyle( 'background-color: '.$this->getPageBgColor().';font-size: 12px;font-family: "Helvetica Neue",Helvetica,Arial,sans-serif' ); // body styling 606 $mdxi->Order->setLogoStyle( $this->getLogoStyle() ); // styling of logo image 607 $mdxi->Order->setPageHeaderStyle( $this->getPageHeaderStyle() ); 608 $mdxi->Order->setPageCaptionStyle( $this->getPageCaptionStyle() ); 609 $mdxi->Order->setPageStyle( $this->getPageStyle() ); 610 $mdxi->Order->setInputFieldsStyle( $this->getInputFieldsStyle() ); 611 $mdxi->Order->setDropDownListsStyle( $this->getDropDownListsStyle() ); 612 $mdxi->Order->setButtonsStyle( $this->getButtonsStyle() ); 613 $mdxi->Order->setErrorsStyle( $this->getErrorsStyle() ); 614 $mdxi->Order->setErrorsHeaderStyle( $this->getErrorsHeaderStyle() ); 615 $mdxi->Order->setSuccessTitleStyle( $this->getSuccessTitleStyle() ); 616 $mdxi->Order->setErrorTitleStyle( $this->getErrorTitleStyle() ); 617 $mdxi->Order->setFooterStyle( $this->getFooterStyle() ); 618 400 619 return $mdxi; 401 620 } 402 621 403 622 /** 404 * create xml with the order information405 * required params are Tid and Price406 *407 * @param string $tid - XML408 * @return string $mdxi -XML409 * @seeMPay24Shop.php and mPAY24 spezification page 63.410 */623 * NOT IMPLEMENTED 624 * 625 * Using the ORDER object, create a order-xml, which is needed for a transaction with profiles to be started 626 * @param string $tid The transaction ID of the transaction you want to make an order transaction XML file for 627 * @return XML 628 * @see MPay24Shop.php and mPAY24 spezification page 63. 629 */ 411 630 public function createProfileOrder( $tid ) {} 412 631 632 /** 633 * NOT IMPLEMENTED 634 * 635 * Using the ORDER object, create a order-xml, which is needed for a transaction with PayPal Express Checkout to be started 636 * @param string $tid The transaction ID of the transaction you want to make an order transaction XML file for 637 * @return XML 638 */ 413 639 public function createExpressCheckoutOrder( $tid ) {} 414 640 641 /** 642 * NOT IMPLEMENTED 643 * 644 * Using the ORDER object, create a order-xml, which is needed for a transaction with PayPal Express Checkout to be finished 645 * @param string $tid The transaction ID of the transaction you want to make an order transaction XML file for 646 * @param string $shippingCosts The shipping costs amount for the transaction, provided by PayPal, after changing the shipping address 647 * @param string $amount The new amount for the transaction, provided by PayPal, after changing the shipping address 648 * @param bool $cancel TRUE if the a cancelation is wanted after renewing the amounts and FALSE otherwise 649 * @return XML 650 */ 415 651 public function createFinishExpressCheckoutOrder( $tid, $shippingCosts, $amount, $cancel ) {} 416 652 417 public function write_log( $operation, $info_to_log ) 418 { 653 /** 654 * Write a mpay24 log into /plugins/woocommerce/logs/ 655 * @param string $operation The operation, which is to log: GetPaymentMethods, Pay, PayWithProfile, Confirmation, UpdateTransactionStatus, ClearAmount, CreditAmount, CancelTransaction, etc. 656 * @param string $info_to_log The information, which is to log: request, response, etc. 657 */ 658 public function write_log( $operation, $info_to_log ) { 419 659 $result = $operation.$info_to_log; 420 660 … … 424 664 } 425 665 666 /** 667 * It should build a hash from the transaction ID of your shop, the amount of the transaction, 668 * the currency and the timeStamp of the transaction. The mPAY24 confirmation interface will be called 669 * with this hash (parameter name 'token'), so you would be able to check whether the confirmation is 670 * really coming from mPAY24 or not. The hash should be then saved in the transaction object, so that 671 * every transaction has an unique secret token. 672 * @param string $tid The transaction ID you want to make a secret key for 673 * @param string $amount The amount, reserved for this transaction 674 * @param string $currency The timeStamp at the moment the transaction is created 675 * @param string $timeStamp The timeStamp at the moment the transaction is created 676 * @return string 677 */ 426 678 public function createSecret( $tid, $amount, $currency, $timeStamp ) { 427 679 return md5( $tid . $amount . $currency . $timeStamp . mt_rand() ); 428 680 } 429 681 682 /** 683 * Get the secret (hashed) token for a transaction 684 * @param string $tid The transaction ID you want to get the secret key for 685 * @return string 686 */ 430 687 public function getSecret( $tid ) { 431 688 $transaction = $this->getTransaction( $tid ); -
woocommerce-mpay24-gateway/trunk/gateway-mpay24.php
r803586 r925767 3 3 Plugin Name: WooCommerce mPAY24 Gateway 4 4 Plugin URI: http://www.woothemes.com/product-category/woocommerce-extensions/ 5 Description: Add mPAY24 Payment Gateway with credit card supportto WooCommerce Plugin6 Version: 1. 25 Description: Add mPAY24 Payment Gateway to WooCommerce Plugin 6 Version: 1.3 7 7 Author: datenwerk innovationsagentur GmbH 8 8 Author URI: http://www.datenwerk.at 9 9 Requires at least: 3.5 10 Tested up to: 3. 7.110 Tested up to: 3.9.1 11 11 */ 12 12 … … 22 22 23 23 if ( ! defined( 'GATEWAY_MPAY24_VERSION' ) ) { 24 define( 'GATEWAY_MPAY24_VERSION', '1. 2' );24 define( 'GATEWAY_MPAY24_VERSION', '1.3' ); 25 25 } 26 26 if ( ! defined( 'GATEWAY_MPAY24_TABLE_NAME' ) ) { … … 84 84 ?> 85 85 <div id="message" class="updated woocommerce-message wc-connect"> 86 <div class="squeezer"> 87 <h4><?php _e( '<strong>mPAY24 gateway is installed</strong> – Configure the setting to get started :)', 'wc-mpay24' ); ?></h4> 88 <p class="submit"><a href="<?php echo admin_url( 'admin.php?page=woocommerce_settings&tab=payment_gateways' ); ?>" class="button-primary"><?php _e( 'Payment Settings', 'wc-mpay24' ); ?></a></p> 89 </div> 86 <p><?php _e( '<strong>mPAY24 gateway is installed</strong> – Configure the setting to get started :)', 'wc-mpay24' ); ?></p> 87 <p class="submit"><a href="<?php echo admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=wc_gateway_mpay24' ); ?>" class="button-primary"><?php _e( 'Checkout', 'wc-mpay24' ); ?></a></p> 90 88 </div> 91 89 <?php … … 118 116 var $debug; 119 117 var $notify_url; 118 var $page_bg_color = '#ffffff'; 119 var $logo_style = 'max-width: 100%'; 120 var $page_header_style = 'height: auto;line-height: 1.75em;color: #000000;margin-bottom: 10px'; 121 var $page_caption_style = 'background: transparent;color: #000000;border-radius: 0;margin: 0 5px 0 0;padding: 0;font-size: 1.167em;line-height: 1.5em;text-shadow: none'; 122 var $page_style = 'background: #ffffff'; 123 var $input_fields_style = ''; 124 var $drop_down_lists_style = ''; 125 var $buttons_style = ''; 126 var $errors_style = ''; 127 var $errors_header_style = ''; 128 var $success_title_style = ''; 129 var $error_title_style = ''; 130 var $footer_style = ''; 120 131 121 132 /** … … 129 140 $this->has_fields = false; 130 141 $this->method_title = __( 'mPAY24', 'wc-mpay24' ); // backend title 131 $this->method_description = __( ' Credit cardpayment via mPAY24 payment page', 'wc-mpay24' ); // backend description142 $this->method_description = __( 'Online payment via mPAY24 payment page', 'wc-mpay24' ); // backend description 132 143 $this->notify_url = str_replace( 'https:', 'http:', add_query_arg( 'wc-api', 'WC_Gateway_MPAY24', home_url( '/' ) ) ); 133 144 … … 141 152 142 153 // Get setting values 143 $this->title = $this->settings['title']; // frontend title 144 $this->description = $this->settings['description']; // frontend description 145 $this->thankyou_text = $this->settings['thankyou_text']; 146 $this->email_text = $this->settings['email_text']; 147 $this->payment_page_lang = $this->settings['payment_page_lang']; 148 $this->apiusertest = $this->settings['apiusertest']; 149 $this->apipasstest = $this->settings['apipasstest']; 150 $this->apiuserprod = $this->settings['apiuserprod']; 151 $this->apipassprod = $this->settings['apipassprod']; 152 $this->testmode = $this->settings['testmode']; 153 $this->debug = $this->settings['debug']; 154 $this->title = $this->get_option( 'title' ); // frontend title 155 $this->description = $this->get_option( 'description' ); // frontend description 156 $this->thankyou_text = $this->get_option( 'thankyou_text' ); 157 $this->email_text = $this->get_option( 'email_text' ); 158 159 $this->apiusertest = $this->get_option( 'apiusertest' ); 160 $this->apipasstest = $this->get_option( 'apipasstest' ); 161 $this->apiuserprod = $this->get_option( 'apiuserprod' ); 162 $this->apipassprod = $this->get_option( 'apipassprod' ); 163 $this->testmode = $this->get_option( 'testmode' ); 164 $this->debug = $this->get_option( 'debug' ); 165 166 $this->payment_page_lang = $this->get_option( 'payment_page_lang' ); 167 $this->page_bg_color = $this->get_option( 'page_bg_color' ); 168 $this->logo_style = $this->get_option( 'logo_style' ); 169 $this->page_header_style = $this->get_option( 'page_header_style' ); 170 $this->page_caption_style = $this->get_option( 'page_caption_style' ); 171 $this->page_style = $this->get_option( 'page_style' ); 172 $this->input_fields_style = $this->get_option( 'input_fields_style' ); 173 $this->drop_down_lists_style = $this->get_option( 'drop_down_lists_style' ); 174 $this->buttons_style = $this->get_option( 'buttons_style' ); 175 $this->errors_style = $this->get_option( 'errors_style' ); 176 $this->errors_header_style = $this->get_option( 'errors_header_style' ); 177 $this->success_title_style = $this->get_option( 'success_title_style' ); 178 $this->error_title_style = $this->get_option( 'error_title_style' ); 179 $this->footer_style = $this->get_option( 'footer_style' ); 154 180 155 181 // Logging 156 182 if ( 'yes' == $this->debug ) { 157 $this->log = $woocommerce->logger();183 $this->log = new WC_Logger(); 158 184 } 159 185 … … 165 191 // Payment listener/API hook 166 192 add_action( 'woocommerce_api_wc_gateway_mpay24', array( $this, 'check_mpay24_response' ) ); // mPAY24 transaction confirmation 167 add_action( 'valid -mpay24-standard-request', array( $this, 'successful_request' ) ); // order status update193 add_action( 'valid_mpay24_standard_request', array( $this, 'successful_request' ) ); // order status update 168 194 } 169 195 … … 180 206 public function init_form_fields() { 181 207 $this->form_fields = array( 208 'woocommerce_settings' => array( 209 'title' => __( 'Woocommerce Settings', 'wc-mpay24' ), 210 'type' => 'title', 211 'description' => '', 212 ), 182 213 'enabled' => array( 183 214 'title' => __( 'Enable/Disable', 'wc-mpay24' ), … … 191 222 'type' => 'text', 192 223 'description' => __( 'This controls the title which the user sees during checkout.', 'wc-mpay24' ), 224 'desc_tip' => true, 193 225 'default' => __( 'Credit card', 'wc-mpay24' ) 194 226 ), … … 197 229 'type' => 'textarea', 198 230 'description' => __( 'This controls the description which the user sees during checkout.', 'wc-mpay24' ), 231 'desc_tip' => true, 199 232 'default' => __( 'Pay with your credit card via mPAY24.', 'wc-mpay24' ) 200 233 ), … … 202 235 'title' => __( 'Thank you page text', 'wc-mpay24' ), 203 236 'type' => 'textarea', 204 'description' => __( 'This controls the text which the user sees on the order thank you page above order details.', 'wc-mpay24' ) 237 'description' => __( 'This controls the text which the user sees on the order thank you page above order details.', 'wc-mpay24' ), 238 'desc_tip' => true 205 239 ), 206 240 'email_text' => array( 207 241 'title' => __( 'Customer email text', 'wc-mpay24' ), 208 242 'type' => 'textarea', 209 'description' => __( 'This controls the text which the user sees in order confirmation email below order table.', 'wc-mpay24' ) 243 'description' => __( 'This controls the text which the user sees in order confirmation email below order table.', 'wc-mpay24' ), 244 'desc_tip' => true 245 ), 246 'mpay24_settings' => array( 247 'title' => __( 'mPAY24 Settings', 'wc-mpay24' ), 248 'type' => 'title', 249 'description' => '', 250 ), 251 'apiusertest' => array( 252 'title' => __( 'Username TEST', 'wc-mpay24' ), 253 'type' => 'text', 254 'description' => __( 'This is the SOAP API username (without leading u) for test environment.', 'wc-mpay24' ), 255 'desc_tip' => true, 256 'default' => '' 257 ), 258 'apipasstest' => array( 259 'title' => __( 'Password TEST', 'wc-mpay24' ), 260 'type' => 'password', 261 'description' => __( 'This is the SOAP API password for test environment.', 'wc-mpay24' ), 262 'desc_tip' => true, 263 'default' => '' 264 ), 265 'apiuserprod' => array( 266 'title' => __( 'Username PROD', 'wc-mpay24' ), 267 'type' => 'text', 268 'description' => __( 'This is the SOAP API username (without leading u) for prod environment.', 'wc-mpay24' ), 269 'desc_tip' => true, 270 'default' => '' 271 ), 272 'apipassprod' => array( 273 'title' => __( 'Password PROD', 'wc-mpay24' ), 274 'type' => 'password', 275 'description' => __( 'This is the SOAP API password for prod environment.', 'wc-mpay24' ), 276 'desc_tip' => true, 277 'default' => '' 278 ), 279 'testmode' => array( 280 'title' => __( 'Test Mode', 'wc-mpay24' ), 281 'label' => __( 'Enable Test Mode', 'wc-mpay24' ), 282 'type' => 'checkbox', 283 'description' => __( 'Place the payment gateway in test mode.', 'wc-mpay24' ), 284 'desc_tip' => true, 285 'default' => 'yes' 286 ), 287 'debug' => array( 288 'title' => __( 'Debug Log', 'wc-mpay24' ), 289 'label' => __( 'Enable logging', 'wc-mpay24' ), 290 'type' => 'checkbox', 291 'description' => __( 'Log mPAY24 events inside <code>/plugins/woocommerce/logs/</code>', 'wc-mpay24' ), 292 'default' => 'no' 293 294 ), 295 'styling' => array( 296 'title' => __( 'mPAY24 Payment Page Styling', 'wc-mpay24' ), 297 'type' => 'title', 298 'description' => 'Tipp for CSS rules: no semicolon after last rule', 210 299 ), 211 300 'payment_page_lang' => array( 212 'title' => __( ' mPAY24 Payment pageLanguage', 'wc-mpay24' ),301 'title' => __( 'Language', 'wc-mpay24' ), 213 302 'type' => 'select', 214 303 'options' => array( … … 234 323 'TR' => __( 'Turkish', 'wc-mpay24' ) 235 324 ), // see mPAY24 specification Appendix for supported languages 236 'description' => __( 'This controls in which langage the payment page is shown.', 'wc-mpay24' ), 325 'description' => __( 'This controls in which language the payment page is shown.', 'wc-mpay24' ), 326 'desc_tip' => true, 237 327 'default' => 'DE' 238 328 ), 239 'apiusertest' => array( 240 'title' => __( 'Username TEST', 'wc-mpay24' ), 329 'page_bg_color' => array( 330 'title' => __( 'Page Background Color', 'wc-mpay24' ), 331 'description' => __( 'Background color of the payment page. Default', 'wc-mpay24' ).' <code>#ffffff</code>.', 241 332 'type' => 'text', 242 'description' => __( 'This is the SOAP API username (without leading u) for test environment.', 'wc-mpay24' ), 243 'default' => '' 244 ), 245 'apipasstest' => array( 246 'title' => __( 'Password TEST', 'wc-mpay24' ), 247 'type' => 'password', 248 'description' => __( 'This is the SOAP API password for test environment.', 'wc-mpay24' ), 249 'default' => '' 250 ), 251 'apiuserprod' => array( 252 'title' => __( 'Username PROD', 'wc-mpay24' ), 253 'type' => 'text', 254 'description' => __( 'This is the SOAP API username (without leading u) for prod environment.', 'wc-mpay24' ), 255 'default' => '' 256 ), 257 'apipassprod' => array( 258 'title' => __( 'Password PROD', 'wc-mpay24' ), 259 'type' => 'password', 260 'description' => __( 'This is the SOAP API password for prod environment.', 'wc-mpay24' ), 261 'default' => '' 262 ), 263 'testmode' => array( 264 'title' => __( 'mPAY24 Test Mode', 'wc-mpay24' ), 265 'label' => __( 'Enable Test Mode', 'wc-mpay24' ), 266 'type' => 'checkbox', 267 'description' => __( 'Place the payment gateway in development mode.', 'wc-mpay24' ), 268 'default' => 'yes' 269 ), 270 'debug' => array( 271 'title' => __( 'Debug Log', 'wc-mpay24' ), 272 'type' => 'checkbox', 273 'label' => __( 'Enable logging', 'wc-mpay24' ), 274 'default' => 'no', 275 'description' => __( 'Log mPAY24 events inside <code>woocommerce/logs/mpay24.txt</code>', 'wc-mpay24' ) 333 'class' => 'colorpick', 334 'css' => 'width:6em;', 335 'default' => '#ffffff' 336 ), 337 'logo_style' => array( 338 'title' => __( 'Logo Styling', 'wc-mpay24' ), 339 'description' => __( 'CSS rules for payment page logo image. Default', 'wc-mpay24' ).' <code>max-width: 100%</code>.', 340 'type' => 'textarea', 341 'default' => 'max-width: 100%' 342 ), 343 'page_header_style' => array( 344 'title' => __( 'Page Header Styling', 'wc-mpay24' ), 345 'description' => __( 'CSS rules for payment page header. Default', 'wc-mpay24' ).' <code>height: auto;line-height: 1.75em;color: #000000;margin-bottom: 10px</code>.', 346 'type' => 'textarea', 347 'default' => 'height: auto;line-height: 1.75em;color: #000000;margin-bottom: 10px' 348 ), 349 'page_caption_style' => array( 350 'title' => __( 'Page Caption Styling', 'wc-mpay24' ), 351 'description' => __( 'CSS rules for payment page caption. Default', 'wc-mpay24' ).' <code>background: transparent;color: #000000;border-radius: 0;margin: 0 5px 0 0;padding: 0;font-size: 1.167em;line-height: 1.357em;text-shadow: none</code>.', 352 'type' => 'textarea', 353 'default' => 'background: transparent;color: #000000;border-radius: 0;margin: 0 5px 0 0;padding: 0;font-size: 1.167em;line-height: 1.357em;text-shadow: none' 354 ), 355 'page_style' => array( 356 'title' => __( 'Page Styling', 'wc-mpay24' ), 357 'description' => __( 'CSS rules for payment page box with inputs. Default', 'wc-mpay24' ).' <code>background: #ffffff</code>.', 358 'type' => 'textarea', 359 'default' => 'background: #ffffff' 360 ), 361 'input_fields_style' => array( 362 'title' => __( 'Input Fields Styling', 'wc-mpay24' ), 363 'description' => __( 'CSS rules for payment page input fields.', 'wc-mpay24' ), 364 'type' => 'textarea', 365 'default' => '' 366 ), 367 'drop_down_lists_style' => array( 368 'title' => __( 'Drop Down Lists Styling', 'wc-mpay24' ), 369 'description' => __( 'CSS rules for payment page drop down lists.', 'wc-mpay24' ), 370 'type' => 'textarea', 371 'default' => '' 372 ), 373 'buttons_style' => array( 374 'title' => __( 'Buttons Styling', 'wc-mpay24' ), 375 'description' => __( 'CSS rules for payment page buttons.', 'wc-mpay24' ), 376 'type' => 'textarea', 377 'default' => '' 378 ), 379 'errors_style' => array( 380 'title' => __( 'Errors Styling', 'wc-mpay24' ), 381 'description' => __( 'CSS rules for payment page error messages.', 'wc-mpay24' ), 382 'type' => 'textarea', 383 'default' => '' 384 ), 385 'errors_header_style' => array( 386 'title' => __( 'Errors Header Styling', 'wc-mpay24' ), 387 'description' => __( 'CSS rules for payment page error heading.', 'wc-mpay24' ), 388 'type' => 'textarea', 389 'default' => '' 390 ), 391 'success_title_style' => array( 392 'title' => __( 'Success Title Styling', 'wc-mpay24' ), 393 'description' => __( 'CSS rules for payment success page title area.', 'wc-mpay24' ), 394 'type' => 'textarea', 395 'default' => '' 396 ), 397 'error_title_style' => array( 398 'title' => __( 'Error Title Styling', 'wc-mpay24' ), 399 'description' => __( 'CSS rules for payment error page title area.', 'wc-mpay24' ), 400 'type' => 'textarea', 401 'default' => '' 402 ), 403 'footer_style' => array( 404 'title' => __( 'Footer Styling', 'wc-mpay24' ), 405 'description' => __( 'CSS rules for payment page footer area.', 'wc-mpay24' ), 406 'type' => 'textarea', 407 'default' => '' 276 408 ) 277 409 ); … … 288 420 ?> 289 421 <h3><?php _e( 'mPAY24', 'wc-mpay24' ); ?></h3> 290 <p><?php _e( ' Credit cardpayment via mPAY24 payment page', 'wc-mpay24' ); ?></p>422 <p><?php _e( 'Online payment via mPAY24 payment page', 'wc-mpay24' ); ?></p> 291 423 <table class="form-table"> 292 424 <?php … … 332 464 $shop->setConfirmUrl( $this->notify_url ); 333 465 466 $shop->setPageBgColor( $this->page_bg_color ); 467 $shop->setLogoStyle( $this->logo_style ); 468 $shop->setPageHeaderStyle( $this->page_header_style ); 469 $shop->setPageCaptionStyle( $this->page_caption_style ); 470 $shop->setPageStyle( $this->page_style ); 471 $shop->setInputFieldsStyle( $this->input_fields_style ); 472 $shop->setDropDownListsStyle( $this->drop_down_lists_style ); 473 $shop->setButtonsStyle( $this->buttons_style ); 474 $shop->setErrorsStyle( $this->errors_style ); 475 $shop->setErrorsHeaderStyle( $this->errors_header_style ); 476 $shop->setSuccessTitleStyle( $this->success_title_style ); 477 $shop->setErrorTitleStyle( $this->error_title_style ); 478 $shop->setFooterStyle( $this->footer_style ); 479 334 480 $result = $shop->pay(); 335 481 336 if ( $result->getGeneralResponse()->getStatus() != "OK" ) { 337 echo "Error: " . $result->getExternalStatus(); 338 echo "Return Code: " . $result->getGeneralResponse()->getReturnCode(); 482 if ( $result->getGeneralResponse()->getStatus() != 'OK' ) { 483 echo 'Return Code: ' . $result->getGeneralResponse()->getReturnCode(); 339 484 } 340 485 … … 344 489 'redirect' => $result->getLocation() 345 490 ); 346 347 //// Remove cart348 //$woocommerce->cart->empty_cart();349 //350 //// Empty awaiting payment session351 //unset( $_SESSION['order_awaiting_payment'] );352 //353 //// Return thankyou redirect354 //return array(355 // 'result' => 'success',356 // 'redirect' => add_query_arg( 'key', $order->order_key, add_query_arg( 'order', $order_id, get_permalink( get_option( 'woocommerce_thanks_page_id' ) ) ) )357 //);358 491 } 359 492 … … 420 553 421 554 $testmode = ( 'yes' == $this->testmode ) ? true : false; 422 $user = ( 'yes' == $this->testmode ) ? $this->apiusertest : $this->apiuserprod;423 $pass = ( 'yes' == $this->testmode ) ? $this->apipasstest : $this->apipassprod;555 $user = ( 'yes' == $this->testmode ) ? $this->apiusertest : $this->apiuserprod; 556 $pass = ( 'yes' == $this->testmode ) ? $this->apipasstest : $this->apipassprod; 424 557 425 558 $shop = new WC_MPAY24_Shop( $user, $pass, $testmode ); … … 435 568 * Confirm mPAY24 transaction and write status in plugin's database table 436 569 * called by 'woocommerce_api_wc_gateway_mpay24' action 437 * call 'valid -mpay24-standard-request' action to process order570 * call 'valid_mpay24_standard_request' action to process order 438 571 * 439 572 * @access public … … 444 577 if ( ! empty( $_GET ) && $this->check_ipn_request_is_valid() ) { 445 578 header( 'HTTP/1.1 200 OK' ); 446 do_action( "valid-mpay24-standard-request", $_GET );579 do_action( 'valid_mpay24_standard_request', $_GET ); 447 580 } else { 448 wp_die( "mPAY24 IPN Request Failure" ); 581 wc_add_notice( __( 'mPAY24 IPN Request Failure', 'wc-mpay24' ), 'error' ); 582 wp_die( 'mPAY24 IPN Request Failure' ); 449 583 } 450 584 } … … 452 586 /** 453 587 * Lock up transaction status from database and update order status 454 * called by 'valid -mpay24-standard-request' action588 * called by 'valid_mpay24_standard_request' action 455 589 * 456 590 * @param array $posted - request parameters … … 502 636 // Order failed 503 637 $order->update_status( 'failed', sprintf( __( 'Payment %s via mPAY24.', 'wc-mpay24' ), $tstatus ) ); 638 wc_add_notice( __( 'Payment failed via mPAY24.', 'wc-mpay24' ), 'error' ); 504 639 break; 505 640 case 'credited': -
woocommerce-mpay24-gateway/trunk/languages/wc-mpay24-de_DE.po
r803596 r925767 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: WooCommerce mPAY24 Gateway v1. 0\n"3 "Project-Id-Version: WooCommerce mPAY24 Gateway v1.3\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 201 3-11-13 09:09+0100\n"6 "PO-Revision-Date: 201 3-11-13 09:11+0100\n"5 "POT-Creation-Date: 2014-06-03 16:01+0100\n" 6 "PO-Revision-Date: 2014-06-03 16:13+0100\n" 7 7 "Last-Translator: Melanie Reichel <[email protected]>\n" 8 8 "Language-Team: datenwerk innovationsagentur GmbH <wordpressdev@datenwerk." 9 9 "at>\n" 10 "Language: de_DE\n" 10 11 "MIME-Version: 1.0\n" 11 12 "Content-Type: text/plain; charset=UTF-8\n" … … 17 18 "X-Poedit-Basepath: .\n" 18 19 "X-Textdomain-Support: yes\n" 19 "X-Generator: Poedit 1. 5.7\n"20 "X-Generator: Poedit 1.6.5\n" 20 21 "X-Poedit-SearchPath-0: .\n" 21 22 # @ wc-mpay24 23 #: gateway-mpay24.php:87 22 "X-Poedit-SearchPath-1: ..\n" 23 24 # @ wc-mpay24 25 #: ../gateway-mpay24.php:86 24 26 msgid "" 25 27 "<strong>mPAY24 gateway is installed</strong> – Configure the setting " … … 29 31 "die Einstellungen um zu starten :)" 30 32 31 # @ wc-mpay24 32 #: gateway-mpay24.php:88 33 msgid "Payment Settings" 34 msgstr "Zahlungsweisen" 35 36 # @ wc-mpay24 37 #: gateway-mpay24.php:130 gateway-mpay24.php:289 33 #: ../gateway-mpay24.php:87 34 msgid "Checkout" 35 msgstr "Kasse" 36 37 # @ wc-mpay24 38 #: ../gateway-mpay24.php:141 ../gateway-mpay24.php:421 38 39 msgid "mPAY24" 39 40 msgstr "mPAY24" 40 41 41 42 # @ wc-mpay24 42 #: gateway-mpay24.php:131 gateway-mpay24.php:290 43 msgid "Credit card payment via mPAY24 payment page" 44 msgstr "Zahlung per Kreditkarte über das mPAY24 Bezahlfenster" 45 46 # @ wc-mpay24 47 #: gateway-mpay24.php:183 43 #: ../gateway-mpay24.php:142 ../gateway-mpay24.php:422 44 msgid "Online payment via mPAY24 payment page" 45 msgstr "Online Zahlung über das mPAY24 Bezahlfenster" 46 47 #: ../gateway-mpay24.php:209 48 msgid "Woocommerce Settings" 49 msgstr "Woocommerce Einstellungen" 50 51 # @ wc-mpay24 52 #: ../gateway-mpay24.php:214 48 53 msgid "Enable/Disable" 49 54 msgstr "Aktivieren/ Deaktivieren" 50 55 51 56 # @ wc-mpay24 52 #: gateway-mpay24.php:18457 #: ../gateway-mpay24.php:215 53 58 msgid "Enable mPAY24" 54 59 msgstr "mPAY24 aktivieren" 55 60 56 61 # @ wc-mpay24 57 #: gateway-mpay24.php:19062 #: ../gateway-mpay24.php:221 58 63 msgid "Title" 59 64 msgstr "Titel" 60 65 61 66 # @ wc-mpay24 62 #: gateway-mpay24.php:19267 #: ../gateway-mpay24.php:223 63 68 msgid "This controls the title which the user sees during checkout." 64 69 msgstr "" … … 67 72 68 73 # @ wc-mpay24 69 #: gateway-mpay24.php:19374 #: ../gateway-mpay24.php:225 70 75 msgid "Credit card" 71 76 msgstr "Kreditkarte" 72 77 73 78 # @ wc-mpay24 74 #: gateway-mpay24.php:19679 #: ../gateway-mpay24.php:228 75 80 msgid "Description" 76 81 msgstr "Beschreibung" 77 82 78 83 # @ wc-mpay24 79 #: gateway-mpay24.php:19884 #: ../gateway-mpay24.php:230 80 85 msgid "This controls the description which the user sees during checkout." 81 86 msgstr "Dies aktiviert die Beschreibung, die der Kunde an der Kasse sieht." 82 87 83 88 # @ wc-mpay24 84 #: gateway-mpay24.php:19989 #: ../gateway-mpay24.php:232 85 90 msgid "Pay with your credit card via mPAY24." 86 91 msgstr "Bezahlen Sie mit Ihrer Kreditkarte über mPAY24." 87 92 88 93 # @ wc-mpay24 89 #: gateway-mpay24.php:20294 #: ../gateway-mpay24.php:235 90 95 msgid "Thank you page text" 91 96 msgstr "Text für Danke-Seite" 92 97 93 98 # @ wc-mpay24 94 #: gateway-mpay24.php:20499 #: ../gateway-mpay24.php:237 95 100 msgid "" 96 101 "This controls the text which the user sees on the order thank you page above " … … 101 106 102 107 # @ wc-mpay24 103 #: gateway-mpay24.php:207108 #: ../gateway-mpay24.php:241 104 109 msgid "Customer email text" 105 110 msgstr "Text für Kunden Bestätigungsmail" 106 111 107 112 # @ wc-mpay24 108 #: gateway-mpay24.php:209113 #: ../gateway-mpay24.php:243 109 114 msgid "" 110 115 "This controls the text which the user sees in order confirmation email below " … … 114 119 "Bestellungen sieht." 115 120 116 # @ wc-mpay24 117 #: gateway-mpay24.php:212 118 msgid "mPAY24 Payment page Language" 119 msgstr "Sprache des mPAY24 Bezahlfensters" 120 121 # @ wc-mpay24 122 #: gateway-mpay24.php:215 121 #: ../gateway-mpay24.php:247 122 msgid "mPAY24 Settings" 123 msgstr "mPAY24 Einstellungen" 124 125 # @ wc-mpay24 126 #: ../gateway-mpay24.php:252 127 msgid "Username TEST" 128 msgstr "Benutzername TEST" 129 130 # @ wc-mpay24 131 #: ../gateway-mpay24.php:254 132 msgid "This is the SOAP API username (without leading u) for test environment." 133 msgstr "" 134 "Dies ist der SOAP API Benutzername (ohne führendes u) für die Testumgebung." 135 136 # @ wc-mpay24 137 #: ../gateway-mpay24.php:259 138 msgid "Password TEST" 139 msgstr "Passwort TEST" 140 141 # @ wc-mpay24 142 #: ../gateway-mpay24.php:261 143 msgid "This is the SOAP API password for test environment." 144 msgstr "Dies ist das SOAP API Passwort für die Testumgebung." 145 146 # @ wc-mpay24 147 #: ../gateway-mpay24.php:266 148 msgid "Username PROD" 149 msgstr "Benutzername PROD" 150 151 # @ wc-mpay24 152 #: ../gateway-mpay24.php:268 153 msgid "This is the SOAP API username (without leading u) for prod environment." 154 msgstr "" 155 "Dies ist der SOAP API Benutzername (ohne führendes u) für die " 156 "Produktivumgebung." 157 158 # @ wc-mpay24 159 #: ../gateway-mpay24.php:273 160 msgid "Password PROD" 161 msgstr "Passwort PROD" 162 163 # @ wc-mpay24 164 #: ../gateway-mpay24.php:275 165 msgid "This is the SOAP API password for prod environment." 166 msgstr "Dies ist das SOAP API Passwort für die Produktivumgebung." 167 168 # @ wc-mpay24 169 #: ../gateway-mpay24.php:280 170 msgid "Test Mode" 171 msgstr "Testmodus" 172 173 # @ wc-mpay24 174 #: ../gateway-mpay24.php:281 175 msgid "Enable Test Mode" 176 msgstr "Entwicklungsmodus aktivieren" 177 178 # @ wc-mpay24 179 #: ../gateway-mpay24.php:283 180 msgid "Place the payment gateway in test mode." 181 msgstr "Versetzt das Bezahlungssystem in den Testmodus." 182 183 # @ wc-mpay24 184 #: ../gateway-mpay24.php:288 185 msgid "Debug Log" 186 msgstr "Debug-Protokoll" 187 188 # @ wc-mpay24 189 #: ../gateway-mpay24.php:289 190 msgid "Enable logging" 191 msgstr "Protokollierung aktivieren" 192 193 # @ wc-mpay24 194 #: ../gateway-mpay24.php:291 195 msgid "Log mPAY24 events inside <code>/plugins/woocommerce/logs/</code>" 196 msgstr "" 197 "Protokolliert mPAY24 Ereignisse nach <code>/plugins/woocommerce/logs/</code>" 198 199 # @ wc-mpay24 200 #: ../gateway-mpay24.php:296 201 msgid "mPAY24 Payment Page Styling" 202 msgstr "mPAY24 Bezahlfenster Styling" 203 204 #: ../gateway-mpay24.php:301 205 msgid "Language" 206 msgstr "Sprache" 207 208 # @ wc-mpay24 209 #: ../gateway-mpay24.php:304 123 210 msgid "Bulgarian" 124 211 msgstr "Bulgarisch" 125 212 126 #: gateway-mpay24.php:216213 #: ../gateway-mpay24.php:305 127 214 msgid "Chinese" 128 215 msgstr "Chinesisch" 129 216 130 #: gateway-mpay24.php:217217 #: ../gateway-mpay24.php:306 131 218 msgid "Croatian" 132 219 msgstr "Kroatisch" 133 220 134 221 # @ wc-mpay24 135 #: gateway-mpay24.php:218222 #: ../gateway-mpay24.php:307 136 223 msgid "Czech" 137 224 msgstr "Tschechisch" 138 225 139 226 # @ wc-mpay24 140 #: gateway-mpay24.php:219227 #: ../gateway-mpay24.php:308 141 228 msgid "Dutch" 142 229 msgstr "Niederländisch" 143 230 144 231 # @ wc-mpay24 145 #: gateway-mpay24.php:220232 #: ../gateway-mpay24.php:309 146 233 msgid "English" 147 234 msgstr "Englisch" 148 235 149 236 # @ wc-mpay24 150 #: gateway-mpay24.php:221237 #: ../gateway-mpay24.php:310 151 238 msgid "French" 152 239 msgstr "Französisch" 153 240 154 241 # @ wc-mpay24 155 #: gateway-mpay24.php:222242 #: ../gateway-mpay24.php:311 156 243 msgid "German" 157 244 msgstr "Deutsch" 158 245 159 246 # @ wc-mpay24 160 #: gateway-mpay24.php:223247 #: ../gateway-mpay24.php:312 161 248 msgid "Hungarian" 162 249 msgstr "Ungarisch" 163 250 164 #: gateway-mpay24.php:224251 #: ../gateway-mpay24.php:313 165 252 msgid "Italian" 166 253 msgstr "Italienisch" 167 254 168 #: gateway-mpay24.php:225255 #: ../gateway-mpay24.php:314 169 256 msgid "Japanese" 170 257 msgstr "Japanisch" 171 258 172 259 # @ wc-mpay24 173 #: gateway-mpay24.php:226260 #: ../gateway-mpay24.php:315 174 261 msgid "Polish" 175 262 msgstr "Polnisch" 176 263 177 #: gateway-mpay24.php:227264 #: ../gateway-mpay24.php:316 178 265 msgid "Portuguese" 179 266 msgstr "Portugiesisch" 180 267 181 #: gateway-mpay24.php:228268 #: ../gateway-mpay24.php:317 182 269 msgid "Romanian" 183 270 msgstr "Rumänisch" 184 271 185 #: gateway-mpay24.php:229272 #: ../gateway-mpay24.php:318 186 273 msgid "Russian" 187 274 msgstr "Russisch" 188 275 189 #: gateway-mpay24.php:230276 #: ../gateway-mpay24.php:319 190 277 msgid "Serbian" 191 278 msgstr "Serbisch" 192 279 193 #: gateway-mpay24.php:231280 #: ../gateway-mpay24.php:320 194 281 msgid "Slovak" 195 282 msgstr "Slowakisch" 196 283 197 #: gateway-mpay24.php:232284 #: ../gateway-mpay24.php:321 198 285 msgid "Slovenian" 199 286 msgstr "Slowenisch" 200 287 201 288 # @ wc-mpay24 202 #: gateway-mpay24.php:233289 #: ../gateway-mpay24.php:322 203 290 msgid "Spanish" 204 291 msgstr "Spanisch" 205 292 206 #: gateway-mpay24.php:234293 #: ../gateway-mpay24.php:323 207 294 msgid "Turkish" 208 295 msgstr "Türkisch" 209 296 210 297 # @ wc-mpay24 211 #: gateway-mpay24.php:236212 msgid "This controls in which lang age the payment page is shown."298 #: ../gateway-mpay24.php:325 299 msgid "This controls in which language the payment page is shown." 213 300 msgstr "" 214 301 "Dies aktiviert in welcher Sprache das mPAY24 Bezahlfenster angezeigt wird." 215 302 216 # @ wc-mpay24 217 #: gateway-mpay24.php:240 218 msgid "Username TEST" 219 msgstr "Benutzername TEST" 220 221 # @ wc-mpay24 222 #: gateway-mpay24.php:242 223 msgid "This is the SOAP API username (without leading u) for test environment." 224 msgstr "" 225 "Dies ist der SOAP API Benutzername (ohne führendes u) für die Testumgebung." 226 227 # @ wc-mpay24 228 #: gateway-mpay24.php:246 229 msgid "Password TEST" 230 msgstr "Passwort TEST" 231 232 # @ wc-mpay24 233 #: gateway-mpay24.php:248 234 msgid "This is the SOAP API password for test environment." 235 msgstr "Dies ist das SOAP API Passwort für die Testumgebung." 236 237 # @ wc-mpay24 238 #: gateway-mpay24.php:252 239 msgid "Username PROD" 240 msgstr "Benutzername PROD" 241 242 # @ wc-mpay24 243 #: gateway-mpay24.php:254 244 msgid "This is the SOAP API username (without leading u) for prod environment." 245 msgstr "" 246 "Dies ist der SOAP API Benutzername (ohne führendes u) für die " 247 "Produktivumgebung." 248 249 # @ wc-mpay24 250 #: gateway-mpay24.php:258 251 msgid "Password PROD" 252 msgstr "Passwort PROD" 253 254 # @ wc-mpay24 255 #: gateway-mpay24.php:260 256 msgid "This is the SOAP API password for prod environment." 257 msgstr "Dies ist das SOAP API Passwort für die Produktivumgebung." 258 259 # @ wc-mpay24 260 #: gateway-mpay24.php:264 261 msgid "mPAY24 Test Mode" 262 msgstr "mPAY24 Entwicklungsmodus" 263 264 # @ wc-mpay24 265 #: gateway-mpay24.php:265 266 msgid "Enable Test Mode" 267 msgstr "Entwicklungsmodus aktivieren" 268 269 # @ wc-mpay24 270 #: gateway-mpay24.php:267 271 msgid "Place the payment gateway in development mode." 272 msgstr "Versetzt das Bezahlungssystem in Entwicklungsmodus." 273 274 # @ wc-mpay24 275 #: gateway-mpay24.php:271 276 msgid "Debug Log" 277 msgstr "Debug-Protokoll" 278 279 # @ wc-mpay24 280 #: gateway-mpay24.php:273 281 msgid "Enable logging" 282 msgstr "Protokollierung aktivieren" 283 284 # @ wc-mpay24 285 #: gateway-mpay24.php:275 286 msgid "Log mPAY24 events inside <code>woocommerce/logs/mpay24.txt</code>" 287 msgstr "" 288 "Protokolliert mPAY24 Ereignisse nach <code>woocommerce/logs/mpay24.txt</code>" 289 290 # @ wc-mpay24 291 #: gateway-mpay24.php:370 303 #: ../gateway-mpay24.php:330 304 msgid "Page Background Color" 305 msgstr "Seitenhintergrundfarbe" 306 307 #: ../gateway-mpay24.php:331 308 msgid "Background color of the payment page. Default" 309 msgstr "Hintergrundfarbe des Bezahlfensters. Standard" 310 311 #: ../gateway-mpay24.php:338 312 msgid "Logo Styling" 313 msgstr "Logo Styling" 314 315 #: ../gateway-mpay24.php:339 316 msgid "CSS rules for payment page logo image. Default" 317 msgstr "CSS Regeln für das Logo im Bezahlfenster. Standard" 318 319 #: ../gateway-mpay24.php:344 320 msgid "Page Header Styling" 321 msgstr "Seitenüberschrift Styling" 322 323 #: ../gateway-mpay24.php:345 324 msgid "CSS rules for payment page header. Default" 325 msgstr "CSS Regeln für die Seitenüberschrift des Bezahlfensters. Standard" 326 327 #: ../gateway-mpay24.php:350 328 msgid "Page Caption Styling" 329 msgstr "Seitentitel Styling" 330 331 #: ../gateway-mpay24.php:351 332 msgid "CSS rules for payment page caption. Default" 333 msgstr "CSS Regeln für den Seitentitel des Bezahlfensters. Standard" 334 335 #: ../gateway-mpay24.php:356 336 msgid "Page Styling" 337 msgstr "Seiten Styling" 338 339 #: ../gateway-mpay24.php:357 340 msgid "CSS rules for payment page box with inputs. Default" 341 msgstr "CSS Regeln für den Eingabebereich im Bezahlfenster. Standard" 342 343 #: ../gateway-mpay24.php:362 344 msgid "Input Fields Styling" 345 msgstr "Eingabefelder Styling" 346 347 #: ../gateway-mpay24.php:363 348 msgid "CSS rules for payment page input fields." 349 msgstr "CSS Regeln für die Eingabefelder im Bezahlfenster." 350 351 #: ../gateway-mpay24.php:368 352 msgid "Drop Down Lists Styling" 353 msgstr "Auswahllisten Styling" 354 355 #: ../gateway-mpay24.php:369 356 msgid "CSS rules for payment page drop down lists." 357 msgstr "CSS Regeln für die Auswahllisten im Bezahlfenster." 358 359 #: ../gateway-mpay24.php:374 360 msgid "Buttons Styling" 361 msgstr "Buttons Styling" 362 363 #: ../gateway-mpay24.php:375 364 msgid "CSS rules for payment page buttons." 365 msgstr "CSS Regeln für die Buttons im Bezahlfenster." 366 367 #: ../gateway-mpay24.php:380 368 msgid "Errors Styling" 369 msgstr "Fehler Styling" 370 371 #: ../gateway-mpay24.php:381 372 msgid "CSS rules for payment page error messages." 373 msgstr "CSS Regeln für Fehlermeldungen im Bezahlfenster." 374 375 #: ../gateway-mpay24.php:386 376 msgid "Errors Header Styling" 377 msgstr "Fehlerüberschrift Styling" 378 379 #: ../gateway-mpay24.php:387 380 msgid "CSS rules for payment page error heading." 381 msgstr "CSS Regeln für Fehlerüberschrift im Bezahlfenster." 382 383 #: ../gateway-mpay24.php:392 384 msgid "Success Title Styling" 385 msgstr "Titel auf Erfolgsseite Styling" 386 387 #: ../gateway-mpay24.php:393 388 msgid "CSS rules for payment success page title area." 389 msgstr "CSS Regeln für den Seitentitel auf der Erfolgsseite im Bezahlfenster." 390 391 #: ../gateway-mpay24.php:398 392 msgid "Error Title Styling" 393 msgstr "Titel auf Fehlerseite Styling" 394 395 #: ../gateway-mpay24.php:399 396 msgid "CSS rules for payment error page title area." 397 msgstr "CSS Regeln für den Seitentitel auf der Fehlerseite im Bezahlfenster." 398 399 #: ../gateway-mpay24.php:404 400 msgid "Footer Styling" 401 msgstr "Fußzeilen Styling" 402 403 #: ../gateway-mpay24.php:405 404 msgid "CSS rules for payment page footer area." 405 msgstr "CSS Regeln für den Fußzeilenbereich im Bezahlfenster." 406 407 # @ wc-mpay24 408 #: ../gateway-mpay24.php:503 292 409 msgid "TEST MODE ENABLED" 293 410 msgstr "TEST MODUS AKTIVIERT" 294 411 295 # @ wc-mpay24 296 #: gateway-mpay24.php:489 412 #: ../gateway-mpay24.php:581 413 msgid "mPAY24 IPN Request Failure" 414 msgstr "mPAY24 IPN Anfrage fehlgeschlagen" 415 416 # @ wc-mpay24 417 #: ../gateway-mpay24.php:623 297 418 msgid "mPAY24 payment completed" 298 419 msgstr "mPAY24 Bezahlung abgeschlossen" 299 420 300 421 # @ wc-mpay24 301 #: gateway-mpay24.php:498 gateway-mpay24.php:503 gateway-mpay24.php:506302 #: gateway-mpay24.php:510422 #: ../gateway-mpay24.php:632 ../gateway-mpay24.php:637 423 #: ../gateway-mpay24.php:641 ../gateway-mpay24.php:645 303 424 #, php-format 304 425 msgid "Payment %s via mPAY24." 305 426 msgstr "Bezahlung %s über mPAY24." 427 428 # @ wc-mpay24 429 #: ../gateway-mpay24.php:638 430 msgid "Payment failed via mPAY24." 431 msgstr "Bezahlung über mPAY24 fehlgeschlagen." -
woocommerce-mpay24-gateway/trunk/readme.txt
r803596 r925767 5 5 Tags: woocommerce, gateway, mpay24 6 6 Requires at least: 3.5 7 Tested up to: 3. 7.18 Stable tag: 1. 27 Tested up to: 3.9.1 8 Stable tag: 1.3 9 9 License: GNU General Public License v3.0 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 16 16 = Features = 17 17 18 * Uses mPAY24 PHP files (version 2013-06-24), follows mPAY24 specification (version 201 3-10-08)18 * Uses mPAY24 PHP files (version 2013-06-24), follows mPAY24 specification (version 2014-05-21) 19 19 * Using the mPAY24 payment page to integrate in website 20 20 * Switching between DEV and PROD mPAY24 environment with SOAP logins 21 21 * Supports all payment methods of mPAY24 22 * Languages available for Wordpress Admin: EN, DE22 * Languages available for Wordpress admin: EN, DE 23 23 * Languages available for payment page: BG, CS, DE, EN, ES, FR, HR, HU, IT, JA, NL, PL, PT, RO, RU, SK, SL, SR, TR, ZH 24 24 * Supported currency in payment page: EUR 25 * no mPAY24 proSafe Support26 * defaultstyling for payment page25 * no mPAY24 proSafe support 26 * CSS styling for payment page 27 27 28 28 = mPAY24 = 29 29 30 30 If there are newer mPAY24 PHP Files you can replace the files in the folder `MPay24`. 31 If you want to extend the functionality (e.g. add styling for payment page)you have to edit `class-wc-mpay24-shop.php`31 If you want to extend the functionality you have to edit `class-wc-mpay24-shop.php` 32 32 33 33 == Installation == … … 35 35 = Requirements = 36 36 37 * php curl (mPAY24 API) 37 * PHP >= 5 (mPAY24 API) 38 * cURL (mPAY24 API) 39 * DOM (mPAY24 API) 40 * Mcrypt (mPAY24 API) 38 41 * [WooCommerce Plugin](http://www.woothemes.com/woocommerce/) v2.0 or higher 39 42 … … 42 45 1. Upload `woocommerce-gateway-mpay24` to the `/wp-content/plugins/` directory 43 46 2. Activate the plugin through the `Plugins` menu in WordPress 44 3. Configure your mPAY24 settings under `WooCommerce Settings -> Gateways -> MPAY24`47 3. Configure your mPAY24 settings under `WooCommerce Settings -> Checkout -> mPAY24` 45 48 46 49 == Frequently Asked Questions == … … 52 55 = How can I change the styling of the payment page? = 53 56 54 Unfortunatly there are no styling options via the WooCommerce Settings yet. If you need any styling you have to add styling in the function `createMDXI` in file `class-wc-mpay24-shop.php`. The specific code is commented. One rule for styling: You are not allowed to send markup with urls to external (not mPAY24 hosted files) files (e.g. background images).57 Since version 1.3 there are styling options on the gateway settings page. Basic CSS knowledge is required for this. Some basic changes on the default mPAY24 stylings are implemented as default values. One rule for styling: You are not allowed to send markup with urls to external (not mPAY24 hosted files) files (e.g. background images). 55 58 56 = I get an permission error for writing in MPay24 folder? =59 = I get an permission error for writing in mPAY24 folder? = 57 60 58 If you enable logging in the gateway settings then the curl operations will write a `curllog.log` in MPay24 folder. Please make this folder writable for the webserver. 61 If you enable logging in the gateway settings then the curl operations will write a `curllog.log` in the MPay24 folder of the plugin. Please make this file or the whole folder writable for the webserver. 62 63 = How to get the current MDXI.xsd from mPAY24? = 64 65 If a transaction is done, mPAY24 sometimes sends a newer version of the MDXI.xsd file which is located in the MPay24 folder. Make sure that this file can be written by the webserver. 59 66 60 67 = The transaction is successful in payment page but in woocommerce the order status is cancelled. What's wrong? = … … 69 76 == Changelog == 70 77 71 = 1. 2=78 = 1.3 - 2014-06-03 = 72 79 73 * 2013-11-12: Update to current mPAY24 specification 74 * support of new languages for payment page (ES, IT, CS, HR, SK, SL, SR, RO, RU, PL, PT, TR, ZH, JA) 80 * Bugfix: Fatal error - Call to undefined method ListPaymentMethodsResponse::getExternalStatus() 81 * Bugfix: Creating new transaction entries when failed order is payed 82 * Enhancement: Replace deprecated $woocommerce->logger() with new WC_Logger() (deprecated in WC 2.1) 83 * Enhancement: Use responsive payment page template (if mPAY24 set a logo for your payment page you have to call the mPAY24 support to set it also in the mobile template) 84 * Enhancement: Update language files 85 * Enhancement: Update FAQ and screenshots 86 * New Feature: Enable CSS styling of payment page in gateway settings 75 87 76 = 1. 1=88 = 1.2 - 2013-11-12 = 77 89 78 * 2013-04-12: Update to WooCommerce 2.x 79 * plugin not backward compatible to WooCommerce version < 2.0 80 * update mPAY24 API to current version 81 * add some documentation for styling options of the mPAY24 payment page 90 * Enhancement: Update to current mPAY24 specification 91 * Enhancement: Support of new languages for payment page (ES, IT, CS, HR, SK, SL, SR, RO, RU, PL, PT, TR, ZH, JA) 82 92 83 = 1. 0=93 = 1.1 - 2013-04-12 = 84 94 85 * 2012-11-21: Initial Release 95 * Enhancement: Update to WooCommerce 2.x, plugin not backward compatible to WooCommerce version < 2.0 96 * Enhancement: Update mPAY24 API to current version 97 * Enhancement: Add some documentation for styling options of the mPAY24 payment page 98 99 = 1.0 - 2012-11-21 = 100 101 * Initial Release 86 102 87 103 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.