File tree Expand file tree Collapse file tree 6 files changed +5
-6
lines changed
Expand file tree Collapse file tree 6 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 2121 - name : Execute Gradle build
2222 env :
2323 SECRET_KEY : ${{ secrets.SECRET_KEY }}
24- EXPLICIT_MERCHANT_SECRET_KEY : ${{ secrets.EXPLICIT_MERCHANT_SECRET_KEY }}
2524 EXPLICIT_MERCHANT : ${{ secrets.EXPLICIT_MERCHANT }}
2625 run : ./gradlew build
2726
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ To do this you will need to add this configuration to your `pom.xml`:
1414<dependency >
1515 <groupId >com.shift4</groupId >
1616 <artifactId >shift4-java</artifactId >
17- <version >2.8 .0</version >
17+ <version >2.9 .0</version >
1818</dependency >
1919```
2020
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77group = " com.shift4"
8- version = " 2.8 .0"
8+ version = " 2.9 .0"
99archivesBaseName = " shift4-java"
1010
1111repositories {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public AbstractShift4GatewayTest() {
1717 }
1818
1919 public Shift4Gateway createExplicitMerchantGateway () {
20- return createGateway ("EXPLICIT_MERCHANT_SECRET_KEY " , true );
20+ return createGateway ("SECRET_KEY " , true );
2121 }
2222
2323 private Shift4Gateway createGateway (String secretKeyParamName , boolean withExplicitMerchant ) {
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ void shouldCreateChargeUsingExplicitMerchant() {
130130
131131 // when
132132 Charge createdCharge = gatewayWithExplicitMerchant .createCharge (request );
133- Charge retrievedCharge = gateway .retrieveCharge (createdCharge .getId ());
133+ Charge retrievedCharge = gatewayWithExplicitMerchant .retrieveCharge (createdCharge .getId ());
134134
135135 // then
136136 assertThat (retrievedCharge .getStatus ()).isEqualTo (ChargeStatus .SUCCESSFUL );
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ void shouldUploadUsingExplicitMerchant(@TempDir File tempDir) throws IOException
3434 File tempFile = createTestFile (tempDir );
3535 // when
3636 FileUpload createdFileUpload = gatewayWithExplicitMerchant .createFileUpload (tempFile , DISPUTE_EVIDENCE );
37- FileUpload retirevedFileUpload = gateway .retrieveFileUpload (createdFileUpload .getId ());
37+ FileUpload retirevedFileUpload = gatewayWithExplicitMerchant .retrieveFileUpload (createdFileUpload .getId ());
3838 // then
3939 assertThat (retirevedFileUpload .getId ()).isNotBlank ();
4040 }
You can’t perform that action at this time.
0 commit comments