Jump to content
rhythm

Rendering Payment Step

Recommended Posts

Hey,

What I am trying to achieve: to get payment options and proceed to payment module directly with my provided information for order.

I am creating Cart, User, Address externally. (calling some file with parameters, returning object ID's). So for example, user then should go to completeOrder.php with these ID's and get payment options. And pay for it like in Order controller. So what I can do in this situation?

Share this post


Link to post
Share on other sites
Posted (edited)
$payments = new PaymentOptionsFinder();
$available_payments = $payments->find();

Well I tried doing something like this but I think I am doing it wrong. It returns payment objects. I would need whole front end form of payment process.

Edited by rhythm (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More