Need help regarding paybright widget customization

Solved
afifaakhtar
Tourist
19 0 0

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.

Accepted Solution (1)

Accepted Solutions
PB_Emily
New Member
2 1 1

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!

View solution in original post

Replies 3 (3)
PB_Emily
New Member
2 1 1

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!

View solution in original post

afifaakhtar
Tourist
19 0 0

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.

PB_Emily
New Member
2 1 1

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,