On-Ramp Fan Tokens
Integrating the Socios.com On ramp Fan Token
Implement the On-Ramp Fan Token flow
https://[Partner Shortname].socios.com/on-ramp-tokenParameter
Value
Description
https://acm.socios.com/on-ramp-token?purchase_qty=10&on_ramp_token=true&fiat_currency_code=EURGet informed once the user has finalised their transaction
window.addEventListener(
"message",
(event) => {
if (
event.data !== "onRampTokenPaymentStatus" ||
event.origin !== "https://gateway-capsicum.socios.com"
)
return;
<HERE do a refetch or whatever is needed>
},
false
); Last updated