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

New endpoint to verify an account's billing information #538

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

joannasese
Copy link
Contributor

If the account has billing information for anything other than a credit card, this will return 422, with an appropriate error message. If successful, this will return 200, with the transaction's data.
gateway_code (optional) is the code for the gateway to use for the verification. If unspecified, a gateway will be selected using the normal rules.

Example:

// verify without specifying gateway code to use 
$billingInfo->verify();
// verify with a specific gateway code
$billingInfo->verify($gateway_code="gateway-code");

@joannasese joannasese added the V2 V2 Client label Sep 11, 2020
@joannasese joannasese changed the base branch from v2 to version_2_12_17 September 11, 2020 20:17
@joannasese joannasese marked this pull request as ready for review September 11, 2020 22:49
@@ -304,7 +304,8 @@ public function getLinks() {
'transaction_error' => 'Recurly_TransactionError',
'unit_amount_in_cents' => 'Recurly_CurrencyList',
'usage' => 'Recurly_Usage',
'usages' => 'Recurly_UsageList'
'usages' => 'Recurly_UsageList',
'verify' => 'Recurly_Verify'
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this for? I don't see a Recurly_Verify class in the PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

my b. it's a vestige. removing it now.

Copy link
Contributor

@douglasmiller douglasmiller left a comment

Choose a reason for hiding this comment

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

👍

@douglasmiller douglasmiller merged commit 4043b8b into version_2_12_17 Sep 16, 2020
@joannasese joannasese mentioned this pull request Sep 17, 2020
@joannasese joannasese deleted the dx-1815-verify-billing-info branch April 30, 2021 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 V2 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants