We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Use ePay on Oxwall ? | Forum

Carsten
Carsten Jan 7 '17
Hi

I'm trying to figure out how to do this. I have downloaded some of the free paying plugins to add to the memberships plugin to try to figure out how this works and how i can fit the code that ePay supplied.

Link to code below: http://tech.epay.dk/en/payment-window-integration#233
----
<script charset="UTF-8" src="https://ssl.ditonlinebetalingssystem.dk/...dow/paymentwindow.js" type="text/javascript"></script>
<script type="text/javascript">
     paymentwindow = new PaymentWindow({
         'merchantnumber': "ENTER YOUR MERCHANT NUMBER HERE",
         'amount': "10095",
         'currency': "DKK"
     });
</script>
 
<input onclick="javascript: paymentwindow.open()" type="button" value="Go to payment">
----

Every thing is handled at ePay's site. The code only takes the amount the users has to pay and goes to their site.

What is it that i need from Oxwall/Paid memberships plugin to get this to work and how much is needed on this/my end, ex. in the plugin to make all this go hand in hand and return ok, so the users get his or hers access ?

It's just a simple code to put under the button that gets activated when clicked, so figure the easiest is to modify one of the free plugins to fit or is there an even simpler way :)

All the best
Carsten
The Forum post is edited by Carsten Jan 7 '17