Skip to content

Commit

Permalink
README.md improved code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nuryagdym committed May 26, 2024
1 parent 8007f11 commit 8810708
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class SingleBankThreeDSecurePaymentController extends AbstractController
// bu gateway için ödemeyi tamamlarken tekrar kart bilgisi lazım.
$savedCard = $session->get('card');
$card = $this->createCard($this->pos, $savedCard);
$session->remove('card');
}
$order = $session->get('order');
Expand Down Expand Up @@ -264,6 +265,17 @@ class SingleBankThreeDSecurePaymentController extends AbstractController
</div>
</form>
```
PHP Sessioni kullanıyorsanız bu ayarları da yapmanız gerekiyor:
```yaml
# /config/packages/framework.yaml
framework:
session:
cookie_secure: true
cookie_samesite: none
```
KuveytPos TDV2.0.0 için ekstra veri eklemek zorunludur.
Bunun EventListener ile yapabilirsiniz:
```php
Expand Down

0 comments on commit 8810708

Please sign in to comment.