We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description: There is a mistake in the code example provided in the Hosted Payment Page documentation: https://www.airwallex.com/docs/js/payments/hosted-payment-page/.
The code refers to payment, but it should be payments.
payment
payments
Correct example:
import { init } from '@airwallex/components-sdk'; const { payments } = await init({ env: 'demo', // Choose the Airwallex environment ('demo' or 'prod') enabledElements: ['payments'], }); payments.redirectToCheckout({ intent_id: 'replace-with-your-intent-id', client_secret: 'replace-with-your-client-secret', currency: 'replace-with-your-currency', country_code: 'replace-with-your-country-code', });
Please update the documentation to prevent confusion for other developers. Thank you!
The text was updated successfully, but these errors were encountered:
@cutsin Thanks for the correction! We will update it soon.
Sorry, something went wrong.
shirly-chen-awx
No branches or pull requests
Description:
There is a mistake in the code example provided in the Hosted Payment Page documentation:
https://www.airwallex.com/docs/js/payments/hosted-payment-page/.
The code refers to
payment
, but it should bepayments
.Correct example:
Please update the documentation to prevent confusion for other developers. Thank you!
The text was updated successfully, but these errors were encountered: