I had forgotten all about it but several years ago I did this same type of thing by creating an apparently blank page containing a form populated with hidden fields. Then on page load I submitted via JavaScript. Won't work if your user doesn't have JavaScript enabled.

Aaron

Grzegorz Krugły wrote:
What I'm doing is POSTing to MY code which save the order in temporary state, etc. and THEN I redirect to payment processor's site. They accept GET method, but recommend POST and I would like having "hidden" parameters more, too.

I guess I'll have to live with GET then.

Aaron Porter pisze:
Hi Grzegorz,
Unfortunately, the HTTP spec doesn't provide a way to redirect a POST if that's what you're asking.

There are 2 normal ways to use a payment processor:
1. Use the payment processor's API so the customer only sees your site and your site talks to the processor on the backend.
2. Send the user to the processor's site to checkout.

Are you trying to use Stripe's validation before sending to the processor? If not I don't understand why you'd want to redirect instead of just POSTing to the processor's site.

Aaron

Grzegorz Krugły wrote:
Hi,

I'm integrating with an online payments service and would love to POST to their URL instead of GETting it. Is it possible to do so using RedirectResolution or some other means?

Best regards,
Grzegorz


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to