Closed SiddigZeidan closed 6 years ago
The reason is that non-existent zip code was used (123456
)
error returned by create_postcard: Error: to.address_zip is not a valid ZIP code or to must be a string
so for some reason verification didn't work https://github.com/poanetwork/poa-popa/blob/master/web-dapp/controllers/prepareRegTx.js#L60
When using a development account in POB, the zip code always has to be "11111" and the address "deliverable".
More info about address
or primary line
for test environment: https://lob.com/docs#us-verification-test-environment
When using test API key for the post office service, address verification methods don't work (https://lob.com/docs#us-verification-test-environment)
The test API key does not perform any verification, automatic correction, or standardization for addresses.
However, when making request to send a postcard, verification is done and addresses with fake data are rejected. To run tests, please use "deliverable" and "11111" as suggested above https://github.com/poanetwork/poa-popa/issues/176#issuecomment-394826988
I'm going to close this because it's not a bug. This would need to be re-checked when final version is deployed and production API key is used.
Error message in UI will be improved a little in #182
After I fill out all the information (fake info ) and pay the MetaMask fee, I always receive the following screen