Skip to content

Commit 94da0d4

Browse files
authored
Update README.md
Corrected some typos
1 parent 533d45b commit 94da0d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ return [
100100
Though there are multiple ways to pay an order, most payment gateways expect you to follow the following flow in your checkout process:
101101

102102
### 1. The customer is redirected to the payment provider
103-
After the customer has gone through the checkout process and is ready to pay, the customer must be redirected to site of the payment provider.
103+
After the customer has gone through the checkout process and is ready to pay, the customer must be redirected to the site of the payment provider.
104104

105105
The redirection is accomplished by submitting a form with some hidden fields. The form must send a POST request to the site of the payment provider. The hidden fields minimally specify the amount that must be paid, the order id and a hash.
106106

@@ -111,7 +111,7 @@ The hash is calculated using the hidden form fields and a non-public secret. The
111111
The customer arrives on the site of the payment provider and gets to choose a payment method. All steps necessary to pay the order are taken care of by the payment provider.
112112

113113
### 3. The customer gets redirected back to your site
114-
After having paid the order the customer is redirected back. In the redirection request to the shop-site some values are returned. The values are usually the order id, a paymentresult and a hash.
114+
After having paid the order the customer is redirected back. In the redirection request to the shop-site some values are returned. The values are usually the order id, a payment result and a hash.
115115

116116
The hash is calculated out of some of the fields returned and a secret non-public value. This hash is used to verify if the request is valid and comes from the payment provider. It is paramount that this hash is thoroughly checked.
117117

0 commit comments

Comments
 (0)