# JavaScript to Bubble -

**URL:** <https://forum.bubble.io/t/javascript-to-bubble/52059>\
**Category:** Plugins\
**Created:** [March 16, 2019, 7:32am UTC](https://forum.bubble.io/t/javascript-to-bubble/52059 "2019-03-16T07:32:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eren](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eren/32/92848_2.png) [@eren](https://forum.bubble.io/u/eren)\
**Post date:** [March 16, 2019, 7:32am UTC](https://forum.bubble.io/t/javascript-to-bubble/52059/1 "2019-03-16T07:32:29Z")

</div>

Hi there;

I copied the payment system with an example.

The example allows me to start paying and connect to the pop-up and payment interface. So far everything is normal. I’m paying with the test card, which seems normal and paid succsesful in the Sandbox.

However, after the callback, “redirect successful” page seems in pop-up, thats ok. The “javascript to bubble event” must trigger a workflow . This didn’t happen

Is there anyone who can help?

@NigelG I told you I solved the problem the other day after sharing it with you and i published working version. I turned my application into a working version this morning. But it still didn’t work. Can you help me, please

---

<div class="post-metadata">

**Author:** ![eren](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eren/32/92848_2.png) [@eren](https://forum.bubble.io/u/eren)\
**Post date:** [March 17, 2019, 9:30am UTC](https://forum.bubble.io/t/javascript-to-bubble/52059/2 "2019-03-17T09:30:34Z")

</div>

I couldn’t get out of it. Someone who could show where my mistake was would be very helpful.

My app  
[https://bubble.io/page?name=index&id=fabrika-ox&tab=tabs-1](https://bubble.io/page?name=index&id=fabrika-ox&tab=tabs-1)

User “Buyer1” can complete the exchange.

4766620000000001 working test card

Example  
[https://bubble.io/page?type=page&name=shop2&id=iyzipay-demo&tab=tabs-1](https://bubble.io/page?type=page&name=shop2&id=iyzipay-demo&tab=tabs-1)

Thanks,
