Extension list

Skip to main content

List of all our extensions

Create an account

One-page checkout: plugin HTML lost after AJAX

One-page checkout: plugin HTML lost after AJAX was created by keep2000

Posted 1 week 6 days ago #1185
Hi,

We run one-page checkout with third-party shipment and payment plugins (pickup-point maps, dropdowns, etc.).

Issues we saw:
  • After AJAX cart updates (payment/address change), plugin UI turned into plain text — maps and selects disappeared.
  • Shipping method rows sometimes showed duplicated logos / broken markup after refresh.
Cause (our understanding):
  • JS was stripping plugin HTML on AJAX responses (strip_tags with a narrow allow-list).
  • lSelectShipment() ran twice on AJAX requests, so renderPluginName() wrapped already-rendered HTML a second time.
This message contains confidential information


Thanks.


 
Last Edit:1 week 6 days ago by keep2000
Last edit: 1 week 6 days ago by keep2000.

Please Log in or Create an account to join the conversation.

Time to create page: 0.309 seconds
Powered by Kunena Forum