Created
December 3, 2014 03:36
-
-
Save ritchiey/d250fee4b0a7fcb627f7 to your computer and use it in GitHub Desktop.
Pin API Workflow
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
Feature: Receiving Payment | |
As a website owner | |
In order to monetize my site | |
I want to receive credit card payments into my back account | |
Background: | |
Given I have a valid Pin Account | |
Scenario: Receiving a once-off payment | |
Given the customer is on the payment page | |
When she fills in her payment details | |
And presses the "Pay Now" button | |
Then I should receive the paid amount into my Pin account | |
Scenario: Receiving a repeat payment | |
Given the customer is authenticated to my site | |
And I've previously stored the customer's payment details with the Pin Payment API | |
When the customer makes a payment | |
Then the payment is completed using the customer's previously stored payment details |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment