All things Shopify and commerce
I'm trying to follow the instructions given in this link: https://developer.paybright.com/docs/prequalify-sdk-shopify#customize-your-script but it's giving me the error that "pb_prequalify_init()" is not defined.
Can I get help in this regard?
I tried to send my query to the paybright but didn't get any response so not sure who can help me.
Solved! Go to the solution
This is an accepted solution.
Hello,
I'm with PayBright/Affirm Canada. You are likely receiving this message because you are missing the full script. Example:
<script id="pb_prequalify" src="https://app.paybright.com/dist/sdk.js?public_key=PUBLIC_KEY_HERE&financedamount=${{ product.price | divided_by: 100.00 | round: 2 }}"></script>
<script>
pb_prequalify_init();
</script>
<div class="paybright-widget-container"></div>
Can you also share the best way to contact you directly?
Thank you!
This is an accepted solution.
Hello,
I'm with PayBright/Affirm Canada. You are likely receiving this message because you are missing the full script. Example:
<script id="pb_prequalify" src="https://app.paybright.com/dist/sdk.js?public_key=PUBLIC_KEY_HERE&financedamount=${{ product.price | divided_by: 100.00 | round: 2 }}"></script>
<script>
pb_prequalify_init();
</script>
<div class="paybright-widget-container"></div>
Can you also share the best way to contact you directly?
Thank you!
Hi, Thanks a lot for the update.
I think for now I'll play with the code a little. I wanted to achieve some customization over the default options but was unable to do that because I was unable to catch the init trigger.
By the way, can you please share any email/support link for technical/developer support only?
I tried mailing you guys over info@paybright but the email is no longer available and the support link is probably not that active. I think I will be needing help if I couldn't achieve what I'm planning to do with the prequalify button text.
Hello,
Customizations to the widget in shopify can be done using the code found here: https://developer.paybright.com/docs/prequalify-sdk-shopify#customize-your-script
For further technical assistance, you can reach out to mstechsupport@paybright.com
Thank you,
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024