Skip to content

Commit

Permalink
remove hardcoded redirectURL
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Kelso committed Mar 9, 2022
1 parent cc21257 commit 645216c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/recurly/risk/three-d-secure/strategy/worldpay.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ export default class WorldpayStrategy extends ThreeDSecureStrategy {
path: '/risk/data_collector',
payload: {
bin,
jwt,
redirect_url: 'https://secure-test.worldpay.com/shopper/3ds/ddc.html'
jwt
},
container: window.document.body,
type: Frame.TYPES.IFRAME,
Expand Down Expand Up @@ -81,7 +80,6 @@ export default class WorldpayStrategy extends ThreeDSecureStrategy {

const { actionToken, container, threeDSecure, redirectUrl } = this;
const { recurly } = threeDSecure.risk;

const payload = {
redirect_url: redirectUrl,
three_d_secure_action_token_id: actionToken.id
Expand Down

0 comments on commit 645216c

Please sign in to comment.