Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add New Version API + billingAddressPhone input #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor
composer.lock
4 changes: 4 additions & 0 deletions examples/fieldset/buyer.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ function clearSampleBuyer(){
<option value="6" <?php if($_SESSION['billingAddressPhoneType'] == "6") echo "selected";?>>6 (Mobile Phone Code)</option>
</select>
</div>
<div class="row">
<label for="billingAddressPhone">Phone</label>
<input type="text" name="billingAddressPhone" id="billingAddressPhone" value="<?php echo $_SESSION['billingAddressPhone'] ?>" />
</div>
<div class="row">
<label for="billingStreetNumber">Street number</label>
<input type="text" name="billingStreetNumber" id="billingStreetNumber" value="<?php echo $_SESSION['billingStreetNumber'] ?>" />
Expand Down
2 changes: 1 addition & 1 deletion examples/index/configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function deleteCss(){
<select name="WS_VERSION" id="WS_VERSION">
<option value='0'>- select -</option>
<?php
for($v=1;$v<22;$v++){
for($v=1;$v<30;$v++){
echo "<option value='$v'"; if($_SESSION['WS_VERSION']==$v) echo "selected"; echo ">$v</option>";
}
?>
Expand Down
6 changes: 4 additions & 2 deletions examples/index/paymentRecords.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
$lineEx = explode('#', $line);
$paymentRecordInfo = array();
foreach ($lineEx as $data){
$dataEx = explode('=', $data);
$paymentRecordInfo[$dataEx[0]] = $dataEx[1];
if (stripos($data, '=') !== false) {
$dataEx = explode('=', $data);
$paymentRecordInfo[$dataEx[0]] = $dataEx[1];
}
}
$trColor = '#FFFFFF';
if($tr%2 != 0){
Expand Down