-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from MartinKuhl/master
Fix mobile and fax sub-model // rebrand
- Loading branch information
Showing
7 changed files
with
52 additions
and
28 deletions.
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
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,11 +1,11 @@ | ||
# RatePAY GmbH - PHP SDK | ||
# Ratepay GmbH - PHP SDK | ||
============================================ | ||
|
||
|Module | RatePAY PHP SDK | ||
|Module | Ratepay PHP SDK | ||
|------|---------- | ||
|Author | Aarne Welschlau | ||
|Version | `0.9.3.2` | ||
|Link | http://www.ratepay.com | ||
|Version | `0.9.4.0` | ||
|Link | http://docs.ratepay.com | ||
|Mail | [email protected] | ||
|
||
### Installation | ||
|
@@ -16,26 +16,26 @@ composer install | |
### How to start | ||
|
||
Find the basic usage of the different API calls and operations of the API library explained in the example files. The *example.php* explains the basic usage of the library. | ||
###### To run the examples, insert your (received by RatePAY Customer Integration Team) credentials into 'ratepay_credentials.php'. | ||
###### To run the examples, insert your (received by Ratepay Merchant Onboarding Team) credentials into 'ratepay_credentials.php'. | ||
Following table describes the basic (transaction-driven) operations in chronological order. | ||
|
||
|#|File|Operation/+*Subtype*|Information|Description| | ||
|-|-|-|-|-| | ||
|1|example.php|Payment Init|Head|Shows the basic functionality of the RatePAY library| | ||
|1|example.php|Payment Init|Head|Shows the basic functionality of the Ratepay library| | ||
|2|example.paymentRequest.*.php|Payment Request|Head, customer, shopping basket, payment|Call for authorization. Different examples for all payment methods| | ||
|3|example.paymentChange.cancellation.php|Payment Change - *Cancellation*|Head, shopping basket|Informs RatePAY of a cancelled basket or article| | ||
|4|example.confirmationDeliver.php|Confirmation Deliver|Head, shopping basket|Informs RatePAY of a shipped basket or article| | ||
|5|example.paymentChange.return.php|Payment Change - *Return*|Head, shopping basket|Informs RatePAY of a returned basket or article| | ||
|6|example.paymentChange.changeOrder.php|Payment Change - *Change Order*|Head, shopping basket|Informs RatePAY of a totally changed shopping basket| | ||
|7|example.paymentChange.credit.php|Payment Change - *Credit*|Head, shopping basket|Informs RatePAY of a subsequent refund or fee| | ||
|3|example.paymentChange.cancellation.php|Payment Change - *Cancellation*|Head, shopping basket|Informs Ratepay of a cancelled basket or article| | ||
|4|example.confirmationDeliver.php|Confirmation Deliver|Head, shopping basket|Informs Ratepay of a shipped basket or article| | ||
|5|example.paymentChange.return.php|Payment Change - *Return*|Head, shopping basket|Informs Ratepay of a returned basket or article| | ||
|6|example.paymentChange.changeOrder.php|Payment Change - *Change Order*|Head, shopping basket|Informs Ratepay of a totally changed shopping basket| | ||
|7|example.paymentChange.credit.php|Payment Change - *Credit*|Head, shopping basket|Informs Ratepay of a subsequent refund or fee| | ||
|
||
Following table describes optional and transaction-independent operations. | ||
|
||
|File|Operation/+*Subtype*|Description| | ||
|-|-|-| | ||
|example.PaymentInit.php|Payment Init|**Optional** call before *Payment Request*. Opens new transaction. Returns RatePAY transaction id. If *Payment Request* is called without transaction id *Payment Init* is called automatically by library| | ||
|example.PaymentQuery.php|Payment Query|Identical to *Payment Request*. Returns all admitted RatePAY payment methods for this transaction| | ||
|example.PaymentInit.php|Payment Init|**Optional** call before *Payment Request*. Opens new transaction. Returns Ratepay transaction id. If *Payment Request* is called without transaction id *Payment Init* is called automatically by library| | ||
|example.PaymentQuery.php|Payment Query|Identical to *Payment Request*. Returns all admitted Ratepay payment methods for this transaction| | ||
|example.PaymentConfirm.php|Payment Confirm|**Optional** call which is called between *Payment Request* and *Confirmation Deliver* to confirm authorization and transmit additional order information| | ||
|example.configurationRequest.php|Configuration Request|Returns the merchant installment configuration from RatePAY| | ||
|example.configurationRequest.php|Configuration Request|Returns the merchant installment configuration from Ratepay| | ||
|example.calculationRequest.php|Calculation Request - *calculation-by-time*/*calculation-by-rate*|Calculates an installment plan. Subtype has to be *calculation-by-rate* which calculates by a rate defined by the customer or *calculation-by-time* which calculates by a duration chosen by the customer| | ||
|example.profileRequest.php|Profile Request|Returns the merchant configuration from RatePAY, includes the installment configuration| | ||
|example.profileRequest.php|Profile Request|Returns the merchant configuration from Ratepay, includes the installment configuration| |
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,18 +1,18 @@ | ||
{ | ||
"name": "ratepay/php-sdk", | ||
"description": "RatePAY PHP SDK", | ||
"version": "0.9.3.1", | ||
"description": "Ratepay PHP SDK", | ||
"version": "0.9.4.0", | ||
"license": "MIT", | ||
"type": "library", | ||
"homepage": "https://dev.ratepay.com", | ||
"homepage": "https://docs.ratepay.com", | ||
"support": { | ||
"email": "[email protected]", | ||
"source": "https://github.com/ratepay/php-sdk" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Aarne Welschlau", | ||
"email": "aarne.welschlau@ratepay.com" | ||
"email": "integration@ratepay.com" | ||
} | ||
], | ||
"require": { | ||
|
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 |
---|---|---|
|
@@ -83,12 +83,18 @@ | |
], | ||
'Contacts' => [ | ||
'Email' => "[email protected]", | ||
//'Mobile' => "0123 4567890", | ||
//'Mobile' => [ | ||
//'AreaCode' => "0172", | ||
//'DirectDial' => "0172 3456789" | ||
//], | ||
'Phone' => [ | ||
//'AreaCode' => "012", | ||
'DirectDial' => "012 3456789" | ||
], | ||
//'Fax' => "012 3456777", | ||
//'Fax' => [ | ||
//'AreaCode' => "012", | ||
//'DirectDial' => "012 3456789" | ||
//], | ||
], | ||
'BankAccount' => [ // In case of payment method 'elv' | ||
'Owner' => "Alice Nobodyknows", | ||
|
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 |
---|---|---|
|
@@ -83,12 +83,18 @@ | |
], | ||
'Contacts' => [ | ||
'Email' => "[email protected]", | ||
//'Mobile' => "0123 4567890", | ||
//'Mobile' => [ | ||
//'AreaCode' => "0172", | ||
//'DirectDial' => "0172 3456789" | ||
//], | ||
'Phone' => [ | ||
//'AreaCode' => "012", | ||
'DirectDial' => "012 3456789" | ||
], | ||
//'Fax' => "012 3456777", | ||
//'Fax' => [ | ||
//'AreaCode' => "012", | ||
//'DirectDial' => "012 3456789" | ||
//], | ||
], | ||
// 'CompanyName' => "Umbrella Corp.", | ||
// 'CompanyType' => "AG", | ||
|
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 |
---|---|---|
|
@@ -83,12 +83,18 @@ | |
], | ||
'Contacts' => [ | ||
'Email' => "[email protected]", | ||
//'Mobile' => "0123 4567890", | ||
//'Mobile' => [ | ||
//'AreaCode' => "0172", | ||
//'DirectDial' => "0172 3456789" | ||
//], | ||
'Phone' => [ | ||
//'AreaCode' => "012", | ||
'DirectDial' => "012 3456789" | ||
], | ||
//'Fax' => "012 3456777", | ||
//'Fax' => [ | ||
//'AreaCode' => "012", | ||
//'DirectDial' => "012 3456789" | ||
//], | ||
], | ||
'BankAccount' => [ // In case of payment method 'elv' | ||
'Owner' => "Alice Nobodyknows", | ||
|
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 |
---|---|---|
|
@@ -83,12 +83,18 @@ | |
], | ||
'Contacts' => [ | ||
'Email' => "[email protected]", | ||
//'Mobile' => "0123 4567890", | ||
//'Mobile' => [ | ||
//'AreaCode' => "0172", | ||
//'DirectDial' => "0172 3456789" | ||
//], | ||
'Phone' => [ | ||
//'AreaCode' => "012", | ||
'DirectDial' => "012 3456789" | ||
], | ||
//'Fax' => "012 3456777", | ||
//'Fax' => [ | ||
//'AreaCode' => "012", | ||
//'DirectDial' => "012 3456789" | ||
//], | ||
], | ||
// 'CompanyName' => "Umbrella Corp.", | ||
// 'CompanyType' => "AG", | ||
|