@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Get token for credit card script |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Get token for credit card script |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Process payment script |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Process payment script |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Process payment script |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Process payment script |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Cancel user's recurring script |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Cancel user's recurring script |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Change user's recurring script |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Change user's recurring script |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * User resolve script |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * User resolve script |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../../vendor/autoload.php'; |
| 22 | 22 | |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | PaReq: %s |
| 73 | 73 | Terms: %s |
| 74 | 74 | query: %s |
| 75 | -EOD; |
|
| 75 | +eod; |
|
| 76 | 76 | return sprintf($format |
| 77 | 77 | , $this->getUrl() |
| 78 | 78 | , $this->getParameters()->getMerchantData() |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | %s |
| 117 | 117 | recurring |
| 118 | 118 | %s |
| 119 | -EOD; |
|
| 119 | +eod; |
|
| 120 | 120 | return sprintf($format |
| 121 | 121 | , $this->getId() |
| 122 | 122 | , json_encode($this->isSuccess()) |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | type: %s |
| 110 | 110 | exp. month: %s |
| 111 | 111 | exp. year: %s |
| 112 | -EOD; |
|
| 112 | +eod; |
|
| 113 | 113 | return sprintf($format |
| 114 | 114 | , $this->getLastFour() |
| 115 | 115 | , $this->getMask() |