-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Releasing v3.25.1. Please check the changelog for the updates.
- Loading branch information
1 parent
eaa9454
commit 07a11bc
Showing
5 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
### v3.25.1 (2024-03-06) | ||
* * * | ||
* NonSubscription has been added. | ||
|
||
### v3.25.0 (2024-02-29) | ||
* * * | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
namespace ChargeBee\ChargeBee\Models; | ||
|
||
use ChargeBee\ChargeBee\Model; | ||
use ChargeBee\ChargeBee\Request; | ||
use ChargeBee\ChargeBee\Util; | ||
|
||
class NonSubscription extends Model | ||
{ | ||
|
||
protected $allowed = [ | ||
'appId', | ||
'invoiceId', | ||
'customerId', | ||
'chargeId', | ||
]; | ||
|
||
|
||
|
||
# OPERATIONS | ||
#----------- | ||
|
||
public static function processReceipt($id, $params, $env = null, $headers = array()) | ||
{ | ||
return Request::send(Request::POST, Util::encodeURIPath("non_subscriptions",$id,"one_time_purchase"), $params, $env, $headers); | ||
} | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
final class Version | ||
{ | ||
const VERSION = '3.25.0'; | ||
const VERSION = '3.25.1'; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters