Display recurring app charge confirmation URL with Ruby

Todd_Trimakas
Shopify Partner
118 0 21

This is an embedded app in Shopify. I need to render a URL that allows the user to confirm a charge to their store. The URL is provided by Shopify, and I just need to render it. However, when I try with either of these options, it just hangs and the URL is never rendered.. BUT if I just copy and paste the URL into the browser it renders fine..

I tried with:

render @created_charge.confirmation_url
render :js => @created_charge.confirmation_url
redirect_to @created_charge.confirmation_url

And they didn't work.

The URL that needs to be rendered, looks like this:

https://test-XXXX.myshopify.com/admin/charges/XXXXXXX
/confirm_recurring_application_charge?signature=XXXXX%2FYkHw%3D%3D--
9027c1eb56aXXXXXXXXXXXXX
ByteStand - Amazon to Shopify in one click
0 Likes
AnEpicName
Tourist
8 1 0

Hi, did you manage to make that work? I'm having the same problem and I'm stuck.

0 Likes