-
Notifications
You must be signed in to change notification settings - Fork 137
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
Fix issue to be able to order with BankAccount or CreditCard #390
Fix issue to be able to order with BankAccount or CreditCard #390
Conversation
…ted, creditcard will be soon) and update the order in order to use /me/payment/method default payment method which replaces it tested with credit card, bank account and Deferred payment account
Also fix #301 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add in the documentation the requirement to have a default payment mean :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add in the documentation the requirement to have a default payment mean :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add in the documentation the requirement to have a default payment mean :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add in the documentation the requirement to have a default payment mean :)
website/docs/r/vrack.html.markdown
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add in the documentation the requirement to have a default payment mean :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add in the documentation the requirement to have a default payment mean :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not done in this one since the example for attach an ip to a vrack does not require to make an order.
CDS Report terraform-provider-ovh-check#1547.0 ✔
|
CDS Report terraform-provider-ovh-check#1546.0 ✔
|
CDS Report terraform-provider-ovh-testacc#1546.0 ✘
|
CDS Report terraform-provider-ovh-check#1547.0 ✔
|
CDS Report terraform-provider-ovh-testacc#1547.0 ■
|
1 similar comment
CDS Report terraform-provider-ovh-testacc#1547.0 ■
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a little suggestion for all the documentation pages when needed :)
thanks
@@ -12,7 +12,7 @@ Orders a public cloud project. | |||
|
|||
## Important | |||
|
|||
This resource is in beta state. Use with caution. | |||
-> __NOTE__ To order a product with terraform, your account needs to have a default payment method defined. This can be done in the [console](https://www.ovh.com/manager/#/dedicated/billing/payment/method) or via API with the [/me/payment/method](https://api.ovh.com/console/#/me/payment/method~GET) routes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> __NOTE__ To order a product with terraform, your account needs to have a default payment method defined. This can be done in the [console](https://www.ovh.com/manager/#/dedicated/billing/payment/method) or via API with the [/me/payment/method](https://api.ovh.com/console/#/me/payment/method~GET) routes | |
-> __NOTE__ To order a product through Terraform, your account needs to have a default payment method defined. This can be done in the [OVHcloud Control Panel](https://www.ovh.com/manager/#/dedicated/billing/payment/method) or via API with the [/me/payment/method](https://api.ovh.com/console/#/me/payment/method~GET) endpoint. |
CDS Report terraform-provider-ovh-check#1551.0 ✔
|
CDS Report terraform-provider-ovh-check#1550.0 ✔
|
CDS Report terraform-provider-ovh-testacc#1550.0 ✘
|
CDS Report terraform-provider-ovh-testacc#1551.0 ✘
|
Description
The issue has been raised here
Type of change
After investigation, the API route /me/paymentMean/bankAccount is deprecated and /me/paymentMean/creditCard will be soon.
The following /me/payment/method is replacing these.
The attribute
payment_mean
has been set as deprecated and the documentation has been updated accordingly.Note that to simplify the implementation, the order now uses the default payment method defined by the account. The terraform user cannot choose a specific payment method.
How Has This Been Tested?
make testacc TESTARGS="-run TestAccDataSourceHostingPrivateDatabase_basic"
OVH_TESTACC_ORDER_CLOUD_PROJECT=1 make testacc TESTARGS="-run TestAccResourceCloudProject_basic"
with multiple configuration : credit card, bank account and Deferred payment account
Test Configuration:
terraform version
: Terraform v1.3.7Checklist:
go mod vendor
if I added or modifygo.mod
file