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

Send Billing Address for Universal Gateways #190

Closed
wants to merge 1 commit into from

Conversation

ThereExistsX
Copy link
Contributor

Allow universal gateways to send their billing address as well as their shipping address.

Attn:
@aprofeit @andrewpaliga @girasquid

@@ -112,6 +112,30 @@ def test_shipping_address_fields
assert_field 'x_customer_shipping_phone', '(416) 123-4567'
end

def test_billing_address_fields
@helper.billing_address :first_name => 'John',
:last_name => 'Doe',
Copy link
Contributor

Choose a reason for hiding this comment

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

Stylewise, space is off here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@aprofeit : Should be fixed now.

@aprofeit
Copy link
Contributor

aprofeit commented Feb 4, 2016

What does this actually change? Is this now included in the request we send to the offsite payment gateway?

@aprofeit
Copy link
Contributor

aprofeit commented Feb 4, 2016

If I test this out in the universal gateway simulator, will these new fields show up?

@ThereExistsX
Copy link
Contributor Author

@aprofeit : Yep, you can pull down the branch and test it using any universal gateway you have including the Bogus Gateway.

@aprofeit
Copy link
Contributor

aprofeit commented Feb 4, 2016

I think I may be missing something, how does this affect the bogus gateway?

@aprofeit
Copy link
Contributor

aprofeit commented Feb 4, 2016

Looks like everything shows up correctly in offsite simulator
screen shot 2016-02-04 at 1 15 06 pm
👍

@andrewpaliga
Copy link

Nice job -- we'll need to notify the gateways before merging this change though.

@aprofeit
Copy link
Contributor

aprofeit commented Feb 4, 2016

@andrewpaliga

Nice job -- we'll need to notify the gateways before merging this change though.

Do we really? These are just additional fields we're sending them, shouldn't affect them, right?

@andrewpaliga
Copy link

@aprofeit in theory yes, but good practice to give them a heads up just in case no? ie. they might have a check for number of fields

@ThereExistsX
Copy link
Contributor Author

@andrewpaliga -- Just let me know when this is good to ship!

@aprofeit
Copy link
Contributor

aprofeit commented Feb 4, 2016

they might have a check for number of fields or something silly

I guess it's possible, but would be pretty weird. Your call.

@captn3m0
Copy link

captn3m0 commented Feb 4, 2016

It doesn't break our code (@razorpay), but I'd still have liked a heads-up for this change.

BrianSigafoos pushed a commit to playpass/offsite_payments that referenced this pull request Dec 2, 2017
@pi3r pi3r deleted the send-billing-address branch November 20, 2018 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants