#
# Feature: Take Visa Card Payment
#
# Created with BDD Editor on: 28 March, 2024
#
# Please follow us at @bddeditor AND if you find this tool useful please share with friends and colleagues!
#
Feature: Take Visa Card Payment
As A Customer
I want to be able to pay by visa
So That I can buy products online
Scenario: Make visa payment - payment accepted
Given I have a product in the basket
And I choose to pay by visa
| Card Type | Name on Card | Card Number | Expiry Date | Security Code |
| Visa | BDD Exchange | 0000 0000 0000 0000 | 01/2020 | 000 |
When my payment is authorised
Then my purchase is confirmed
Scenario: Take visa payment - payment declined
Given I have a product in the basket
And I choose to pay by visa
| Card Type | Name on Card | Card Number | Expiry Date | Security Code |
| Visa | BDD Exchange | 0000 0000 0000 0001 | 01/2020 | 000 |
When My payment card is declined
Then I am asked to give an alternative method of payment
Scenario: Take visa payment - card expired
Given I have a product in the basket
And I choose to pay by visa
| Card Type | Name on Card | Card Number | Expiry Date | Security Code |
| Visa | BDD Exchange | 0000 0000 0000 0000 | 01/2000 | 000 |
When my card details are checked
Then I am told my card has expired
Then I am asked to give an alternative method of payment
#
# Feature: Take Visa Card Payment
#
# Created with BDD Editor on: 28 March, 2024
#
# Please follow us at @bddeditor AND if you find this tool useful please share with friends and colleagues!
#
Feature: Take Visa Card Payment
As A Customer
I want to be able to pay by visa
So That I can buy products online
Scenario: Make visa payment - payment accepted
Given I have a product in the basket
And I choose to pay by visa
| Card Type | Name on Card | Card Number | Expiry Date | Security Code |
| Visa | BDD Exchange | 0000 0000 0000 0000 | 01/2020 | 000 |
When my payment is authorised
Then my purchase is confirmed
Scenario: Take visa payment - payment declined
Given I have a product in the basket
And I choose to pay by visa
| Card Type | Name on Card | Card Number | Expiry Date | Security Code |
| Visa | BDD Exchange | 0000 0000 0000 0001 | 01/2020 | 000 |
When My payment card is declined
Then I am asked to give an alternative method of payment
Scenario: Take visa payment - card expired
Given I have a product in the basket
And I choose to pay by visa
| Card Type | Name on Card | Card Number | Expiry Date | Security Code |
| Visa | BDD Exchange | 0000 0000 0000 0000 | 01/2000 | 000 |
When my card details are checked
Then I am told my card has expired
Then I am asked to give an alternative method of payment
#
# Feature: Take Visa Card Payment
#
# Created with BDD Editor on: 28 March, 2024
#
# Please follow us at @bddeditor AND if you find this tool useful please share with friends and colleagues!
#
Feature: Take Visa Card Payment
As A Customer
I want to be able to pay by visa
So That I can buy products online
Scenario: Make visa payment - payment accepted
Given I have a product in the basket
And I choose to pay by visa
| Card Type | Name on Card | Card Number | Expiry Date | Security Code |
| Visa | BDD Exchange | 0000 0000 0000 0000 | 01/2020 | 000 |
When my payment is authorised
Then my purchase is confirmed
Scenario: Take visa payment - payment declined
Given I have a product in the basket
And I choose to pay by visa
| Card Type | Name on Card | Card Number | Expiry Date | Security Code |
| Visa | BDD Exchange | 0000 0000 0000 0001 | 01/2020 | 000 |
When My payment card is declined
Then I am asked to give an alternative method of payment
Scenario: Take visa payment - card expired
Given I have a product in the basket
And I choose to pay by visa
| Card Type | Name on Card | Card Number | Expiry Date | Security Code |
| Visa | BDD Exchange | 0000 0000 0000 0000 | 01/2000 | 000 |
When my card details are checked
Then I am told my card has expired
Then I am asked to give an alternative method of payment