Skip to content

Commit

Permalink
Spreedly now 500 errors if any 3DS data is sent on a store request
Browse files Browse the repository at this point in the history
  • Loading branch information
rjstanford committed Oct 14, 2019
1 parent b776435 commit faf66f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>cc.protea.spreedly</groupId>
<artifactId>spreedly</artifactId>
<version>0.9.8</version>
<version>0.9.9</version>
<packaging>jar</packaging>

<name>spreedly</name>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/cc/protea/spreedly/Spreedly.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public SpreedlyTransactionResponse purchase(final SpreedlyTransactionRequest req
* they were created against, and you'll receive an error if you try to use them with the wrong gateway.
*/
public SpreedlyTransactionResponse store(final SpreedlyTransactionRequest request) {
request.attempt3dSecure = null;
return gatewayPost(request, "store.xml");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class SpreedlyTransactionRequest {
/**
* Please see https://docs.spreedly.com/guides/3dsecure/ for usage instructions
*/
@XmlElement(name = "attempt_3dsecure") public boolean attempt3dSecure;
@XmlElement(name = "attempt_3dsecure") public Boolean attempt3dSecure = false;

/**
* Please see https://docs.spreedly.com/guides/3dsecure/ for usage instructions
Expand Down Expand Up @@ -320,4 +320,4 @@ public void setCallbackUrl(final String callbackUrl) {



}
}

0 comments on commit faf66f7

Please sign in to comment.