Title: Create a Customer Profile from a Transaction · Issue #52 · AuthorizeNet/sample-code-python · GitHub
Open Graph Title: Create a Customer Profile from a Transaction · Issue #52 · AuthorizeNet/sample-code-python
X Title: Create a Customer Profile from a Transaction · Issue #52 · AuthorizeNet/sample-code-python
Description: Following this guide Python 3.7.2 Returns the following error: AttributeError: module 'authorizenet.apicontractsv1' has no attribute 'createCustomerProfileFromTransactionResponse' As a very temporary fix I manually edited the apicontract...
Open Graph Description: Following this guide Python 3.7.2 Returns the following error: AttributeError: module 'authorizenet.apicontractsv1' has no attribute 'createCustomerProfileFromTransactionResponse' As a very tempora...
X Description: Following this guide Python 3.7.2 Returns the following error: AttributeError: module 'authorizenet.apicontractsv1' has no attribute 'createCustomerProfileFromTransactionResponse' A...
Opengraph URL: https://github.com/AuthorizeNet/sample-code-python/issues/52
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create a Customer Profile from a Transaction","articleBody":"Following [this guide ](https://developer.authorize.net/api/reference/#customer-profiles-create-a-customer-profile-from-a-transaction)\r\n\r\nPython 3.7.2\r\n\r\nReturns the following error:\r\n`AttributeError: module 'authorizenet.apicontractsv1' has no attribute 'createCustomerProfileFromTransactionResponse'`\r\n\r\nAs a very temporary fix I manually edited the `apicontractsv1.py` file and added the following lines:\r\n\r\n`createCustomerProfileFromTransactionResponse = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'createCustomerProfileFromTransactionResponse'), CTD_ANON_61, location=pyxb.utils.utility.Location('https://apitest.authorize.net/xml/v1/schema/AnetApiSchema.xsd', 3522, 2))`\r\n\r\n`Namespace.addCategoryObject('elementBinding', createCustomerProfileFromTransactionResponse.name().localName(), createCustomerProfileFromTransactionResponse)`\r\n\r\nIt's a very dirty hack, perhaps someone else can review and create a proper PR. Once this line was added, the expected response was received:\r\n\r\n`Successfully created a customer profile with id: XXXXXXX from transaction id: XXXXXXXXXX`","author":{"url":"https://github.com/diemuzi","@type":"Person","name":"diemuzi"},"datePublished":"2019-03-20T18:11:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/52/sample-code-python/issues/52"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:83beefc2-9e0b-f70f-671c-f0682ebc1f42 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB02:2B1AB1:28A7508:3564085:696B69D1 |
| html-safe-nonce | 4124a20249253de6f1a2a5a91e8101e17aa783f9153c6eb450ac361a93e8c53a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjAyOjJCMUFCMToyOEE3NTA4OjM1NjQwODU6Njk2QjY5RDEiLCJ2aXNpdG9yX2lkIjoiNjM3MDA2MTA2NzI5MDg5Njg0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 450eeefcdf6884042a1484dac8e4e9af8daa3f658f8f40eca1d957111fc68529 |
| hovercard-subject-tag | issue:423401238 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/AuthorizeNet/sample-code-python/52/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c57951638822ddc73559fa77d4ec9d51da100467f63a7d7f0ae06e481cad3290/AuthorizeNet/sample-code-python/issues/52 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c57951638822ddc73559fa77d4ec9d51da100467f63a7d7f0ae06e481cad3290/AuthorizeNet/sample-code-python/issues/52 |
| og:image:alt | Following this guide Python 3.7.2 Returns the following error: AttributeError: module 'authorizenet.apicontractsv1' has no attribute 'createCustomerProfileFromTransactionResponse' As a very tempora... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | diemuzi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/AuthorizeNet/sample-code-python git https://github.com/AuthorizeNet/sample-code-python.git |
| octolytics-dimension-user_id | 6014037 |
| octolytics-dimension-user_login | AuthorizeNet |
| octolytics-dimension-repository_id | 46103246 |
| octolytics-dimension-repository_nwo | AuthorizeNet/sample-code-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 46103246 |
| octolytics-dimension-repository_network_root_nwo | AuthorizeNet/sample-code-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width