Smart Credit Modal JavaScript file doesn't exist

mascho
Contributor
Contributor

Hey everyone,

 

my client uses  PayPal Plus with his Shopware shop and now wants to offer installment sales. The official Shopware Plugin pastes a banner into the shop that informs the shop customer about the possibility of paying with an installment plan.

 

But: That currently doesn't work for some PayPal API accounts. The SDK is loaded via https://www.paypal.com/sdk/js?client-id=CLIENT_ID&components=messages  and then it tries to load a script https://www.paypalobjects.com/upstream/bizcomponents/js/versioned/smart-credit-modal[at]1.7.4.js  ... but this script doesn't exist!  (replace the [at] with @ , board doesn't let me post this otherwise oO)

 

On some installments the exact same SDK (different client id, but the content of the SDK script is the same!) loads the script https://www.paypalobjects.com/upstream/bizcomponents/js/versioned/smart-credit-modal-apply-now[at]1.7.4.js  which does exist and everything works fine.

 

Why does the SDK sometimes load the "apply-now" script and sometimes tries to load the other none existing one? Even weirder: nowhere in the sdk it says "apply-now", so how does the SDK assemble that url?

 

Can someone help?

 

Kind regards,

Malte

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.