Skip to content

Commit 7604b10

Browse files
committed
fixes typos in comments
1 parent 40429e7 commit 7604b10

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ if($notification->isVerified()) {
330330
// example as pseudocode, replace with your own code...
331331

332332
// store notification status to your database
333-
// Notice: to be 100% reacecondition proof update status to 'payment_approved' has to be done atomically
333+
// Notice: to be 100% racecondition proof update status to 'payment_approved' has to be done atomically
334334
$updatedRows = update_order(array(
335335
'set' => array('status'=> 'payment_approved'),
336336
'where' => array('status'=> 'waiting_for_payment_approval'
@@ -426,7 +426,7 @@ try {
426426

427427
## Submit Mobile Payment from mobile device
428428

429-
Example Mobile Submit XML your mobile mobile application posts to `$payment->submit_url` to process the payment.
429+
Example Mobile Submit XML your mobile application posts to `$payment->submit_url` to process the payment.
430430

431431
```xml
432432
<payment>

lib/Hypercharge/Transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function __construct($p) {
3131

3232
/**
3333
* convinience method
34-
* @return string 'sale', 'athorize', 'capture', 'refund', 'void', ...
34+
* @return string 'sale', 'authorize', 'capture', 'refund', 'void', ...
3535
*/
3636
function getType() {
3737
return $this->transaction_type;

0 commit comments

Comments
 (0)