Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FINCC-3466] Add Billing Address to Payment Method Create Request #1

Merged

Conversation

saopayne
Copy link

@saopayne saopayne commented Apr 22, 2020

Ticket
https://hellofresh.atlassian.net/browse/FINCC-3466

Description:
For PaymentMethod::Create and PaymentMethod::Update request, we need to include the BillingAddress in the payload to be sent to the PSP.

This is required to increase the acceptance rate of the payment method specifically in countries like US.

Testing
Ran the integration tests locally for Payment method and billing address was sent along.

@saopayne saopayne requested review from Seklfreak, ozairasim and 0sc April 22, 2020 12:40
@0sc
Copy link

0sc commented Apr 22, 2020

:shipit:

Approved with Zappr Approved with Zappr

.github/pull_request_template.md Show resolved Hide resolved
address.go Show resolved Hide resolved
@ozairasim
Copy link

ozairasim commented Apr 22, 2020

👍

Approved with Zappr Approved with Zappr

@0sc
Copy link

0sc commented Apr 22, 2020

:shipit:

Approved with Zappr Approved with Zappr

@saopayne saopayne force-pushed the feature/FINCC-3466-add-payment_method-billing-address branch from 005cd52 to f210a07 Compare April 22, 2020 13:52
@Seklfreak
Copy link
Member

Seklfreak commented Apr 22, 2020

👍

Approved with Zappr Approved with Zappr

@0sc
Copy link

0sc commented Apr 22, 2020

:shipit:

Approved with Zappr Approved with Zappr

@spowani
Copy link

spowani commented Apr 22, 2020

+1

Approved with Zappr Approved with Zappr

@saopayne saopayne merged commit 638681f into master Apr 22, 2020
@saopayne saopayne deleted the feature/FINCC-3466-add-payment_method-billing-address branch April 22, 2020 14:04
init_test.go Show resolved Hide resolved
// Update using different credit card
rand.Seed(time.Now().UTC().UnixNano())
token := fmt.Sprintf("btgo_test_token_%d", rand.Int()+1)
t.Fatal(token)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why always fail here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was added during testing locally for this file. Will remove shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants